POST api/City/UpdateCity
Request Information
URI Parameters
None.
Body Parameters
CityModelName | Description | Type | Additional information |
---|---|---|---|
City_Id | integer |
None. |
|
Zone_Id | integer |
None. |
|
Region_Id | integer |
None. |
|
CityName | string |
None. |
|
IsActive | boolean |
None. |
|
CreationDate | date |
None. |
|
ModifiedDate | date |
None. |
|
CreatedBy | integer |
None. |
|
ModifiedBy | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "City_Id": 1, "Zone_Id": 1, "Region_Id": 1, "CityName": "sample string 2", "IsActive": true, "CreationDate": "2024-12-23T03:13:27.4407882+05:30", "ModifiedDate": "2024-12-23T03:13:27.4407882+05:30", "CreatedBy": 5, "ModifiedBy": 1 }
application/xml, text/xml
Sample:
<CityModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProjectBLL.CustomModel"> <CityName>sample string 2</CityName> <City_Id>1</City_Id> <CreatedBy>5</CreatedBy> <CreationDate>2024-12-23T03:13:27.4407882+05:30</CreationDate> <IsActive>true</IsActive> <ModifiedBy>1</ModifiedBy> <ModifiedDate>2024-12-23T03:13:27.4407882+05:30</ModifiedDate> <Region_Id>1</Region_Id> <Zone_Id>1</Zone_Id> </CityModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>