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": [ "2dc7bad5-4159-4240-9509-5b9f06810052", "048fc0b9-2999-4db0-b56e-2d6e397f5d89", "8930136f-9ff1-4614-8f0e-b6b2229c9ffb" ], "RankedAnswers": [ { "Rank": 1, "OtherText": "sample string 2" }, { "Rank": 1, "OtherText": "sample string 2" }, { "Rank": 1, "OtherText": "sample string 2" } ], "QuestionId": "9d937c13-bb85-46cf-b038-d13410bb08fb", "VoterId": "f2b4ed90-d440-429c-a896-14f8f379d373", "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>2dc7bad5-4159-4240-9509-5b9f06810052</d2p1:guid> <d2p1:guid>048fc0b9-2999-4db0-b56e-2d6e397f5d89</d2p1:guid> <d2p1:guid>8930136f-9ff1-4614-8f0e-b6b2229c9ffb</d2p1:guid> </AnswerIds> <OpenText>sample string 3</OpenText> <QuestionId>9d937c13-bb85-46cf-b038-d13410bb08fb</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>f2b4ed90-d440-429c-a896-14f8f379d373</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.