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": [
"7652b9df-2dab-4884-bf03-d56b24f9038a",
"bae0a837-a110-410d-b8ae-653717133e0f",
"67184799-4625-42e4-96b4-6a392f92c1f8"
],
"RankedAnswers": [
{
"Rank": 1,
"OtherText": "sample string 2"
},
{
"Rank": 1,
"OtherText": "sample string 2"
},
{
"Rank": 1,
"OtherText": "sample string 2"
}
],
"QuestionId": "1c6cdffa-801b-481f-b848-384e1bae1dfb",
"VoterId": "5f5102b5-dca5-44a8-ae06-18b658a17e07",
"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>7652b9df-2dab-4884-bf03-d56b24f9038a</d2p1:guid>
<d2p1:guid>bae0a837-a110-410d-b8ae-653717133e0f</d2p1:guid>
<d2p1:guid>67184799-4625-42e4-96b4-6a392f92c1f8</d2p1:guid>
</AnswerIds>
<OpenText>sample string 3</OpenText>
<QuestionId>1c6cdffa-801b-481f-b848-384e1bae1dfb</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>5f5102b5-dca5-44a8-ae06-18b658a17e07</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.