GET api/v1/Reports/Location/GetCityList?stateId={stateId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
stateId | integer |
Required |
|
version | string |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of CityName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
CityName | string |
None. |
|
TenantId | integer |
None. |
|
IsActive | boolean |
None. |
|
StateName | string |
None. |
|
StateCode | string |
None. |
|
StateId | integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Id": 1, "CityName": "sample string 2", "TenantId": 3, "IsActive": true, "StateName": "sample string 5", "StateCode": "sample string 6", "StateId": 7 }, { "Id": 1, "CityName": "sample string 2", "TenantId": 3, "IsActive": true, "StateName": "sample string 5", "StateCode": "sample string 6", "StateId": 7 } ]
text/html
Sample:
[{"Id":1,"CityName":"sample string 2","TenantId":3,"IsActive":true,"StateName":"sample string 5","StateCode":"sample string 6","StateId":7},{"Id":1,"CityName":"sample string 2","TenantId":3,"IsActive":true,"StateName":"sample string 5","StateCode":"sample string 6","StateId":7}]
text/xml
Sample:
<ArrayOfCity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShotClassCore.Models"> <City> <CityName>sample string 2</CityName> <Id>1</Id> <IsActive>true</IsActive> <StateCode>sample string 6</StateCode> <StateId>7</StateId> <StateName>sample string 5</StateName> <TenantId>3</TenantId> </City> <City> <CityName>sample string 2</CityName> <Id>1</Id> <IsActive>true</IsActive> <StateCode>sample string 6</StateCode> <StateId>7</StateId> <StateName>sample string 5</StateName> <TenantId>3</TenantId> </City> </ArrayOfCity>