春秋航空低价机票查询API
1) 请求地址
https://flights.ch.com/Flights/MinPriceTrends
2) 调用方式:HTTP post
3) 接口描述:
4) 请求参数:
POST参数:
字段名称 |
字段说明 |
类型 |
必填 |
备注 |
Currency |
|
string |
Y |
- |
DepartureDate |
|
string |
Y |
- |
IsShowTaxprice |
|
string |
Y |
- |
Departure |
|
string |
Y |
- |
Arrival |
|
string |
Y |
- |
SType |
|
string |
Y |
- |
IsIJFlight |
|
string |
Y |
- |
Days |
|
string |
Y |
- |
IfRet |
|
string |
Y |
- |
ActId |
|
string |
Y |
- |
IsReturn |
|
string |
Y |
- |
IsUM |
|
string |
Y |
- |
SpecTravTypeId |
|
string |
Y |
- |
5) 请求返回结果:
{
"PriceTrends": [
{
"Date": "2020-09-05",
"DayOfWeek": "周六",
"Price": 300,
"ActPrice": null,
"ActId": null
},
{
"Date": "2020-09-06",
"DayOfWeek": "周日",
"Price": 430,
"ActPrice": null,
"ActId": null
},
{
"Date": "2020-09-07",
"DayOfWeek": "周一",
"Price": 300,
"ActPrice": null,
"ActId": null
},
{
"Date": "2020-09-08",
"DayOfWeek": "周二",
"Price": 300,
"ActPrice": null,
"ActId": null
},
{
"Date": "2020-09-09",
"DayOfWeek": "周三",
"Price": 300,
"ActPrice": null,
"ActId": null
},
{
"Date": "2020-09-10",
"DayOfWeek": "周四",
"Price": 330,
"ActPrice": null,
"ActId": null
},
{
"Date": "2020-09-11",
"DayOfWeek": "周五",
"Price": 430,
"ActPrice": null,
"ActId": null
}
],
"IsInternational": false,
"IsShowTaxprice": false,
"IsOpenConnectingMinPriceTrend": true,
"Code": "0",
"ErrorMessage": null,
"Key": null
}
6) 请求返回结果参数说明:
字段名称 |
字段说明 |
类型 |
必填 |
备注 |
PriceTrends |
|
string |
Y |
- |
Date |
|
string |
Y |
- |
DayOfWeek |
|
string |
Y |
- |
Price |
|
string |
Y |
- |
ActPrice |
|
string |
Y |
- |
ActId |
|
string |
Y |
- |
IsInternational |
|
string |
Y |
- |
IsShowTaxprice |
|
string |
Y |
- |
IsOpenConnectingMinPriceTrend |
|
string |
Y |
- |
Code |
|
string |
Y |
- |
ErrorMessage |
|
string |
Y |
- |
Key |
|
string |
Y |
- |