PUT api/newInstructor_tbl/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

newInstructor_tbl
NameDescriptionTypeAdditional information
InstructorId

integer

None.

InstructorName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "InstructorId": 1,
  "InstructorName": "sample string 2"
}

text/html

Sample:
{"InstructorId":1,"InstructorName":"sample string 2"}

application/xml, text/xml

Sample:
<newInstructor_tbl xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/webapi.Models">
  <InstructorId>1</InstructorId>
  <InstructorName>sample string 2</InstructorName>
</newInstructor_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 'newInstructor_tbl'.

Response Information

Resource Description

None.