buy_uid
.buy_uid
(path parameter): The unique identifier of the air offer.{
"type": "object",
"properties": {
"status": {
"type": "string"
},
"message": {
"type": "string"
},
"availability": {
"type": "boolean"
},
"gds": {
"type": "string"
},
"request_id": {
"type": "integer"
},
"popup_message": {
"type": "string"
},
"allow_cyrillic": {
"type": "boolean"
},
"buy_id": {
"type": "string"
}
}
}
curl --location -g --request GET 'https://stage-api.etm-system.ru/api/air/offers/{{buy_uid}}/availability' \
--header 'Accept: application/json' \
--header 'Cookie: etmsessid=8Pwz9vY4oXUDj7ojfR5u1VdXsMW6xOVYosNxo08d' \
--header 'Content-Type: application/json'
{
"status": "ok",
"message": "",
"availability": true,
"gds": "Amadeus",
"request_id": 16915125,
"popup_message": "",
"allow_cyrillic": false,
"buy_id": "2275014016"
}