POST api/Project/setAnswers/{id}
No documentation available.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| Model | No documentation available. |
Define this parameter in the request body. |
| id | No documentation available. |
Define this parameter in the request URI. |
Request body formats
application/json, text/json
Sample:
{
"QuestionType": 1,
"AnswerIds": [
"efab51bc-474b-476e-9082-1d6461fd3a73",
"c02f4422-2984-47a0-a0ca-702a359a1d83",
"8706562a-1cea-41c8-995e-6a7ba62e7d72"
],
"RankedAnswers": [
{
"Rank": 1,
"OtherText": "sample string 2"
},
{
"Rank": 1,
"OtherText": "sample string 2"
},
{
"Rank": 1,
"OtherText": "sample string 2"
}
],
"QuestionId": "0fffe566-8247-42a6-a709-8a078875b0ce",
"VoterId": "7bda5cbb-165e-4971-ad23-a8fd1d7bf904",
"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>efab51bc-474b-476e-9082-1d6461fd3a73</d2p1:guid>
<d2p1:guid>c02f4422-2984-47a0-a0ca-702a359a1d83</d2p1:guid>
<d2p1:guid>8706562a-1cea-41c8-995e-6a7ba62e7d72</d2p1:guid>
</AnswerIds>
<OpenText>sample string 3</OpenText>
<QuestionId>0fffe566-8247-42a6-a709-8a078875b0ce</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>7bda5cbb-165e-4971-ad23-a8fd1d7bf904</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.