POST api/city/save
Request Information
URI Parameters
None.
Body Parameters
CityModelName | Description | Type | Additional information |
---|---|---|---|
CityID | integer |
None. |
|
CityCode | string |
None. |
|
CityName | string |
None. |
|
StateID | integer |
None. |
|
IsActive | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "CityID": 1, "CityCode": "sample string 2", "CityName": "sample string 3", "StateID": 4, "IsActive": true }
application/xml, text/xml
Sample:
<CityModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ApprovalManagementAPI.Models"> <CityCode>sample string 2</CityCode> <CityID>1</CityID> <CityName>sample string 3</CityName> <IsActive>true</IsActive> <StateID>4</StateID> </CityModel>
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.