POST TrainingSolution/UpdateCity

Request Information

URI Parameters

None.

Body Parameters

CityModel
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

CityName

string

None.

CreatedDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "611446c8-8f0b-4641-b2ca-b50c958483f4",
  "CityName": "sample string 2",
  "CreatedDate": "2024-12-23T03:37:20.2509391+05:30"
}

application/xml, text/xml

Sample:
<CityModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ONPETApi.Models">
  <CityName>sample string 2</CityName>
  <CreatedDate>2024-12-23T03:37:20.2509391+05:30</CreatedDate>
  <Id>611446c8-8f0b-4641-b2ca-b50c958483f4</Id>
</CityModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.