POST 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": [ "3de9ad79-73ce-4ed9-bcd0-155b70f3d12a", "906b80fc-6373-423f-981b-4c03a3e4a20e", "3f696736-722b-453a-9966-341a91f2eb3d" ], "RankedAnswers": [ { "Rank": 1, "OtherText": "sample string 2" }, { "Rank": 1, "OtherText": "sample string 2" }, { "Rank": 1, "OtherText": "sample string 2" } ], "QuestionId": "2e38bca2-af74-420e-a102-3d7d42613423", "VoterId": "fa15fc3b-03c3-4c4c-83aa-f0fb2f8ea65f", "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>3de9ad79-73ce-4ed9-bcd0-155b70f3d12a</d2p1:guid> <d2p1:guid>906b80fc-6373-423f-981b-4c03a3e4a20e</d2p1:guid> <d2p1:guid>3f696736-722b-453a-9966-341a91f2eb3d</d2p1:guid> </AnswerIds> <OpenText>sample string 3</OpenText> <QuestionId>2e38bca2-af74-420e-a102-3d7d42613423</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>fa15fc3b-03c3-4c4c-83aa-f0fb2f8ea65f</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.