POST api/v2/flight/checkPassortProvider

擴照檢測

Request Information

URI Parameters

None.

Body Parameters

CheckPassortRuleRQContract
NameDescriptionTypeAdditional information
countryCode

國藉代碼

string

None.

routes

航班信息

Collection of CheckPassortRule

None.

Request Formats

application/json, text/json

Sample:
{
  "countryCode": "sample string 1",
  "routes": [
    {
      "airportCode": "sample string 1",
      "cityCode": "sample string 2",
      "countryCode": "sample string 3",
      "carrierCode": "sample string 4"
    },
    {
      "airportCode": "sample string 1",
      "cityCode": "sample string 2",
      "countryCode": "sample string 3",
      "carrierCode": "sample string 4"
    }
  ]
}

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

Response Information

Resource Description

擴照檢測

ReturnResultOfCheckPassortRuleRSContract
NameDescriptionTypeAdditional information
data

CheckPassortRuleRSContract

None.

code

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

integer

None.

message

提示消息

string

None.

Response Formats

application/json, text/json

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