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": [
"c8e8e7fd-1427-4afd-b156-c6055f3b251c",
"e37feb30-5afa-4300-b35a-3f63cbf013a8",
"63613e06-1812-4fcc-94c1-11caba7aad2d"
],
"RankedAnswers": [
{
"Rank": 1,
"OtherText": "sample string 2"
},
{
"Rank": 1,
"OtherText": "sample string 2"
},
{
"Rank": 1,
"OtherText": "sample string 2"
}
],
"QuestionId": "337da2d7-9afc-4087-ac0e-00628a40f793",
"VoterId": "df0f301d-0a3e-4bd2-be93-0bfff2105766",
"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>c8e8e7fd-1427-4afd-b156-c6055f3b251c</d2p1:guid>
<d2p1:guid>e37feb30-5afa-4300-b35a-3f63cbf013a8</d2p1:guid>
<d2p1:guid>63613e06-1812-4fcc-94c1-11caba7aad2d</d2p1:guid>
</AnswerIds>
<OpenText>sample string 3</OpenText>
<QuestionId>337da2d7-9afc-4087-ac0e-00628a40f793</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>df0f301d-0a3e-4bd2-be93-0bfff2105766</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.