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": [
"a144beef-efb7-4a9d-b1b5-e2423537f262",
"b8e8caf7-5258-4ae5-bfe1-814637835faf",
"a1d894bc-5fd1-49ec-98a0-039d308a11f3"
],
"RankedAnswers": [
{
"Rank": 1,
"OtherText": "sample string 2"
},
{
"Rank": 1,
"OtherText": "sample string 2"
},
{
"Rank": 1,
"OtherText": "sample string 2"
}
],
"QuestionId": "6c56e2f6-f3ad-4881-af5a-55fcb12cc6e3",
"VoterId": "34eb3a42-16fb-47b0-88c0-2d8ad4acbf93",
"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>a144beef-efb7-4a9d-b1b5-e2423537f262</d2p1:guid>
<d2p1:guid>b8e8caf7-5258-4ae5-bfe1-814637835faf</d2p1:guid>
<d2p1:guid>a1d894bc-5fd1-49ec-98a0-039d308a11f3</d2p1:guid>
</AnswerIds>
<OpenText>sample string 3</OpenText>
<QuestionId>6c56e2f6-f3ad-4881-af5a-55fcb12cc6e3</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>34eb3a42-16fb-47b0-88c0-2d8ad4acbf93</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.