GET v1/countries/{countryId}
Get a specific country.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
countryId |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
CountryName | Description | Type | Additional information |
---|---|---|---|
Name |
Name of country |
string |
None. |
Code |
Code of country |
string |
None. |
Id |
A unique ID for the object. |
integer |
Read-only. |
CreatedDate |
Time and date the object was created. |
date |
Read-only. |
ArchivedDate |
Time and date the object was or is going to be archived. Unarchived objects have no value in ArchivedDate |
date |
Read-only. |
Response Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/xml, text/xml
Sample:
<Country xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Id>3</Id> <CreatedDate>2024-10-29T17:33:38.771802+01:00</CreatedDate> <ArchivedDate>2024-10-29T17:33:38.771802+01:00</ArchivedDate> <Name>sample string 1</Name> <Code>sample string 2</Code> </Country>