GET api/subjects/{id}

Returns a single Subject.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The ID of a Subject to return.

integer

Required

Body Parameters

None.

Response Information

Resource Description

Subject
NameDescriptionTypeAdditional information
id

The ID of a Subject.

integer

None.

name

The common name of a Subject, for example "Software and programming".

string

Max length: 50

Response Formats

application/json, text/json

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