PUT api/newSection_tbl/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

newSection_tbl
NameDescriptionTypeAdditional information
sectionId

integer

None.

sectionName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "sectionId": 1,
  "sectionName": "sample string 2"
}

text/html

Sample:
{"sectionId":1,"sectionName":"sample string 2"}

application/xml, text/xml

Sample:
<newSection_tbl xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/webapi.Models">
  <sectionId>1</sectionId>
  <sectionName>sample string 2</sectionName>
</newSection_tbl>

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 'newSection_tbl'.

Response Information

Resource Description

None.