PUT bo/quizmanage/update/{quizId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
quizId | integer |
Required |
Body Parameters
m_quizmanage_question_updateName | Description | Type | Additional information |
---|---|---|---|
QuizQuestionInfo | string |
Required |
|
QuizQuestionMore | string |
None. |
|
DificultyLevel | integer |
Required |
|
UseOnDate | date |
None. |
|
Answers | Collection of m_quizmanage_answer_update |
None. |
Request Formats
application/json, text/json
Sample:
{ "QuizQuestionInfo": "sample string 1", "QuizQuestionMore": "sample string 2", "DificultyLevel": 3, "UseOnDate": "2024-11-21T17:26:18.3285587+07:00", "Answers": [ { "QuizAnswerId": 1, "QuizAnswerInfo": "sample string 2", "QuizAnswerMore": "sample string 3", "IsCorrect": true, "Score": 5 }, { "QuizAnswerId": 1, "QuizAnswerInfo": "sample string 2", "QuizAnswerMore": "sample string 3", "IsCorrect": true, "Score": 5 } ] }
application/xml, text/xml
Sample:
<m_quizmanage_question_update xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Modules.Models.Backoffice"> <Answers> <m_quizmanage_answer_update> <IsCorrect>true</IsCorrect> <QuizAnswerId>1</QuizAnswerId> <QuizAnswerInfo>sample string 2</QuizAnswerInfo> <QuizAnswerMore>sample string 3</QuizAnswerMore> <Score>5</Score> </m_quizmanage_answer_update> <m_quizmanage_answer_update> <IsCorrect>true</IsCorrect> <QuizAnswerId>1</QuizAnswerId> <QuizAnswerInfo>sample string 2</QuizAnswerInfo> <QuizAnswerMore>sample string 3</QuizAnswerMore> <Score>5</Score> </m_quizmanage_answer_update> </Answers> <DificultyLevel>3</DificultyLevel> <QuizQuestionInfo>sample string 1</QuizQuestionInfo> <QuizQuestionMore>sample string 2</QuizQuestionMore> <UseOnDate>2024-11-21T17:26:18.3285587+07:00</UseOnDate> </m_quizmanage_question_update>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.