POST api/City/AddCity

Request Information

URI Parameters

None.

Body Parameters

City
NameDescriptionTypeAdditional information
City_Id

integer

None.

State_Id

integer

None.

CityName

string

None.

StateName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "City_Id": 1,
  "State_Id": 2,
  "CityName": "sample string 3",
  "StateName": "sample string 4"
}

application/octet-stream

Sample:
{"$id":"1","City_Id":1,"State_Id":2,"CityName":"sample string 3","StateName":"sample string 4"}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/octet-stream

Sample:

Sample not available.