OfferShopping
OfferShopping is used to get different tariffs for a specific flight.
Request
- hcds — array of hcd of each Route route.legs.hcd
- cur — currency, standard: EUR
- Output
- limit — standard: false: no limit
- offset — starting from 0
- tag —
- atx — array of tax details (not for all flights)
- leg — show the stopps in detail with flightnumber and time
- debug — to get the workerAirShopping requests
- all — with provider infos, not for frontend! see aFlight-all
Response
- status
- idc — Cache Id
- isCache
- count — how many aFlight
- limit
- offset
- aFlights — array of aFlight-short
- aActiveArray — array of active possibilities
- aAllPossibilities — array of all possibilities
- aLookups — array of aLookups
aActiveArray
possible values for
- bag: [0, 1] (baggage)
- pxc: [-1, '>0', 0] (exchange)
- prf: [-1, '>0'] (refund)
meaning of values for bag:
- 0: no luggage
- 1: luggage per person included
meaning of values for pxc and prf:
- -1: not possible
- '>0': fee charge by airline
- 0: without a fee of the airline
example of active possibilities
{
"bag": {
"values": [
"0",
"1"
]
},
"pxc": {
"values": [
">0",
"0"
]
},
"prf": {
"values": [
"-1"
]
}
}
meaning:
- bag: customer can upgrade from <no luggage> to <luggage per person included>
- pxc: customer can upgrade from <fee charge by airline> to <without a fee of the airline>
- prf: customer can not choose, because there is only one value
debugging view:

=> bag|pxc|prf: '0|>0|-1'
find the corresponding element in aAllPossibilities
customer view (refund row is unvisible):

- tam: total amount for all passengers
- dif: differance of tam
- difpp: difference per person
aAllPossibilities
all possibilities
{
"0|>0|-1": {
"idFlight": 0,
"tam": 684.66,
"next": {
"bag": {
"idFlight": 2,
"tam": 762.66,
"dif": 78,
"difpp": 78
},
"pxc": {
"idFlight": 1,
"tam": 772.66,
"dif": 88,
"difpp": 88
}
},
"hcds": [
"ZiXX!F!918!0!0!0",
"ZiXX!F!918!0!1!0"
]
},
"0|0|-1": {
"idFlight": 1,
"tam": 772.66,
"next": {
"bag": {
"idFlight": 3,
"tam": 782.66,
"dif": 10,
"difpp": 10
}
},
"hcds": [
"ZiXX!F!918!1!0!0",
"ZiXX!F!918!1!1!0"
]
},
"1|>0|-1": {
"idFlight": 2,
"tam": 762.66,
"next": {
"pxc": {
"idFlight": 3,
"tam": 782.66,
"dif": 20,
"difpp": 20
}
},
"hcds": [
"ZiXX!F!918!2!0!0",
"ZiXX!F!918!2!1!0"
]
},
"1|0|-1": {
"idFlight": 3,
"tam": 782.66,
"hcds": [
"ZiXX!F!918!3!0!0",
"ZiXX!F!918!3!1!0"
]
}
}
Errors
collect hcds for subsequent commands
see AirShopping