GET
api/v1/get-CityByCityName?cityName={cityName}&stateId={stateId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
cityName | string |
Required |
|
stateId | integer |
Required |
Response Information
Description:
Return type: City
Response Formats
application/json, text/json
{ "CityId": 1, "CityName": "sample string 2", "StateProvincedId": 3, "IsActive": true }
text/html
{"CityId":1,"CityName":"sample string 2","StateProvincedId":3,"IsActive":true}
application/xml, text/xml
<City xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FDCMSAdminAPI.Models.Master"> <CityId>1</CityId> <CityName>sample string 2</CityName> <IsActive>true</IsActive> <StateProvincedId>3</StateProvincedId> </City>