POST Project/setAnswers
No documentation available.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| Model | No documentation available. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{
"QuestionType": 1,
"AnswerIds": [
"aa8dbda2-6b8c-40e0-b50b-b9abd661c902",
"8faf891f-6969-4c8d-b7b1-1e6238639bc9",
"5a2d5fe1-0e6a-420e-ac10-724176e3165b"
],
"RankedAnswers": [
{
"Rank": 1,
"OtherText": "sample string 2"
},
{
"Rank": 1,
"OtherText": "sample string 2"
},
{
"Rank": 1,
"OtherText": "sample string 2"
}
],
"QuestionId": "8e1dd771-8378-4197-8beb-6b09f4a3c852",
"VoterId": "f4339cac-e64e-4237-a27a-d7a7c559b5b9",
"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>aa8dbda2-6b8c-40e0-b50b-b9abd661c902</d2p1:guid>
<d2p1:guid>8faf891f-6969-4c8d-b7b1-1e6238639bc9</d2p1:guid>
<d2p1:guid>5a2d5fe1-0e6a-420e-ac10-724176e3165b</d2p1:guid>
</AnswerIds>
<OpenText>sample string 3</OpenText>
<QuestionId>8e1dd771-8378-4197-8beb-6b09f4a3c852</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>f4339cac-e64e-4237-a27a-d7a7c559b5b9</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.