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": [
"9303a94e-e69e-4b74-ac59-61f54b8466d2",
"bda34ce5-1abf-4f70-902d-3aaec4e5f73a",
"6c3c3147-55c6-49a1-9ee4-a5c23bd7be38"
],
"RankedAnswers": [
{
"Rank": 1,
"OtherText": "sample string 2"
},
{
"Rank": 1,
"OtherText": "sample string 2"
},
{
"Rank": 1,
"OtherText": "sample string 2"
}
],
"QuestionId": "d7203436-0864-4a56-9913-5e4aebc11694",
"VoterId": "b3e3b59e-fd8a-4e8f-bed3-00cd4e34c9aa",
"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>9303a94e-e69e-4b74-ac59-61f54b8466d2</d2p1:guid>
<d2p1:guid>bda34ce5-1abf-4f70-902d-3aaec4e5f73a</d2p1:guid>
<d2p1:guid>6c3c3147-55c6-49a1-9ee4-a5c23bd7be38</d2p1:guid>
</AnswerIds>
<OpenText>sample string 3</OpenText>
<QuestionId>d7203436-0864-4a56-9913-5e4aebc11694</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>b3e3b59e-fd8a-4e8f-bed3-00cd4e34c9aa</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.