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": [ "85cf3587-23f3-45ce-8f9a-5b4b7f17e343", "42ef0843-cf49-400a-a337-1c1cfe58c6ac", "270058fa-4e69-461c-ad32-5777ba611b2c" ], "RankedAnswers": [ { "Rank": 1, "OtherText": "sample string 2" }, { "Rank": 1, "OtherText": "sample string 2" }, { "Rank": 1, "OtherText": "sample string 2" } ], "QuestionId": "2042c93b-8116-4b14-b012-e614c41c590d", "VoterId": "2b626ba0-8886-4cfd-9c7b-6f6cafd7d079", "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>85cf3587-23f3-45ce-8f9a-5b4b7f17e343</d2p1:guid> <d2p1:guid>42ef0843-cf49-400a-a337-1c1cfe58c6ac</d2p1:guid> <d2p1:guid>270058fa-4e69-461c-ad32-5777ba611b2c</d2p1:guid> </AnswerIds> <OpenText>sample string 3</OpenText> <QuestionId>2042c93b-8116-4b14-b012-e614c41c590d</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>2b626ba0-8886-4cfd-9c7b-6f6cafd7d079</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.