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": [ "689bcc88-63a3-4a71-8e2e-da973db3ec85", "8946b1ea-9329-427f-b8e0-97f09f61c6d6", "f6310e2e-4eb2-4c51-b86e-9d6e722b2805" ], "RankedAnswers": [ { "Rank": 1, "OtherText": "sample string 2" }, { "Rank": 1, "OtherText": "sample string 2" }, { "Rank": 1, "OtherText": "sample string 2" } ], "QuestionId": "13489334-30b6-4e7b-9baa-b39bec106c8b", "VoterId": "8365a07b-67b3-482f-87cb-6eef4175db8b", "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>689bcc88-63a3-4a71-8e2e-da973db3ec85</d2p1:guid> <d2p1:guid>8946b1ea-9329-427f-b8e0-97f09f61c6d6</d2p1:guid> <d2p1:guid>f6310e2e-4eb2-4c51-b86e-9d6e722b2805</d2p1:guid> </AnswerIds> <OpenText>sample string 3</OpenText> <QuestionId>13489334-30b6-4e7b-9baa-b39bec106c8b</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>8365a07b-67b3-482f-87cb-6eef4175db8b</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.