POST api/lotus/v2/autoticket/submit?accountConfigId={accountConfigId}
Lotus 提交票據
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
accountConfigId | integer |
Default value is 0 |
Body Parameters
SubmitAutoTicketingRqContractName | Description | Type | Additional information |
---|---|---|---|
RecordLocator |
PNR Code |
string |
None. |
BCode |
bCode |
string |
None. |
PriceRemarks |
PriceRemarks |
Collection of PriceRemark |
None. |
Request Formats
application/json, text/json
Sample:
{ "RecordLocator": "sample string 1", "BCode": "sample string 2", "PriceRemarks": [ { "BaseFareAmount": 1.0, "CurrencyCode": "sample string 2", "FareBasis": "sample string 3", "PassengerType": "sample string 4", "SettlementAmount": 5.0, "TaxAmount": 6.0, "XoNumber": "sample string 7" }, { "BaseFareAmount": 1.0, "CurrencyCode": "sample string 2", "FareBasis": "sample string 3", "PassengerType": "sample string 4", "SettlementAmount": 5.0, "TaxAmount": 6.0, "XoNumber": "sample string 7" } ] }
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Lotus 提交票據
ReturnResultOfStringName | Description | Type | Additional information |
---|---|---|---|
data | string |
None. |
|
code |
状态码:100成功,其他自定义 |
integer |
None. |
message |
提示消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "data": "sample string 1", "code": 2, "message": "sample string 3" }