POST api/flight/passport/isNeedpassport

是否需要护照

Request Information

URI Parameters

None.

Body Parameters

IsNeedPassportRQContract
NameDescriptionTypeAdditional information
countryCode

string

None.

items

Collection of IsNeedPassportRQContracts

None.

Request Formats

application/json, text/json

Sample:
{
  "countryCode": "sample string 1",
  "items": [
    {
      "airPortCode": "sample string 1",
      "airLineCode": "sample string 2"
    },
    {
      "airPortCode": "sample string 1",
      "airLineCode": "sample string 2"
    }
  ]
}

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

Response Information

Resource Description

是否需要护照

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