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": [
"d0c049d4-db94-4d61-a388-f9487cee47de",
"bef4d684-73d2-4db4-950f-47c3107ceff7",
"61bd7582-9652-42d3-bf17-d70713074320"
],
"RankedAnswers": [
{
"Rank": 1,
"OtherText": "sample string 2"
},
{
"Rank": 1,
"OtherText": "sample string 2"
},
{
"Rank": 1,
"OtherText": "sample string 2"
}
],
"QuestionId": "be1c73df-ee9f-44ff-a2fd-34a1881cbb74",
"VoterId": "98030629-d74f-4db4-8fd6-2f97f47c9594",
"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>d0c049d4-db94-4d61-a388-f9487cee47de</d2p1:guid>
<d2p1:guid>bef4d684-73d2-4db4-950f-47c3107ceff7</d2p1:guid>
<d2p1:guid>61bd7582-9652-42d3-bf17-d70713074320</d2p1:guid>
</AnswerIds>
<OpenText>sample string 3</OpenText>
<QuestionId>be1c73df-ee9f-44ff-a2fd-34a1881cbb74</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>98030629-d74f-4db4-8fd6-2f97f47c9594</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.