PUT api/{module}/City/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | string |
Required |
|
module | string |
None. |
Body Parameters
CityMainName | Description | Type | Additional information |
---|---|---|---|
CityName | string |
String length: inclusive between 0 and 50 |
|
CountryCode | string |
Required String length: inclusive between 0 and 20 |
|
StateCode | string |
Required String length: inclusive between 0 and 20 |
|
Id | string |
None. |
|
UserTableFields | Collection of Object |
None. |
|
CreationUser | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "cityName": "sample string 1", "countryCode": "sample string 2", "stateCode": "sample string 3", "id": "sample string 5", "userTableFields": null, "creationUser": "sample string 6" }
application/xml, text/xml
Sample:
<CityMain xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Avant.Plenus.WebApi.Models.Business.Admin"> <CreationUser xmlns="http://schemas.datacontract.org/2004/07/Avant.Plenus.WebApi.Models.Business.Common">sample string 6</CreationUser> <Id xmlns="http://schemas.datacontract.org/2004/07/Avant.Plenus.WebApi.Models.Business.Common">sample string 5</Id> <UserTableFields i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/Avant.Plenus.WebApi.Models.Business.Common" /> <CityName>sample string 1</CityName> <CountryCode>sample string 2</CountryCode> <StateCode>sample string 3</StateCode> </CityMain>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |