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": [ "8b777f2d-e2de-4041-b595-dbe70301da39", "2e8dea10-492b-4a5d-9775-956afd97feee", "1b521f2b-4b0a-46a3-9415-3c6c78a1b544" ], "RankedAnswers": [ { "Rank": 1, "OtherText": "sample string 2" }, { "Rank": 1, "OtherText": "sample string 2" }, { "Rank": 1, "OtherText": "sample string 2" } ], "QuestionId": "2f868c60-6ada-4d4a-b2ee-9ae54ede43d4", "VoterId": "9a24ce88-3e94-45da-b097-f2534d23b1f7", "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>8b777f2d-e2de-4041-b595-dbe70301da39</d2p1:guid> <d2p1:guid>2e8dea10-492b-4a5d-9775-956afd97feee</d2p1:guid> <d2p1:guid>1b521f2b-4b0a-46a3-9415-3c6c78a1b544</d2p1:guid> </AnswerIds> <OpenText>sample string 3</OpenText> <QuestionId>2f868c60-6ada-4d4a-b2ee-9ae54ede43d4</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>9a24ce88-3e94-45da-b097-f2534d23b1f7</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.