POST SubLocationTables/PutSubLocationTable/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

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

None.