POST api/DeliveryAgent/InductionProgram/SaveInductionQuizQuestion
Request Information
URI Parameters
None.
Body Parameters
InductionQuizQuestionPostModel| Name | Description | Type | Additional information |
|---|---|---|---|
| SectionID | integer |
None. |
|
| UserID | string |
None. |
|
| IPAddress | string |
None. |
|
| Question | string |
None. |
|
| CorrectInfo | string |
None. |
|
| WrongInfo | string |
None. |
|
| Options | Collection of InductionQuizOptionsPostModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"SectionID": 1,
"UserID": "sample string 2",
"IPAddress": "sample string 3",
"Question": "sample string 4",
"CorrectInfo": "sample string 5",
"WrongInfo": "sample string 6",
"Options": [
{
"OptionName": "sample string 1",
"IsCorrect": true
},
{
"OptionName": "sample string 1",
"IsCorrect": true
}
]
}
application/xml, text/xml
Sample:
<InductionQuizQuestionPostModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DeliveryAgent.Operations.CustomModels">
<CorrectInfo>sample string 5</CorrectInfo>
<IPAddress>sample string 3</IPAddress>
<Options>
<InductionQuizOptionsPostModel>
<IsCorrect>true</IsCorrect>
<OptionName>sample string 1</OptionName>
</InductionQuizOptionsPostModel>
<InductionQuizOptionsPostModel>
<IsCorrect>true</IsCorrect>
<OptionName>sample string 1</OptionName>
</InductionQuizOptionsPostModel>
</Options>
<Question>sample string 4</Question>
<SectionID>1</SectionID>
<UserID>sample string 2</UserID>
<WrongInfo>sample string 6</WrongInfo>
</InductionQuizQuestionPostModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>