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": [ "97fa3d34-7a27-49cc-a4d0-c53d653d8709", "fd05e139-378f-4b20-b878-2a8152ca7a2f", "1ca3498f-e840-4eb5-a7a0-2a97881fbc13" ], "RankedAnswers": [ { "Rank": 1, "OtherText": "sample string 2" }, { "Rank": 1, "OtherText": "sample string 2" }, { "Rank": 1, "OtherText": "sample string 2" } ], "QuestionId": "357d78df-9312-4189-82e8-c3f002436b93", "VoterId": "b86dfbd1-c41d-440b-b973-6bd7a4724099", "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>97fa3d34-7a27-49cc-a4d0-c53d653d8709</d2p1:guid> <d2p1:guid>fd05e139-378f-4b20-b878-2a8152ca7a2f</d2p1:guid> <d2p1:guid>1ca3498f-e840-4eb5-a7a0-2a97881fbc13</d2p1:guid> </AnswerIds> <OpenText>sample string 3</OpenText> <QuestionId>357d78df-9312-4189-82e8-c3f002436b93</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>b86dfbd1-c41d-440b-b973-6bd7a4724099</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.