POST api/Subject/FlagSubjectAsFavourite

Request Information

URI Parameters

None.

Body Parameters

SubjectFavouriteDto
NameDescriptionTypeAdditional information
IsFavourited

boolean

None.

SubjectId

integer

None.

Request Formats

application/x-www-form-urlencoded

Sample:

Sample not available.

application/json, text/json

Sample:
{
  "isFavourited": true,
  "subjectId": 2
}

text/plain

Sample:
{"isFavourited":true,"subjectId":2}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/plain

Sample:

Sample not available.