accomodationAvailibiltyPerService

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

Required

The username to log. Case sensitive (string).

3

 

password

Required

The password to log. Case sensitive (string).

4

 

dateAvailibility

Required

The availability date (YYYY-MM-DD).

5

 

numberOfNights

Required

Number of nights (integer).

6

 

serviceId

Required

Service Id to search availability for a specific service (accommodation).

 

Example:

 

Request

{

     "method": "accomodationAvailibiltyPerService",

     "username": "API_USER",

     "password": "API_PASSWORD",

     "dateAvailibility": "2019-12-20",

     "numberOfNights": 2,

     "serviceId": 201502250814349828

}

 

 Response

{

    "res": {

        "availabilities": [

            {

                "name""10 2ND AVENUE HOUGHTON ESTATE",

                "dateIn""2019-12-10",

                "numberOfNights""1",

                "city""Johannesburg",

                "rooms": [

                    {

                        "roomType""Luxury Room\r\nmax 2 pax",

                        "availability"10

                    },

                    {

                        "roomType""Executive Suite\r\nmax 2 pax",

                        "availability"3

                    },

                    {

                        "roomType""Presidential Suite\r\nmax 2 pax",

                        "availability"1

                    },

                    {

                        "roomType""Family Room \r\nmax 4 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 ...
    • 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. ...
    • 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 ...