{
"authentication": "",
"offerId": "",
"orderNo": "",
"bookType": "1",
"segments": [
{
"segmentId": "",
"carrier": "AK",
"flightNo": "AK123",
"depAirport": "SHA",
"arrAirport": "SHA",
"cabin": "Y",
"depTime": "",
"arrTime": ""
}
],
"passengers": [
{
"count": "1",
"paxType": "ADT"
}
]
}
curl --location --request POST 'https://flight-test.flightroutes24.com/api/new/seatShopping.do' \
--header 'Accept-Encoding;' \
--header 'appKey;' \
--header 'content-Type: application/json' \
--data-raw '{
"authentication": "",
"offerId": "",
"orderNo": "",
"bookType": "1",
"segments": [
{
"segmentId": "",
"carrier": "AK",
"flightNo": "AK123",
"depAirport": "SHA",
"arrAirport": "SHA",
"cabin": "Y",
"depTime": "",
"arrTime": ""
}
],
"passengers": [
{
"count": "1",
"paxType": "ADT"
}
]
}'
{
"traceId": "",
"code": "",
"message": "",
"processingTime": "",
"data": {
"currency": "CNY",
"segmentSeats": [
{
"segmentId": "",
"flightNo": "123",
"depAirport": "SHA",
"arrAirport": "BKK",
"cabin": "Y",
"depTime": "",
"arrTime": "",
"seats": [
{
"rowNo": "1",
"cols": [
{
"colNo": "A",
"status": "1",
"deck": "M",
"position": "B",
"seatPrice": "50"
},
{
"colNo": "B",
"status": "1",
"deck": "M",
"position": "A",
"seatPrice": "50"
}
]
}
]
}
]
}
}