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": [ "ba33ca56-b525-4a27-938f-dde097410608", "6514f477-3084-4126-95e4-d00cdf5879cc", "ea318430-9b6a-4d98-b584-2e29e1ac13b1" ], "RankedAnswers": [ { "Rank": 1, "OtherText": "sample string 2" }, { "Rank": 1, "OtherText": "sample string 2" }, { "Rank": 1, "OtherText": "sample string 2" } ], "QuestionId": "f86ed314-edd2-45b6-aa88-2b57d9c6269c", "VoterId": "9ee8909a-9925-4d15-9dcb-0efd40088abc", "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>ba33ca56-b525-4a27-938f-dde097410608</d2p1:guid> <d2p1:guid>6514f477-3084-4126-95e4-d00cdf5879cc</d2p1:guid> <d2p1:guid>ea318430-9b6a-4d98-b584-2e29e1ac13b1</d2p1:guid> </AnswerIds> <OpenText>sample string 3</OpenText> <QuestionId>f86ed314-edd2-45b6-aa88-2b57d9c6269c</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>9ee8909a-9925-4d15-9dcb-0efd40088abc</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.