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": [
"805c7f86-c282-419a-a486-936c9c9be6c6",
"d75e99b4-7324-48b5-9251-831a48a0d5c0",
"756d5067-29dc-4136-bd04-0873a572b436"
],
"RankedAnswers": [
{
"Rank": 1,
"OtherText": "sample string 2"
},
{
"Rank": 1,
"OtherText": "sample string 2"
},
{
"Rank": 1,
"OtherText": "sample string 2"
}
],
"QuestionId": "4fcf7f35-8ec6-4101-8809-26d11709caa9",
"VoterId": "fdcdadaa-987c-4032-a091-61d5818f66c4",
"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>805c7f86-c282-419a-a486-936c9c9be6c6</d2p1:guid>
<d2p1:guid>d75e99b4-7324-48b5-9251-831a48a0d5c0</d2p1:guid>
<d2p1:guid>756d5067-29dc-4136-bd04-0873a572b436</d2p1:guid>
</AnswerIds>
<OpenText>sample string 3</OpenText>
<QuestionId>4fcf7f35-8ec6-4101-8809-26d11709caa9</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>fdcdadaa-987c-4032-a091-61d5818f66c4</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.