POST api/City

Request Information

URI Parameters

None.

Body Parameters

CityEntity
NameDescriptionTypeAdditional information
CityID

integer

None.

DID

integer

None.

CityName

string

None.

IsActive

boolean

None.

UpdateBy

integer

None.

LastDate

date

None.

DName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CityID": 1,
  "DID": 2,
  "CityName": "sample string 3",
  "IsActive": true,
  "UpdateBy": 5,
  "LastDate": "2025-04-11T12:50:29.8975984+05:30",
  "DName": "sample string 7"
}

application/xml, text/xml

Sample:
<CityEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities">
  <CityID>1</CityID>
  <CityName>sample string 3</CityName>
  <DID>2</DID>
  <DName>sample string 7</DName>
  <IsActive>true</IsActive>
  <LastDate>2025-04-11T12:50:29.8975984+05:30</LastDate>
  <UpdateBy>5</UpdateBy>
</CityEntity>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.