POST api/CourseQuestions/AddQuestionScoring

Request Information

URI Parameters

None.

Body Parameters

UserQuestionScoringDataModel
NameDescriptionTypeAdditional information
QuestionId

integer

None.

Liked

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "QuestionId": 1,
  "Liked": true
}

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 'UserQuestionScoringDataModel'.

Response Information

Resource Description

ApiResult
NameDescriptionTypeAdditional information
Success

boolean

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:

Sample not available.