countriesList

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 to log. Case sensitive.

3

password

Required

The password to log. Case sensitive.

 

Example:


Request 



{

    "method": "countriesList",

         "username": "API_USER",

         "password": "API_PASSWORD"

}

 

Response


{ 
    "res": 
[
        {
            "countryID": 1, 
            "countryName": "South Africa",
            "iso3": "ZAF"
        }, 
        {
            "countryID": 2, 
            "countryName": "Botswana",
            "iso3": "BWA"
        }, 
        {
            "countryID": 3, 
            "countryName": "Zimbabwe",
            "iso3": "ZWE"
        }
]

}

 



    • Related Articles

    • servicesList

      Description: Returns a list of services and their 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. 2   username Required The ...
    • 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 ...
    • 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. ...