get_order_price_edad (GET)

This function retrieves plans and their corresponding upgrades according to an age or age group. Input parameters include the token, origin country ID, destination territory ID ( WorldWide = "1", Europe = "2", Local = "9"), departure date, return date, number of passengers (as configured in the plan), and passengers' ages. It returns the prices for each passenger and the total application price for each plan.

  • Endpoint : preview.ilsbsys.com/apirest_v1/information

Input Fields

Tag Name Type Size Priority
token string 16 (Mandatory)
pais_origen string 4 (Mandatory)
territorio_destino string 4 (Mandatory)
fecha_salida string
(DD/MM/YYYY)
11 (Mandatory)
fecha_llegada string
(DD/MM/YYYY)
11 (Mandatory)
pasajeros string 22 (Mandatory)
edad string 22 (Mandatory)


Fields

{
"request":"get_order_price_edad",
"token":"A077FALKBL97",
"pais_origen":"CO",
"territorio_destino":"9",
"fecha_salida":"01/04/2024",
"fecha_llegada":"08/05/2024",
"pasajeros":"1",
"edad":"[70]"
}

Results

{
    "fecha_salida": "01/04/2024",
    "fecha_regreso": "08/05/2024",
    "dias": "38",
    "edades": [
        70
    ],
    "planes": {
        "13319": {
            "name": "Promo Mundial Aviatur",
            "total_orden": "0.000",
            "upgrade": {
                "status": "No hay resultados",
                "message": "No hay upgrades asociados a éste Plan"
            }
        },
        "12041": {
            "name": "Test_grupo",
            "total_orden": "57.380",
            "upgrade": {
                "status": "No hay resultados",
                "message": "No hay upgrades asociados a éste Plan"
            }
        },
        "13321": {
            "name": "Mega Travel Plus 2.000",
            "total_orden": "0.000",
            "upgrade": {
                "status": "No hay resultados",
                "message": "No hay upgrades asociados a éste Plan"
            }
        },
        "12042": {
            "name": "Dorada 50.000",
            "total_orden": "0.000",
            "upgrade": {
                "status": "No hay resultados",
                "message": "No hay upgrades asociados a éste Plan"
            }
        },

    }
}

Common Error Codes

  • 9015 : no results
  • 1005 : supplied token is invalid
  • 1050 : supplied plan is invalid
  • 1060 : don't have price for selection
  • 1080 : territory is invalid
  • 1090 : country ID is invalid
  • 2000 : invalid date
  • 2004 : date precedes system date
  • 3030 : invalid date range
  • 5017 : no upgrades available