POST api/lotus/v2/autoticket/submit?accountConfigId={accountConfigId}

Lotus 提交票據

Request Information

URI Parameters

NameDescriptionTypeAdditional information
accountConfigId

integer

Default value is 0

Body Parameters

SubmitAutoTicketingRqContract
NameDescriptionTypeAdditional 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:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'SubmitAutoTicketingRqContract'.

Response Information

Resource Description

Lotus 提交票據

ReturnResultOfString
NameDescriptionTypeAdditional 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"
}