PUT api/newcourse_tbl/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

newcourse_tbl
NameDescriptionTypeAdditional information
courseId

integer

None.

courseFullName

string

None.

courseShortName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "courseId": 1,
  "courseFullName": "sample string 2",
  "courseShortName": "sample string 3"
}

text/html

Sample:
{"courseId":1,"courseFullName":"sample string 2","courseShortName":"sample string 3"}

application/xml, text/xml

Sample:
<newcourse_tbl xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/webapi.Models">
  <courseFullName>sample string 2</courseFullName>
  <courseId>1</courseId>
  <courseShortName>sample string 3</courseShortName>
</newcourse_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 'newcourse_tbl'.

Response Information

Resource Description

None.