PUT api/CityMasters/PutCityMaster/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
CityMaster| Name | Description | Type | Additional information |
|---|---|---|---|
| CityId | integer |
None. |
|
| CityName | string |
None. |
|
| StateId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"CityId": 1,
"CityName": "sample string 2",
"StateId": 1
}
application/xml, text/xml
Sample:
<CityMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ItemMasterDemoAPI"> <CityId>1</CityId> <CityName>sample string 2</CityName> <StateId>1</StateId> </CityMaster>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.