PUT api/newProgram_tbl/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

newProgram_tbl
NameDescriptionTypeAdditional information
programId

integer

None.

programName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "programId": 1,
  "programName": "sample string 2"
}

text/html

Sample:
{"programId":1,"programName":"sample string 2"}

application/xml, text/xml

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

Response Information

Resource Description

None.