POST api/v2/flight/checkProhibite
黑名單檢測(Test)
Request Information
URI Parameters
None.
Body Parameters
TC_FlightSearchRQContract_v2Name | Description | Type | Additional information |
---|---|---|---|
filterInfo |
篩選 |
TC_FilterInfo |
None. |
advanceFilters |
高級篩選 |
Collection of AdvanceFilter |
None. |
orderInfo |
排序 |
TC_OrderInfo |
None. |
pageSize |
每頁顯示記錄數 |
integer |
None. |
pagenumber |
當前頁碼 |
integer |
None. |
resultType |
結果類型(0=相同航空公司+航班號+等級組合,1=相同航空公司+航班號,2=相同航班+價格,3=去程與回程相同價錢及航司) |
integer |
None. |
isOrigin |
是否返回原始數據(true=返回routing ,extend數據,不對統計、排序、分頁進行處理,false=返回處理后的結果) |
boolean |
None. |
isEnableSummary |
是否顯示匯總信息 |
boolean |
None. |
priceType |
價格類型(0=成人價,1=成人價+成人稅,2=總價格(價格*人數)) |
integer |
None. |
lang |
語言 |
string |
None. |
isReturnAllSegments |
是否全部航段返回(來回程一起返回) |
boolean |
None. |
tripType |
行程类型(单程:1,双程:2,多程:3) |
string |
None. |
adult |
成人数量 |
integer |
None. |
child |
兒童数量 |
integer |
None. |
infant |
婴儿数量 |
integer |
None. |
labour |
工人数量(工人和其它人群(ADT,CNN,INF)類型之間只可二選一) |
integer |
None. |
cabinClass |
艙位等级 |
TypeCabinClass |
None. |
itinerary |
行程 |
Collection of TC_Itinerary |
None. |
isPrivateFareOnly |
僅出私有運價 |
boolean |
None. |
isPublishFareOnly |
僅出公布運價 |
boolean |
None. |
isDirectFlightOnly |
是否直飞 |
boolean |
None. |
platformSource |
平台来源(站点) |
string |
None. |
connectionPoints |
中转站数 |
integer |
None. |
ismultiRoundTrip |
兩點以雙程形式展示 |
boolean |
None. |
overridePCC | string |
None. |
|
nationalCode |
國藉(工人的時候傳值) |
string |
None. |
cityCode |
國藉城市(工人的時候傳值) |
string |
None. |
clientCurrency |
顯示幣種 |
string |
None. |
searchKey |
搜索ID |
string |
None. |
permittedCarriers |
选择航班 |
Collection of string |
None. |
prohibitedCarriers |
排除航班 |
Collection of string |
None. |
Request Formats
application/json, text/json
Sample:
{ "filterInfo": { "minPrice": 1.0, "maxPrice": 2.0, "minTravelTime": 3.1, "maxTravelTime": 4.1, "minDepTime": "2024-12-23T20:11:02.538817+08:00", "maxDepTime": "2024-12-23T20:11:02.538817+08:00", "minArrTime": "2024-12-23T20:11:02.538817+08:00", "maxArrTime": "2024-12-23T20:11:02.538817+08:00", "minRetDepTime": "2024-12-23T20:11:02.538817+08:00", "maxRetDepTime": "2024-12-23T20:11:02.538817+08:00", "minRetArrTime": "2024-12-23T20:11:02.538817+08:00", "maxRetArrTime": "2024-12-23T20:11:02.538817+08:00", "stopCounts": [ 1, 2 ], "depTimeSolts": [ 0, 0 ], "carriers": [ "sample string 1", "sample string 2" ], "classCodes": [ 0, 0 ], "flightNumber": "sample string 5" }, "advanceFilters": [ { "TravelIndex": 1, "MinDepTime": "2024-12-23T20:11:02.538817+08:00", "MaxDepTime": "2024-12-23T20:11:02.538817+08:00", "DepTimeSolts": [ 0, 0 ] }, { "TravelIndex": 1, "MinDepTime": "2024-12-23T20:11:02.538817+08:00", "MaxDepTime": "2024-12-23T20:11:02.538817+08:00", "DepTimeSolts": [ 0, 0 ] } ], "orderInfo": { "order": 1, "orderType": 0 }, "pageSize": 1, "pagenumber": 2, "resultType": 3, "isOrigin": true, "isEnableSummary": true, "priceType": 6, "lang": "sample string 7", "isReturnAllSegments": true, "tripType": "sample string 8", "adult": 9, "child": 10, "infant": 11, "labour": 12, "cabinClass": 0, "itinerary": [ { "fromCity": "sample string 1", "toCity": "sample string 2", "depDate": "2024-12-23T20:11:02.538817+08:00", "fromCityType": 0, "toCityType": 0, "fromDaysAfter": 4, "fromDaysBefore": 5, "hourWindow": 6 }, { "fromCity": "sample string 1", "toCity": "sample string 2", "depDate": "2024-12-23T20:11:02.538817+08:00", "fromCityType": 0, "toCityType": 0, "fromDaysAfter": 4, "fromDaysBefore": 5, "hourWindow": 6 } ], "isPrivateFareOnly": true, "isPublishFareOnly": true, "isDirectFlightOnly": true, "platformSource": "sample string 16", "connectionPoints": 17, "ismultiRoundTrip": true, "overridePCC": "sample string 19", "nationalCode": "sample string 20", "cityCode": "sample string 21", "clientCurrency": "sample string 22", "searchKey": "sample string 23", "permittedCarriers": [ "sample string 1", "sample string 2" ], "prohibitedCarriers": [ "sample string 1", "sample string 2" ] }
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
黑名單檢測(Test)
ReturnResultOfListOfStringName | Description | Type | Additional information |
---|---|---|---|
data | Collection of string |
None. |
|
code |
状态码:100成功,其他自定义 |
integer |
None. |
message |
提示消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "data": [ "sample string 1", "sample string 2" ], "code": 1, "message": "sample string 2" }