POST 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": [
"484dab04-1782-4711-b33f-d1d50d3a4c40",
"12591eda-ffcc-49f1-aa71-a176cb2d770c",
"ed59e7d9-9a29-4929-a11e-aede4308429c"
],
"RankedAnswers": [
{
"Rank": 1,
"OtherText": "sample string 2"
},
{
"Rank": 1,
"OtherText": "sample string 2"
},
{
"Rank": 1,
"OtherText": "sample string 2"
}
],
"QuestionId": "964d97ee-fca8-49a8-8133-0f49c6185b0a",
"VoterId": "bedf206a-a4f4-4924-bcee-ea9fddf0621a",
"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>484dab04-1782-4711-b33f-d1d50d3a4c40</d2p1:guid>
<d2p1:guid>12591eda-ffcc-49f1-aa71-a176cb2d770c</d2p1:guid>
<d2p1:guid>ed59e7d9-9a29-4929-a11e-aede4308429c</d2p1:guid>
</AnswerIds>
<OpenText>sample string 3</OpenText>
<QuestionId>964d97ee-fca8-49a8-8133-0f49c6185b0a</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>bedf206a-a4f4-4924-bcee-ea9fddf0621a</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.