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": [
"df0a4f7b-cd87-42ab-8ffc-6fb3518f5f11",
"455fa687-57b0-47fc-9815-48f4812dd0c2",
"fdcd6e52-0975-4cce-a0f0-9f09417ad800"
],
"RankedAnswers": [
{
"Rank": 1,
"OtherText": "sample string 2"
},
{
"Rank": 1,
"OtherText": "sample string 2"
},
{
"Rank": 1,
"OtherText": "sample string 2"
}
],
"QuestionId": "458a4b2d-9011-434e-be66-6af74d71f384",
"VoterId": "1357dccd-cab5-44b9-b2b4-61600f284b1b",
"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>df0a4f7b-cd87-42ab-8ffc-6fb3518f5f11</d2p1:guid>
<d2p1:guid>455fa687-57b0-47fc-9815-48f4812dd0c2</d2p1:guid>
<d2p1:guid>fdcd6e52-0975-4cce-a0f0-9f09417ad800</d2p1:guid>
</AnswerIds>
<OpenText>sample string 3</OpenText>
<QuestionId>458a4b2d-9011-434e-be66-6af74d71f384</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>1357dccd-cab5-44b9-b2b4-61600f284b1b</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.