GET api/v1/Countries/Country?countryid={countryid}
Query country information for a specific country.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| countryid |
Id of the Country |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
api_GetCountries_Result| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| code | string |
None. |
|
| countryname | string |
None. |
|
| CountryISO | string |
None. |
|
| CountryISO2 | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"id": 1,
"code": "sample string 2",
"countryname": "sample string 3",
"CountryISO": "sample string 4",
"CountryISO2": "sample string 5"
}
application/xml, text/xml
Sample:
<api_GetCountries_Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NFuels_Database.database.portal"> <CountryISO>sample string 4</CountryISO> <CountryISO2>sample string 5</CountryISO2> <code>sample string 2</code> <countryname>sample string 3</countryname> <id>1</id> </api_GetCountries_Result>