Amadeus 票价规则请求
Amadeus Fare Rule request
Amedeus Api 打电话,
我在 url 编码
中传递“include=detailed-fare-rules”
but it return the below error.
{
"errors": [
{
"status": 404,
"title": "No routing found for this resource/method/version combination.",
"code": 700,
"source": {
"pointer": "uri"
}
}
]
}
航班优惠价格API支持POST方法,只允许include
和forceClass
作为查询参数。请检查 API 的 API reference。
调用API到return票价规则的正确方法如下:
POST https://test.api.amadeus.com/v1/shopping/flight-offers/pricing?include=detailed-fare-rules
正文如下:
{
"data":{
"type":"flight-offers-pricing",
"flightOffers":[
.....
]
}
}
在 flightOffers
中,您必须通过 return 由您正在查找票价规则的 Flight Offers Search API 编辑的航班报价。
Amedeus Api 打电话, 我在 url 编码
中传递“include=detailed-fare-rules”but it return the below error.
{
"errors": [
{
"status": 404,
"title": "No routing found for this resource/method/version combination.",
"code": 700,
"source": {
"pointer": "uri"
}
}
]
}
航班优惠价格API支持POST方法,只允许include
和forceClass
作为查询参数。请检查 API 的 API reference。
调用API到return票价规则的正确方法如下:
POST https://test.api.amadeus.com/v1/shopping/flight-offers/pricing?include=detailed-fare-rules
正文如下:
{
"data":{
"type":"flight-offers-pricing",
"flightOffers":[
.....
]
}
}
在 flightOffers
中,您必须通过 return 由您正在查找票价规则的 Flight Offers Search API 编辑的航班报价。