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": [
"55bf51bb-860d-47e2-b1ea-a5c188332d4d",
"e9972556-f2f4-477a-98b1-c6d196ca4510",
"31d6450a-bc51-4279-9c34-60c1ceae48ab"
],
"RankedAnswers": [
{
"Rank": 1,
"OtherText": "sample string 2"
},
{
"Rank": 1,
"OtherText": "sample string 2"
},
{
"Rank": 1,
"OtherText": "sample string 2"
}
],
"QuestionId": "7f453a19-3fe4-46da-95a7-ef5bb155de26",
"VoterId": "d9cb3a34-bae2-4568-a650-63d2f691a8da",
"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>55bf51bb-860d-47e2-b1ea-a5c188332d4d</d2p1:guid>
<d2p1:guid>e9972556-f2f4-477a-98b1-c6d196ca4510</d2p1:guid>
<d2p1:guid>31d6450a-bc51-4279-9c34-60c1ceae48ab</d2p1:guid>
</AnswerIds>
<OpenText>sample string 3</OpenText>
<QuestionId>7f453a19-3fe4-46da-95a7-ef5bb155de26</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>d9cb3a34-bae2-4568-a650-63d2f691a8da</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.