accomodationAvailibilityPerCity

accomodationAvailibilityPerCity

Description:

Returns an accommodation availability list per city.

Version:
Available from version 1.0.1.

Access:
Available to all users.

Parameters:


NUMBER

 

NAME

O/R

USAGE

1

 

method

Required

Method used Case sensitive (string)

2

 

username

Required

The username to log. Case sensitive (string).

3

 

password

Required

The password to log. Case sensitive (string).

4

 

countryId

Required

Country ID (integer).

4

 

dateAvailibility

Required

The availability date (YYYY-MM-DD).

 

 

cityName

Required

The city name (string).

5

 

numberOfNights

Required

Number of nights (integer).

 

 

numberOfrooms

Required

Number of rooms (integer).

6

 

capacityNumberPaxPerRoom

Required

Capacity / Number of pax per room (integer).

 

Example:

 

Request

{

       "method": "accomodationAvailibilityPerCity",

       "username": "API_USER",

       "password": "API_PASSWORD",

       "countryId": 1,

       "dateAvailibility": "2019-12-10",

       "cityName": "Swellendam",

       "numberOfNights": 2,

       "numberOfRooms": 2,

       "serviceId": 201502250814349828,

       "capacityNumberPaxPerRoom": 1

}

 

Response

{

    "res": {

        "availabilities": [

            {

                "name""De Kloof Luxury Estate boutique hotel",

                "dateIn""2019-12-10",

                "numberOfNights""1",

                "city""Swellendam",

                "rooms": [

                    {

                        "roomType""Deluxe Suites king or twin\r\nmax 2 pax",

                        "availability"3

                    },

                    {

                        "roomType""Luxury garden rooms king or twin\r\nmax 2 pax",

                        "availability"2

                    },

                    {

                        "roomType""Manor XL Suite superking\r\nmax 2 pax",

                        "availability"1

                    }

                ]

            },

            {

                "name""bloomestate",

                "dateIn""2019-12-10",

                "numberOfNights""1",

                "city""Swellendam",

                "rooms": [

                    {

                        "roomType""Luxury Garden Room (King/Twin)\r\nmax 3 pax",

                        "availability"5

                    },

                    {

                        "roomType""Red Cloud Room (King)\r\nmax 2 pax",

                        "availability"1

                    }

                ]

            }

            

}



    • Related Articles

    • Nextour API v 1.0.1

      The purpose of this documentation is intended for a software developer who wants to integrate their system with the Nextour application programming interface (hereafter API). The first version of Nextour central API allows clients to: -          ...
    • servicesType

      Description: Returns a list of service types and their ID’s Version: Available from version 1.0.1. Access: Available to all users. Parameters: NUMBER   NAME O/R USAGE 1   method Required Method used. Case sensitive. 2   username Required The username ...
    • countriesList

      Description: Returns a list of countries and their ID’s.   Version: Available from version 1.0.1.   Access: Available to all users.   Parameters:   NUMBER NAME O/R USAGE 1 method Required Method used Case sensitive. 2 username Required The username ...
    • accomodationAvailibiltyPerService

      Description: Returns an accommodation availability list per service. Version: Available from version 1.0.1. Access: Available to all users. Parameters: NUMBER   NAME O/R USAGE 1   method Required Method used Case sensitive (string). 2   username ...
    • carRentalServiceRate

      Description: Returns a list of car rental services, their rates and other information Version: Available from version 1.0.1. Access: Available to all users. Parameters: NUMBER   NAME O/R USAGE 1   method Required Method used. Case sensitive. ...