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": [ "45d8e2a1-055f-4165-baae-3434ce098a8d", "82f5fd07-da04-4330-93b6-ff8c69d1cbdd", "44173558-bf7c-40e4-8ab3-6ddbf5e1fada" ], "RankedAnswers": [ { "Rank": 1, "OtherText": "sample string 2" }, { "Rank": 1, "OtherText": "sample string 2" }, { "Rank": 1, "OtherText": "sample string 2" } ], "QuestionId": "f8882862-0bde-43f3-ad99-cfdd0ee544cf", "VoterId": "810830bb-af01-4db0-ba45-6da31f24c8fa", "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>45d8e2a1-055f-4165-baae-3434ce098a8d</d2p1:guid> <d2p1:guid>82f5fd07-da04-4330-93b6-ff8c69d1cbdd</d2p1:guid> <d2p1:guid>44173558-bf7c-40e4-8ab3-6ddbf5e1fada</d2p1:guid> </AnswerIds> <OpenText>sample string 3</OpenText> <QuestionId>f8882862-0bde-43f3-ad99-cfdd0ee544cf</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>810830bb-af01-4db0-ba45-6da31f24c8fa</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.