carRentalServiceRate

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. (string).

2

 

username

Required

The username to log. Case sensitive. (string).

3

 

password

Required

The password to log. Case sensitive. (string).

4

 

countryId

Required

The country ID (integer).

5

 

vehicleClass

Optional

Allows a search on vehicleClass. Result will show car rental  for a specific  class (string).


Example:

Request

{

    "method": "carRentalServiceRate",

         "username": "API_USER",

         "password": "API_PASSWORD",

         "countryId": 1,

         "vehicleClass": "A"

 

}

 

Response

{

    "res": {

        "offers": [

            {

                "from": "2019-11-01",

                "to": "2020-10-31",

                "individuals": true,

                "groups": true,

                "currency": "ZAR",

                "remarks": "CLASSIC",

                "offerRates": [

                    {

                        "from": "2019-11-01",

                        "to": "2020-06-30",

                        "description": "Toyota Yaris (CLASSIC)",

                        "rate": [

                            {

                                "from": 1,

                                "to": 6,

                                "rate": 516,

                                "chargingPolicy": "Per service"

                            }

                        ],

                        "vehicleClass": "B"

                    }

                ],

                "extras": [

                    {

                        "description": "Document Admin Fee",

                        "from": "2019-11-01",

                        "to": "2020-10-31",

                        "rate": 93,

                        "chargingPolicy": "Per Service"

                    },

                    {

                        "description": "Claim Handling Fee - Above R1000",

                        "from": "2019-11-01",

                        "to": "2020-10-31",

                        "rate": 1108,

                        "chargingPolicy": "Per Service"

                    }

                ]

            }

        ],

        "notes": [

            {

                "title": "Inclusions / Exclusions",

                "note": "CLASSIC\r\n\r\nInclusions:\r\n - Theft and Collision Damage "

            },

            {

                "title": "Important Information",

                "note": " - Rate code and Account Number must be..."

            }

        ]

    }

}