Availability

This Endpoint use GET method to fetch availability by city. On the Query Params tab are the explanation of every queryparams of the url. Request headers have to include the token on the authentication key.

Endpoint
GET https://{{base_url}}/api-v2/availability/?townId=295&tipos=1&desde=2024-10-10&adults=2&children=0&currency=1
Headers
{
    ...
    "authentication": "token {{YOUR_NEW_TOKEN}}"
    ...
}
KeyTypeMandatoryDescription
townIdnumberYESid of the city on Booking CTS
tiposnumberYES1 for transfer, 2 for excursions
desdestringYESDate to search on 'YYYY-MM-DD' format
adultsnumberYESadults amount
childrennumberchildrens amount
currencynumberYESCurrency to search, 1 for CLP 2 for USD

Response format and explanation of every field.

Response
[
    {
        "glosas": {
            "g_text_es": "TRASLADO AEROPUERTO SANTIAGO/HOTEL SANTIAGO",
            "g_text_en": "TRANSFER SANTIAGO AIRPORT /SANTIAGO HOTEL"
        },
        "descriptions": {
            "d_text_es": "TRASLADO AEROPUERTO SANTIAGO/HOTEL SANTIAGO\r\n\r\nTRASLADOS DESDE/HACIA HOTELES UBICADOS EN SANTIAGO CENTRO, PROVIDENCIA, LAS CONDES, VITACURA Y HOTELES EN EL ÁREA DEL AEROPUERTO.",
            "d_text_en": "TRANSFER SANTIAGO AIRPORT /SANTIAGO HOTEL\r\n\r\nTRANSFERS FROM/TO HOTELS LOCATED IN SANTIAGO CENTRO, PROVIDENCIA, LAS CONDES, VITACURA AND HOTELS IN THE AIRPORT AREA."
        },
        "image": [],
        "concepts": [
            "Transfer"
        ],
        "city": "SANTIAGO",
        "services": [
            {
                "service_code": 44220,
                "travel_date": "2024-10-10",
                "cancellation_date": "2024-10-08",
                "service_type": "transfer",
                "city": "SANTIAGO, CHILE",
                "is_regular": false,
                "language": ["Español"],
                "guide": "Driver",
                "service_duration": "Other",
                "meeting_point": "Airport",
                "allow_childs": true,
                "sale_price": 56000,
                "currency": "CLP",
                "adults": 2,
                "children": 0,
            }
        ]
    }
]
KeyTypeDescription
glosasObjectObject that contain the Spanish name of the service and the English name of the service
glosas.g_text_esstringSpanish name of the service
glosas.g_text_enstringEnglish name of the service
descriptionsObjectObject that contain the Spanish description of the service and the English description of the service
descriptions.d_text_esstringSpanish description of the service
descriptions.d_text_enstringEnglish description of the service
imageArrayAn array with images of the service
conceptsArrayAn array with concepts included with the excursion or transfer
citystringThe name of the city where the excursion or transfer belongs
servicesArrayAn array with the specific version of the service
services.*.service_codenumberId of the specific version of the service
services.*.travel_datestringDate of the service on format YYYY-MM-DD
services.*.cancellation_datestringCancellation date of the service on format YYYY-MM-DD
services.*.service_typestringtype of the service, options are 'transfer' and 'excursion'
services.*.citystringThe name of the city where the excursion or transfer belongs
services.*.is_regularbooleanwhether the service is shared or private, true for shared and false for private
services.*.languageArrayArray of languages available for the service guide and/or driver
services.*.guidestringOptions are Driver if only include a driver, Driver + Guide if include a Guide and Driver/Guide if the driver is the guide
services.*.service_durationstringDuration of the service
services.*.meeting_pointstringMeeting point where the service start
services.*.allow_childsbooleanWhether the service accept childs
services.*.sale_pricenumbersale price of the service
services.*.currencystringCurrency code of the sale price
services.*.adultsnumberadults amount
services.*.childrennumberchildrens amount