POST api/CityApi/Post_city_for_save_update

Request Information

URI Parameters

None.

Body Parameters

City
NameDescriptionTypeAdditional information
Database

string

None.

EventType

string

None.

Compcode

string

None.

StateId

integer

None.

StateName

string

None.

CityId

integer

None.

CityName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Database": "sample string 1",
  "EventType": "sample string 2",
  "Compcode": "sample string 3",
  "StateId": 4,
  "StateName": "sample string 5",
  "CityId": 6,
  "CityName": "sample string 7"
}

application/xml, text/xml

Sample:
<City xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOL_Business_Objects_Layer_">
  <CityId>6</CityId>
  <CityName>sample string 7</CityName>
  <Compcode>sample string 3</Compcode>
  <Database>sample string 1</Database>
  <EventType>sample string 2</EventType>
  <StateId>4</StateId>
  <StateName>sample string 5</StateName>
</City>

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.