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": [
"2cf0a1a9-3c10-40ab-8afa-c16223d08521",
"f22ab24e-2a2b-4524-89c2-13426f4a48ca",
"e98f94cb-cc4a-44d4-87ce-eafd4ded2553"
],
"RankedAnswers": [
{
"Rank": 1,
"OtherText": "sample string 2"
},
{
"Rank": 1,
"OtherText": "sample string 2"
},
{
"Rank": 1,
"OtherText": "sample string 2"
}
],
"QuestionId": "f1674153-6842-4acc-afe2-3fe47a536ed1",
"VoterId": "0cfd5894-da52-4e14-9e70-01d908d07931",
"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>2cf0a1a9-3c10-40ab-8afa-c16223d08521</d2p1:guid>
<d2p1:guid>f22ab24e-2a2b-4524-89c2-13426f4a48ca</d2p1:guid>
<d2p1:guid>e98f94cb-cc4a-44d4-87ce-eafd4ded2553</d2p1:guid>
</AnswerIds>
<OpenText>sample string 3</OpenText>
<QuestionId>f1674153-6842-4acc-afe2-3fe47a536ed1</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>0cfd5894-da52-4e14-9e70-01d908d07931</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.