POST api/flight/pnr/modifly

修改PNR信息

Request Information

URI Parameters

None.

Body Parameters

PNRModifyRqContract
NameDescriptionTypeAdditional information
source

接口來源

string

None.

pnrcode

PNRCode

string

None.

bookingremarks

備注

Collection of ReserveRemark

None.

logTrackGuid

string

None.

Request Formats

application/json, text/json

Sample:
{
  "source": "sample string 1",
  "pnrcode": "sample string 2",
  "bookingremarks": [
    {
      "Type": 0,
      "Remark": "sample string 1"
    },
    {
      "Type": 0,
      "Remark": "sample string 1"
    }
  ],
  "logTrackGuid": "sample string 3"
}

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 'PNRModifyRqContract'.

Response Information

Resource Description

修改PNR信息

ReturnResultOfBoolean
NameDescriptionTypeAdditional information
data

boolean

None.

code

状态码:100成功,其他自定义

integer

None.

message

提示消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": true,
  "code": 2,
  "message": "sample string 3"
}