GET api/county/get?id={id}
Hämtar ett specifikt län
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
CountyDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | string |
None. |
|
| Name | string |
None. |
|
| Letter | string |
None. |
|
| Code | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"id": "sample string 1",
"name": "sample string 1",
"letter": "sample string 2",
"code": "sample string 3"
}
application/xml, text/xml
Sample:
<County xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <Code>sample string 3</Code> <Id>sample string 1</Id> <Letter>sample string 2</Letter> <Name>sample string 1</Name> </County>