Description:
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 (AAAA-MM-JJ) |
5 | | serviceID | Required | List of services ID separated by “,” (string) example below |
6 | numberOfNights | Required | Number of nights (integer) | |
7 | numberOfrooms | Required | Number of rooms (integer) |
8 | capacityNumberPaxPerRoom | Required | Capacity / Number of pax per room (integer) |
Request
|
Response
{ "res": { "availabilities": [ { "serviceId": 2014070715120375, "name": "AtholPlace House & Villa", "dateIn": "2020-10-10", "numberOfNights": "1", "city": "Johannesburg", "rooms": [ { "roomType": "AtholPlace Villa\r\nmax 8 pax", "availability": 1 }, { "roomType": "AtholPlace House\r\nmax 18 pax", "availability": 1 } ] }, { "serviceId": 201502250814349505, "name": "The Peech Hotel", "dateIn": "2020-10-10", "numberOfNights": "1", "city": "Johannesburg", "rooms": [ { "roomType": "CLASSIC ROOM\r\nmax 2 pax", "availability": 2 }, { "roomType": "LUXURY ROOM\r\nmax 2 pax", "availability": 2 }, { "roomType": "PEECH SUITE\r\nmax 2 pax", "availability": 2 }, { "roomType": "PEECH VILLA\r\nmax 4 pax", "availability": 1 } ] } ] } } |