POST api/PackageQuestions/EditQuestion

Request Information

URI Parameters

None.

Body Parameters

UserQuestionDataModel
NameDescriptionTypeAdditional information
Id

integer

None.

CourseId

integer

None.

Title

string

None.

Description

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "CourseId": 2,
  "Title": "sample string 3",
  "Description": "sample string 4"
}

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

Response Information

Resource Description

ApiResult
NameDescriptionTypeAdditional information
Success

boolean

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:

Sample not available.