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": [
"27642639-1a4b-4e85-a5ff-45bd8c6000ee",
"9d957b88-4198-4213-9a09-ac8e5e61df52",
"caac6814-3884-4294-9c56-2a44d592fe7e"
],
"RankedAnswers": [
{
"Rank": 1,
"OtherText": "sample string 2"
},
{
"Rank": 1,
"OtherText": "sample string 2"
},
{
"Rank": 1,
"OtherText": "sample string 2"
}
],
"QuestionId": "33c55da0-6b13-4cf4-a8d4-62b17b2c21a3",
"VoterId": "c575e9a5-282a-4fa6-818f-6863d5cba5da",
"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>27642639-1a4b-4e85-a5ff-45bd8c6000ee</d2p1:guid>
<d2p1:guid>9d957b88-4198-4213-9a09-ac8e5e61df52</d2p1:guid>
<d2p1:guid>caac6814-3884-4294-9c56-2a44d592fe7e</d2p1:guid>
</AnswerIds>
<OpenText>sample string 3</OpenText>
<QuestionId>33c55da0-6b13-4cf4-a8d4-62b17b2c21a3</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>c575e9a5-282a-4fa6-818f-6863d5cba5da</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.