Organisation APIs

Get Country List

OVERVIEW


Get a list of countries

This API call is used to retrieve a list of countries from the system.

HTTP Request

GET  /api/5/countries

 

Example

GET  http://example.com/context/api/5/countries

 

HTTP Response

Success

HTTP response 200 with a list of countries

Error

See API Error messages

 

JSON format response

 

<countries>
	<country>
		<id>1</id>
		<name>India</name>
		<regionid>101</regionid>
	</country>
	<country>
		<id>2</id>
		<name>UK</name>
		<regionid>105</regionid>
	</country>
</countries>

 

XML format response

 

"country": [
	{
		"id": "1",
		"name": "India",
		"regionid": "101"
	},
	{
		"id": "2",
		"name": "UK",
		"regionid": "105"
	}
]

 

https://dev.highq.com/jira/browse/COL-69562

Comments


0 Comments

Last Updated: Jun 09,2023