POST api/CourseQuestions/AddAnswerScoring

Request Information

URI Parameters

None.

Body Parameters

UserAnswerScoringDataModel
NameDescriptionTypeAdditional information
AnswerId

integer

None.

Liked

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "AnswerId": 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 'UserAnswerScoringDataModel'.

Response Information

Resource Description

ApiResult
NameDescriptionTypeAdditional information
Success

boolean

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:

Sample not available.