POST Goat/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": "f0445e7c-501f-4a0e-bac9-90b1d8018723",
  "CityName": "sample string 2",
  "CreatedDate": "2024-12-23T04:03:17.6008876+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:03:17.6008876+05:30</CreatedDate>
  <Id>f0445e7c-501f-4a0e-bac9-90b1d8018723</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.