POST api/City/UpdateCity
Request Information
URI Parameters
None.
Body Parameters
CityName | Description | Type | Additional information |
---|---|---|---|
CityId | integer |
None. |
|
StateId | integer |
None. |
|
CityName | string |
None. |
|
StateName | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "CityId": 1, "StateId": 2, "CityName": "sample string 3", "StateName": "sample string 4" }
application/xml, text/xml
Sample:
<City xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EcommerceWebApi.Models"> <CityId>1</CityId> <CityName>sample string 3</CityName> <StateId>2</StateId> <StateName>sample string 4</StateName> </City>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.