POST api/Admin/SaveCity

Request Information

URI Parameters

None.

Body Parameters

SaveCityModel
NameDescriptionTypeAdditional information
StateId

integer

None.

CityId

integer

None.

Name

string

None.

AdminId

integer

None.

IsEnabled

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "StateId": 1,
  "CityId": 2,
  "Name": "sample string 3",
  "AdminId": 4,
  "IsEnabled": true
}

application/xml, text/xml

Sample:
<SaveCityModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CareerKinApi.Models">
  <AdminId>4</AdminId>
  <CityId>2</CityId>
  <IsEnabled>true</IsEnabled>
  <Name>sample string 3</Name>
  <StateId>1</StateId>
</SaveCityModel>

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.