gonzag88
10/13/2016 - 11:32 AM

request_and_response.json

REQUEST

{
    "query": {
        "ClientId":"AR-AERO",
        "ClientEnvironment":"Testing",
        "ClientToken":"@3r0l@pl@t@",
        "ClientGLAS":"ROJO",
        "AdultsQty":1,
        "ChildsQty": 1,
        "TripLegs":[
            {"Origin":"BUE", "Destination":"NYC","DepartureDateStr":"2016-11-29","DepartureTime":""}
        ],
        "TripType":2,
        "CabinType":1
    }
}


RESPONSE

{
  "SearchJsonResult": {
    "OperationId": "c4d23f65-e72d-499c-93a7-ce643e769335",
    "SearchId": "c4d23f65-e72d-499c-93a7-ce643e769335",
    "Quotations": [],
    "GroupsOfFlights": [],
    "GeoInformation": null,
    "AirlineInformation": null,
    "SetsOfRulesApplied": {
      "Rules": [
        {
          "GDS": "SB",
          "ACCodes": null,
          "Qty": 50,
          "ADTDiscount": "ADT",
          "CNNDiscount": "CNN",
          "INFDiscount": "INF",
          "LFSRules": [
            {
              "RuleCode": "124",
              "RuleDescription": "Mundo Entero - Sabre`"
            }
          ],
          "ExcludedAirlines": null,
          "FareType": "Todas",
          "PriorityGroup": null,
          "PreferredAirlines": null
        }
      ]
    },
    "RulesInformation": null,
    "WarningMessage": [],
    "ErrorMessage": "Internal error: Authentication failed"
  }
}