POST api/BSPSys/flight/markup
Request Information
URI Parameters
None.
Body Parameters
BSPMarkUpRequestName | Description | Type | Additional information |
---|---|---|---|
companyid |
公司編碼 |
string |
None. |
platformsource |
調價源 |
string |
None. |
routes |
RoutingList |
Collection of BSPRouteing |
None. |
logTrackGuid |
日志標識 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "companyid": "sample string 1", "platformsource": "sample string 2", "routes": [ { "sessionid": "sample string 1", "platingCarrier": "sample string 2", "fromsegments": [ { "carrier": "sample string 1", "flightnumber": "sample string 2", "depairport": "sample string 3", "deptime": "sample string 4", "arrairport": "sample string 5", "arrtime": "sample string 6", "codeshare": 7, "farebasic": "sample string 8", "faretype": 9, "classs": "sample string 10", "cabin": "sample string 11" }, { "carrier": "sample string 1", "flightnumber": "sample string 2", "depairport": "sample string 3", "deptime": "sample string 4", "arrairport": "sample string 5", "arrtime": "sample string 6", "codeshare": 7, "farebasic": "sample string 8", "faretype": 9, "classs": "sample string 10", "cabin": "sample string 11" } ], "retsegments": [ { "carrier": "sample string 1", "flightnumber": "sample string 2", "depairport": "sample string 3", "deptime": "sample string 4", "arrairport": "sample string 5", "arrtime": "sample string 6", "codeshare": 7, "farebasic": "sample string 8", "faretype": 9, "classs": "sample string 10", "cabin": "sample string 11" }, { "carrier": "sample string 1", "flightnumber": "sample string 2", "depairport": "sample string 3", "deptime": "sample string 4", "arrairport": "sample string 5", "arrtime": "sample string 6", "codeshare": 7, "farebasic": "sample string 8", "faretype": 9, "classs": "sample string 10", "cabin": "sample string 11" } ] }, { "sessionid": "sample string 1", "platingCarrier": "sample string 2", "fromsegments": [ { "carrier": "sample string 1", "flightnumber": "sample string 2", "depairport": "sample string 3", "deptime": "sample string 4", "arrairport": "sample string 5", "arrtime": "sample string 6", "codeshare": 7, "farebasic": "sample string 8", "faretype": 9, "classs": "sample string 10", "cabin": "sample string 11" }, { "carrier": "sample string 1", "flightnumber": "sample string 2", "depairport": "sample string 3", "deptime": "sample string 4", "arrairport": "sample string 5", "arrtime": "sample string 6", "codeshare": 7, "farebasic": "sample string 8", "faretype": 9, "classs": "sample string 10", "cabin": "sample string 11" } ], "retsegments": [ { "carrier": "sample string 1", "flightnumber": "sample string 2", "depairport": "sample string 3", "deptime": "sample string 4", "arrairport": "sample string 5", "arrtime": "sample string 6", "codeshare": 7, "farebasic": "sample string 8", "faretype": 9, "classs": "sample string 10", "cabin": "sample string 11" }, { "carrier": "sample string 1", "flightnumber": "sample string 2", "depairport": "sample string 3", "deptime": "sample string 4", "arrairport": "sample string 5", "arrtime": "sample string 6", "codeshare": 7, "farebasic": "sample string 8", "faretype": 9, "classs": "sample string 10", "cabin": "sample string 11" } ] } ], "logTrackGuid": "sample string 3" }
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ReturnResultOfBSPMarkUpResponseName | Description | Type | Additional information |
---|---|---|---|
data | BSPMarkUpResponse |
None. |
|
code |
状态码:100成功,其他自定义 |
integer |
None. |
message |
提示消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "data": { "companyid": "sample string 1", "platformsource": "sample string 2", "rules": [ { "sessionid": "sample string 1", "ruleid": "sample string 2", "adultmarkuptype": "sample string 3", "adultmarkupvalue": 4.0, "adulttaxmarkuptype": "sample string 5", "adulttaxmarkupvalue": 6.0, "childmarkuptype": "sample string 7", "childmarkupvalue": 8.0, "childtaxmarkuptype": "sample string 9", "childtaxmarkupvalue": 10.0, "infantmarkuptype": "sample string 11", "infantmarkupvalue": 12.0, "infanttaxmarkuptype": "sample string 13", "infanttaxmarkupvalue": 14.0, "adultmarkupnote": "sample string 15", "childmarkupnote": "sample string 16" }, { "sessionid": "sample string 1", "ruleid": "sample string 2", "adultmarkuptype": "sample string 3", "adultmarkupvalue": 4.0, "adulttaxmarkuptype": "sample string 5", "adulttaxmarkupvalue": 6.0, "childmarkuptype": "sample string 7", "childmarkupvalue": 8.0, "childtaxmarkuptype": "sample string 9", "childtaxmarkupvalue": 10.0, "infantmarkuptype": "sample string 11", "infantmarkupvalue": 12.0, "infanttaxmarkuptype": "sample string 13", "infanttaxmarkupvalue": 14.0, "adultmarkupnote": "sample string 15", "childmarkupnote": "sample string 16" } ] }, "code": 1, "message": "sample string 2" }