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": [ "43b631d4-32a0-4e12-9c42-0792ce9c522a", "d65e31c1-f1d1-4874-bb1e-93077e68366f", "5e85aa62-7c2c-401f-a280-68d677df9527" ], "RankedAnswers": [ { "Rank": 1, "OtherText": "sample string 2" }, { "Rank": 1, "OtherText": "sample string 2" }, { "Rank": 1, "OtherText": "sample string 2" } ], "QuestionId": "c75a988a-69e8-46d9-b88f-37c9e0474d93", "VoterId": "b02ced17-4119-4617-b13e-cb930c8dd96c", "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>43b631d4-32a0-4e12-9c42-0792ce9c522a</d2p1:guid> <d2p1:guid>d65e31c1-f1d1-4874-bb1e-93077e68366f</d2p1:guid> <d2p1:guid>5e85aa62-7c2c-401f-a280-68d677df9527</d2p1:guid> </AnswerIds> <OpenText>sample string 3</OpenText> <QuestionId>c75a988a-69e8-46d9-b88f-37c9e0474d93</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>b02ced17-4119-4617-b13e-cb930c8dd96c</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.