GET api/flight/prohibited/list?fromCity={fromCity}&toCity={toCity}&fromDate={fromDate}&companyId={companyId}&isFromCity={isFromCity}&isToCity={isToCity}
獲取黑名單
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
fromCity | string |
Required |
|
toCity | string |
Required |
|
fromDate | date |
Required |
|
companyId | string |
Required |
|
isFromCity | boolean |
Required |
|
isToCity | boolean |
Required |
Body Parameters
None.
Response Information
Resource Description
獲取黑名單
ReturnResultOfProhibitedContractName | Description | Type | Additional information |
---|---|---|---|
data | ProhibitedContract |
None. |
|
code |
状态码:100成功,其他自定义 |
integer |
None. |
message |
提示消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "data": { "carriers": [ "sample string 1", "sample string 2" ], "cabin": [ "sample string 1", "sample string 2" ] }, "code": 1, "message": "sample string 2" }