POST api/Quiz/SaveQuizQuestion
Request Information
URI Parameters
None.
Body Parameters
SendQuizQuestionRequestName | Description | Type | Additional information |
---|---|---|---|
QuestionDTO | QuizQuestionDTO |
None. |
|
string |
None. |
||
LastUpdateDateTime | date |
None. |
|
ClientVersion | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "QuestionDTO": { "QuizQuestionId": "sample string 1", "EventId": "sample string 2", "TestoDomanda": "sample string 3", "RispostaUno": "sample string 4", "RispostaDue": "sample string 5", "RispostaTre": "sample string 6", "RispostaQuattro": "sample string 7", "RispostaCinque": "sample string 8", "RispostaCorretta": 1, "InizioQuiz": "2025-04-04T04:52:19.1798843+02:00", "FineQuiz": "2025-04-04T04:52:19.1798843+02:00", "RispostaSelezionata": 11, "QuizWordVisible": false, "QuizNormaleVisible": true }, "Email": "sample string 1", "LastUpdateDateTime": "2025-04-04T04:52:19.1798843+02:00", "ClientVersion": "sample string 3" }
application/xml, text/xml
Sample:
<SendQuizQuestionRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VarGroup.Model.Quiz"> <ClientVersion xmlns="http://schemas.datacontract.org/2004/07/VarGroup.Models">sample string 3</ClientVersion> <Email xmlns="http://schemas.datacontract.org/2004/07/VarGroup.Models">sample string 1</Email> <LastUpdateDateTime xmlns="http://schemas.datacontract.org/2004/07/VarGroup.Models">2025-04-04T04:52:19.1798843+02:00</LastUpdateDateTime> <QuestionDTO> <EventId>sample string 2</EventId> <FineQuiz>2025-04-04T04:52:19.1798843+02:00</FineQuiz> <InizioQuiz>2025-04-04T04:52:19.1798843+02:00</InizioQuiz> <QuizQuestionId>sample string 1</QuizQuestionId> <RispostaCinque>sample string 8</RispostaCinque> <RispostaCorretta>1</RispostaCorretta> <RispostaDue>sample string 5</RispostaDue> <RispostaQuattro>sample string 7</RispostaQuattro> <RispostaSelezionata>11</RispostaSelezionata> <RispostaTre>sample string 6</RispostaTre> <RispostaUno>sample string 4</RispostaUno> <TestoDomanda>sample string 3</TestoDomanda> </QuestionDTO> </SendQuizQuestionRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
SendQuizQuestionResponseName | Description | Type | Additional information |
---|---|---|---|
ResponseDateTime | date |
None. |
|
ErrorMessage | string |
None. |
|
IsValid | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "ResponseDateTime": "2025-04-04T04:52:19.1954664+02:00", "ErrorMessage": "sample string 2", "IsValid": true }
application/xml, text/xml
Sample:
<SendQuizQuestionResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VarGroup.Model.Quiz"> <ErrorMessage xmlns="http://schemas.datacontract.org/2004/07/VarGroup.Models">sample string 2</ErrorMessage> <IsValid xmlns="http://schemas.datacontract.org/2004/07/VarGroup.Models">true</IsValid> <ResponseDateTime xmlns="http://schemas.datacontract.org/2004/07/VarGroup.Models">2025-04-04T04:52:19.1954664+02:00</ResponseDateTime> </SendQuizQuestionResponse>