GET api/Country/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Country| Name | Description | Type | Additional information |
|---|---|---|---|
| CountryId | integer |
None. |
|
| CountryName | string |
None. |
|
| ISO2 | string |
None. |
|
| ISO3 | string |
None. |
|
| ISONumber | string |
None. |
|
| CountryCode | string |
None. |
|
| Currency | string |
None. |
|
| CreatedDate | date |
Data type: DateTime |
|
| CreatedBy | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"CountryId": 1,
"CountryName": "sample string 2",
"ISO2": "sample string 3",
"ISO3": "sample string 4",
"ISONumber": "sample string 5",
"CountryCode": "sample string 6",
"Currency": "sample string 7",
"CreatedDate": "2025-12-08T01:55:04.0488694+05:30",
"CreatedBy": "sample string 9"
}
application/xml, text/xml
Sample:
<Country xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Netsoft.Domain.Entities"> <CreatedBy>sample string 9</CreatedBy> <CreatedDate>2025-12-08T01:55:04.0488694+05:30</CreatedDate> <CountryCode>sample string 6</CountryCode> <CountryId>1</CountryId> <CountryName>sample string 2</CountryName> <Currency>sample string 7</Currency> <ISO2>sample string 3</ISO2> <ISO3>sample string 4</ISO3> <ISONumber>sample string 5</ISONumber> </Country>