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": [
"6a5e06dc-8708-49c4-8834-2fe05603a6ff",
"fdd9d2a8-f587-421d-b5d1-67e9404c54b3",
"e3571ee6-ca8d-4904-8312-101675c46a03"
],
"RankedAnswers": [
{
"Rank": 1,
"OtherText": "sample string 2"
},
{
"Rank": 1,
"OtherText": "sample string 2"
},
{
"Rank": 1,
"OtherText": "sample string 2"
}
],
"QuestionId": "1452f69b-27d3-42f3-8c83-8db52bdb2015",
"VoterId": "db1e512a-3b50-400d-84dc-834fde9d23d8",
"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>6a5e06dc-8708-49c4-8834-2fe05603a6ff</d2p1:guid>
<d2p1:guid>fdd9d2a8-f587-421d-b5d1-67e9404c54b3</d2p1:guid>
<d2p1:guid>e3571ee6-ca8d-4904-8312-101675c46a03</d2p1:guid>
</AnswerIds>
<OpenText>sample string 3</OpenText>
<QuestionId>1452f69b-27d3-42f3-8c83-8db52bdb2015</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>db1e512a-3b50-400d-84dc-834fde9d23d8</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.