POST api/Project/setAnswers
No documentation available.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| Model | No documentation available. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{
"QuestionType": 1,
"AnswerIds": [
"79ce02e9-577d-4b21-a6e0-36622ab77f50",
"8387e2aa-ed68-4227-9582-6bc55fb6e59d",
"163f9c24-fe99-42ff-a979-37097c79d8ed"
],
"RankedAnswers": [
{
"Rank": 1,
"OtherText": "sample string 2"
},
{
"Rank": 1,
"OtherText": "sample string 2"
},
{
"Rank": 1,
"OtherText": "sample string 2"
}
],
"QuestionId": "4feaddb1-199c-4eec-b8d8-de2cf550e356",
"VoterId": "644ee816-a586-443e-95b3-a3e7419d62f4",
"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>79ce02e9-577d-4b21-a6e0-36622ab77f50</d2p1:guid>
<d2p1:guid>8387e2aa-ed68-4227-9582-6bc55fb6e59d</d2p1:guid>
<d2p1:guid>163f9c24-fe99-42ff-a979-37097c79d8ed</d2p1:guid>
</AnswerIds>
<OpenText>sample string 3</OpenText>
<QuestionId>4feaddb1-199c-4eec-b8d8-de2cf550e356</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>644ee816-a586-443e-95b3-a3e7419d62f4</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.