POST TrainingSolution/InsertCity

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": "a4425ca9-ecd2-47d3-8995-cfb985f590ca",
  "CityName": "sample string 2",
  "CreatedDate": "2024-12-23T04:36:16.8002131+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-23T04:36:16.8002131+05:30</CreatedDate>
  <Id>a4425ca9-ecd2-47d3-8995-cfb985f590ca</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.