POST SubLocationTables/PostSubLocationTable

Request Information

URI Parameters

None.

Body Parameters

SubLocationTable
NameDescriptionTypeAdditional information
sublocid

integer

None.

sublocation

string

None.

cityid

integer

None.

countryid

integer

None.

provid

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "sublocid": 1,
  "sublocation": "sample string 2",
  "cityid": 3,
  "countryid": 1,
  "provid": 1
}

application/xml, text/xml

Sample:
<SubLocationTable xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/projectalminha.Models">
  <cityid>3</cityid>
  <countryid>1</countryid>
  <provid>1</provid>
  <sublocation>sample string 2</sublocation>
  <sublocid>1</sublocid>
</SubLocationTable>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'SubLocationTable'.

Response Information

Resource Description

SubLocationTable
NameDescriptionTypeAdditional information
sublocid

integer

None.

sublocation

string

None.

cityid

integer

None.

countryid

integer

None.

provid

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "sublocid": 1,
  "sublocation": "sample string 2",
  "cityid": 3,
  "countryid": 1,
  "provid": 1
}

application/xml, text/xml

Sample:
<SubLocationTable xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/projectalminha.Models">
  <cityid>3</cityid>
  <countryid>1</countryid>
  <provid>1</provid>
  <sublocation>sample string 2</sublocation>
  <sublocid>1</sublocid>
</SubLocationTable>