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": [
"83a5e596-d38b-4052-922b-c94b70fa5162",
"2fb353c1-da59-442b-a613-27f530836edf",
"8393d2b8-73f2-44c0-b606-f730d6550229"
],
"RankedAnswers": [
{
"Rank": 1,
"OtherText": "sample string 2"
},
{
"Rank": 1,
"OtherText": "sample string 2"
},
{
"Rank": 1,
"OtherText": "sample string 2"
}
],
"QuestionId": "12b2a7f1-7b4b-4568-a5d2-e97f83d50be7",
"VoterId": "3b003a7d-482a-4654-ac82-616f3fb41991",
"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>83a5e596-d38b-4052-922b-c94b70fa5162</d2p1:guid>
<d2p1:guid>2fb353c1-da59-442b-a613-27f530836edf</d2p1:guid>
<d2p1:guid>8393d2b8-73f2-44c0-b606-f730d6550229</d2p1:guid>
</AnswerIds>
<OpenText>sample string 3</OpenText>
<QuestionId>12b2a7f1-7b4b-4568-a5d2-e97f83d50be7</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>3b003a7d-482a-4654-ac82-616f3fb41991</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.