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": [
"f07988d7-a610-4463-b3a3-eba60e811ca1",
"59382d51-474c-4c24-9c34-fcfd5fca4ab1",
"d4212709-190e-4c23-9b45-a3d4b1ce48db"
],
"RankedAnswers": [
{
"Rank": 1,
"OtherText": "sample string 2"
},
{
"Rank": 1,
"OtherText": "sample string 2"
},
{
"Rank": 1,
"OtherText": "sample string 2"
}
],
"QuestionId": "616e0cc4-dbb0-4048-af80-6a41fa31f0ec",
"VoterId": "ddf3f057-4f66-404c-b361-0f48b04cf4bf",
"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>f07988d7-a610-4463-b3a3-eba60e811ca1</d2p1:guid>
<d2p1:guid>59382d51-474c-4c24-9c34-fcfd5fca4ab1</d2p1:guid>
<d2p1:guid>d4212709-190e-4c23-9b45-a3d4b1ce48db</d2p1:guid>
</AnswerIds>
<OpenText>sample string 3</OpenText>
<QuestionId>616e0cc4-dbb0-4048-af80-6a41fa31f0ec</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>ddf3f057-4f66-404c-b361-0f48b04cf4bf</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.