get_order_price_edad_plan (GET)

This function retrieves the price for a specific plan based on an age or age range. The required input parameters include the token, plan ID, origin country ID (obtained from iso_country calls), and destination territory ID (WorldWide = "1", Europe = "2", Local = "9"). Additionally, departure date (DD/MM/YYYY), return date (DD/MM/YYYY), number of passengers (as configured in the plan), and passengers' ages are required. The plan must be active and exist on the platform.

  • 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)
id_plan string 4 (Mandatory)


Fields

{
    "request" : "get_order_price_edad_plan",
    "token" : "1234567890ABCDEF",
    "id_plan" : "1703",
    "pais_origen" : "AR",
    "territorio_destino" : "2",
    "fecha_salida" : "01/01/2022",
    "fecha_llegada" : "08/01/2022",
    "pasajeros" : "2",
    "edad" : ["42","43"]
}

Results

{
    "total_orden": "109.760",
    "idplan": "1703",
    "fecha_salida": "01/01/2022",
    "fecha_regreso": "08/01/2022",
    "dias": "8",
    "edades": [
        "42",
        "43"
    ],
    "upgrade": [
        {
            "id_raider": "114",
            "name_raider": "USD 250,000 en asistencia medica (dividido entre los 8 integrantes de la reserva x 2 semanas)",
            "type_raider": "1",
            "value_raider": "204.00",
            "cost_raider": "89.62",
            "rd_calc_type": "1",
            "price_upgrade": "204.00",
            "costo_upgrade": "89.62"
        },
        {
            "id_raider": "70",
            "name_raider": "USD 250,000 en asistencia medica (dividido entre los 8 integrantes de la reserva x 1 semana)",
            "type_raider": "1",
            "value_raider": "59.40",
            "cost_raider": "59.40",
            "rd_calc_type": "1",
            "price_upgrade": "59.40",
            "costo_upgrade": "59.40"
        },
        {
            "id_raider": "44",
            "name_raider": "USD 250,000  en asistencia medica (dividido entre los 4 integrantes de la reserva x 1 semana)",
            "type_raider": "1",
            "value_raider": "29.70",
            "cost_raider": "29.70",
            "rd_calc_type": "1",
            "price_upgrade": "29.70",
            "costo_upgrade": "29.70"
        }
    ]
}

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