POST api/states

Request Information

URI Parameters

None.

Body Parameters

State
NameDescriptionTypeAdditional information
Dml_Indicator

string

None.

Id

integer

None.

Name

string

None.

Country_id

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Dml_Indicator": "sample string 1",
  "Id": 2,
  "Name": "sample string 3",
  "Country_id": 4
}

application/xml, text/xml

Sample:
<State xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EntityLayer">
  <Country_id>4</Country_id>
  <Dml_Indicator>sample string 1</Dml_Indicator>
  <Id>2</Id>
  <Name>sample string 3</Name>
</State>

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.