POST api/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": [
"51bbd16a-f0cc-432c-8634-bcebf264478f",
"439c574d-24d7-45b3-991a-04f16573a3c8",
"9f3b3a62-af48-471e-af8e-891a88dea757"
],
"RankedAnswers": [
{
"Rank": 1,
"OtherText": "sample string 2"
},
{
"Rank": 1,
"OtherText": "sample string 2"
},
{
"Rank": 1,
"OtherText": "sample string 2"
}
],
"QuestionId": "1af2c46c-2fe2-4ab0-8a6c-b1f941c2790d",
"VoterId": "b3285d2e-7975-45f5-8708-b52833426696",
"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>51bbd16a-f0cc-432c-8634-bcebf264478f</d2p1:guid>
<d2p1:guid>439c574d-24d7-45b3-991a-04f16573a3c8</d2p1:guid>
<d2p1:guid>9f3b3a62-af48-471e-af8e-891a88dea757</d2p1:guid>
</AnswerIds>
<OpenText>sample string 3</OpenText>
<QuestionId>1af2c46c-2fe2-4ab0-8a6c-b1f941c2790d</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>b3285d2e-7975-45f5-8708-b52833426696</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.