Get All Countries
The Get All Countries API retrieves a complete list of countries available in the system.
It provides a unique system ID for each country.
This ID is mainly used to fetch hotel lists, cities, and areas linked to that country.
It ensures accurate mapping of country data across different modules.
The API helps users easily select and filter data based on country selection.
It supports both XML and JSON request and response formats based on headers.
GetAllCountries Request Syntax
Request Header
HTTP Method : [POST]
Content-Type : [application/xml or application/json]
Accept : [application/xml or application/json]
Authentication : [Based on Org, User, and Password values inside the request body.]
Request Parameters
| Node | Type | Required | Description |
|---|---|---|---|
|
Org |
String | Yes |
Organization code assigned to your agency. |
|
User |
String | Yes |
Username provided by the system. |
|
Password |
String | Yes |
User password for authentication |
Response Parameters
| Field | Type | Description |
|---|---|---|
|
Success |
Boolean |
Indicates successful operation (true). |
|
Message |
String |
Message confirming success. |
|
Data |
Array |
List of country details. |
|
Data.RegionDropdown.RegionId |
Integer |
Unique ID representing the country/region. |
|
Data.RegionDropdown.RegionName |
String |
Name of the country. |
Response Samples
Samples