POST api/Semesters/{id}?semesterName={semesterName}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

None.

semesterName

string

None.

Body Parameters

None.

Response Information

Resource Description

Semester
NameDescriptionTypeAdditional information
id

integer

None.

semesterName

string

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "semesterName": "sample string 2"
}

text/html

Sample:
{"id":1,"semesterName":"sample string 2"}

application/xml, text/xml

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