Description:
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. |
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" } ] } |