GET api/City/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
CityMasterResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| a | integer |
None. |
|
| lst | Collection of JsonCityMaster |
None. |
Response Formats
application/json, text/json
Sample:
{
"a": 1,
"lst": [
{
"a": 1,
"b": "sample string 2",
"c": "sample string 3",
"d": true
},
{
"a": 1,
"b": "sample string 2",
"c": "sample string 3",
"d": true
}
]
}
application/xml, text/xml
Sample:
<CityMasterResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ttadmin.Common.Request">
<a>1</a>
<lst>
<JsonCityMaster>
<a>1</a>
<b>sample string 2</b>
<c>sample string 3</c>
<d>true</d>
</JsonCityMaster>
<JsonCityMaster>
<a>1</a>
<b>sample string 2</b>
<c>sample string 3</c>
<d>true</d>
</JsonCityMaster>
</lst>
</CityMasterResponse>