POST api/Project/setAnswers/{id}
No documentation available.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
Model | No documentation available. |
Define this parameter in the request body. |
id | No documentation available. |
Define this parameter in the request URI. |
Request body formats
application/json, text/json
Sample:
{ "QuestionType": 1, "AnswerIds": [ "4b1aaae0-a3f8-4b03-8899-2e105632d464", "017443d8-f899-4d41-b687-8099494c7c3c", "f4ac768e-8b4c-49a9-99df-e7292da785c7" ], "RankedAnswers": [ { "Rank": 1, "OtherText": "sample string 2" }, { "Rank": 1, "OtherText": "sample string 2" }, { "Rank": 1, "OtherText": "sample string 2" } ], "QuestionId": "67c4319b-073a-4494-b14b-c8b3406f1c55", "VoterId": "d260f6c3-22b7-4726-a250-fa959e6d7e29", "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>4b1aaae0-a3f8-4b03-8899-2e105632d464</d2p1:guid> <d2p1:guid>017443d8-f899-4d41-b687-8099494c7c3c</d2p1:guid> <d2p1:guid>f4ac768e-8b4c-49a9-99df-e7292da785c7</d2p1:guid> </AnswerIds> <OpenText>sample string 3</OpenText> <QuestionId>67c4319b-073a-4494-b14b-c8b3406f1c55</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>d260f6c3-22b7-4726-a250-fa959e6d7e29</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.