sabre - BargainFinderMax REST API does not return fare for child -
i use bargainfindermax rest api. cannot fares child, instead message "chd not applicable - adt fare used - verify restrictions" adult fare.
i tried use tpa_extensions": {"xofares": {"value": true} no success. maybe messing else. please advise. here request:
{ "ota_airlowfaresearchrq": { "target": "production", "pos": { "source": [{ "pseudocitycode":"f9ce", "requestorid": { "type": "1", "id": "1", "companyname": { } } }] }, "origindestinationinformation": [{ "rph": "1", "departuredatetime": "2017-07-28t11:00:00", "originlocation": { "locationcode": "dfw" }, "destinationlocation": { "locationcode": "cdg" }, "tpa_extensions": { "segmenttype": { "code": "o" } } }, { "rph": "2", "departuredatetime": "2017-08-08t11:00:00", "originlocation": { "locationcode": "cdg" }, "destinationlocation": { "locationcode": "dfw" }, "tpa_extensions": { "segmenttype": { "code": "o" } } }], "travelpreferences": { "validinterlineticket": true, "cabinpref": [{ "cabin": "y", "preferlevel": "preferred" }], "tpa_extensions": { "triptype": { "value": "return" }, "longconnecttime": { "min": 780, "max": 1200, "enable": true }, "excludecalldirectcarriers": { "enabled": true }, "xofares": { "value": true } } }, "travelerinfosummary": { "seatsrequested": [2], "airtraveleravail": [{ "passengertypequantity": [{ "code": "adt", "quantity": 1 }, { "code": "chd", "quantity": 1, "age": 6 }] }] }, "tpa_extensions": { "intelliselltransaction": { "requesttype": { "name": "50itins" } } } } }
code child cnn
according sample request @ bargain finder max api information page
<airtraveleravail> <passengertypequantity code="adt" quantity="1" /> <passengertypequantity code="cnn" quantity="1" /> <passengertypequantity code="inf" quantity="1" /> </airtraveleravail>
Comments
Post a Comment