POST api/Subjects

Request Information

URI Parameters

None.

Body Parameters

Subjects
NameDescriptionTypeAdditional information
Id

integer

None.

Subject

string

Required

String length: inclusive between 0 and 255

DepId

integer

None.

CourseId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Subject": "sample string 2",
  "DepId": 3,
  "CourseId": 4
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Subjects
NameDescriptionTypeAdditional information
Id

integer

None.

Subject

string

Required

String length: inclusive between 0 and 255

DepId

integer

None.

CourseId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Subject": "sample string 2",
  "DepId": 3,
  "CourseId": 4
}