POST api/Project/setAnswers
No documentation available.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| Model | No documentation available. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{
"QuestionType": 1,
"AnswerIds": [
"1d7ae57e-22c5-4165-8bb9-c87f5c2d5772",
"af990d36-05a3-4c10-bcb3-69a48ac79ae8",
"56a07928-99f9-4800-ab60-867b17bec788"
],
"RankedAnswers": [
{
"Rank": 1,
"OtherText": "sample string 2"
},
{
"Rank": 1,
"OtherText": "sample string 2"
},
{
"Rank": 1,
"OtherText": "sample string 2"
}
],
"QuestionId": "c66f906c-d5c9-4e02-bbf9-930ca82456f4",
"VoterId": "09fb4934-df16-4b51-8785-bfcb51eda6fe",
"SenderOrigin": 0,
"OpenText": "sample string 3"
}
text/xml
Sample:
<SetAnswerViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VoxVoteViewModels">
<AnswerIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>1d7ae57e-22c5-4165-8bb9-c87f5c2d5772</d2p1:guid>
<d2p1:guid>af990d36-05a3-4c10-bcb3-69a48ac79ae8</d2p1:guid>
<d2p1:guid>56a07928-99f9-4800-ab60-867b17bec788</d2p1:guid>
</AnswerIds>
<OpenText>sample string 3</OpenText>
<QuestionId>c66f906c-d5c9-4e02-bbf9-930ca82456f4</QuestionId>
<QuestionType>Single</QuestionType>
<RankedAnswers>
<RankViewModel>
<OtherText>sample string 2</OtherText>
<Rank>1</Rank>
</RankViewModel>
<RankViewModel>
<OtherText>sample string 2</OtherText>
<Rank>1</Rank>
</RankViewModel>
<RankViewModel>
<OtherText>sample string 2</OtherText>
<Rank>1</Rank>
</RankViewModel>
</RankedAnswers>
<SenderOrigin>IOS_DevJockeys_1_0</SenderOrigin>
<VoterId>09fb4934-df16-4b51-8785-bfcb51eda6fe</VoterId>
</SetAnswerViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
No documentation available.
Response body formats
application/json, text/json
Sample:
Sample not available.