servicesList

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

3

 

password

Required

The password to log. Case sensitive.

4

 

serviceTypeId

Required

The service type ID (you can refer to « servicesType » method).

5

 

countryId

Required

The country ID (you can refer to « countriesList» method).

6

 

serviceName

Optional

Allows a search on service name. Result will show services which contains this parameter string.

7

 

cityName

Optional

Allows a search on city names. Result will show services which contains this parameter string.

8

 

provinceName

Optional

Allows a search on province names. Result will show services which contains this parameter string.


Example:

Request 

{

    "method": "servicesList",

         "username": "API_USER",

         "password": "API_PASSWORD",

         "serviceTypeId":1,

         "countryId":1,

         "serviceName":"",

         "cityName":"",

         "provinceName ": ""

}

 

Response 

{

    "res": [

        {

            "serviceId"2014070715120375,

            "name""Athol Place Boutique Hotel",

            "city""Johannesburg",

            "province""Gauteng",

            "website""www.atholplace.co.za",

            "type""Hotel",

            "holding""Morukuru Family",

            "childFriendly""Yes",

            "fromAge"0,

            "longitude""28.0640400",

            "latitude""-26.1117500"

        },

        {

            "serviceId"2014070914274481,

            "name""Greenway Woods Resort",

            "city""White River",

            "province""Mpumalanga",

            "website""www.greenway.co.za",

            "type""Hotel",

            "holding""",

            "childFriendly""Yes",

            "fromAge"0,

            "longitude""31.1345243",

            "latitude""-25.0291031"

        }

]

}



    • 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. ...