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": [ "2ff5b06f-2d1c-4677-a03e-9231bcd9dae0", "ddfcf26b-713d-4dfe-bc01-33fee017da9f", "19800449-e364-4f61-903e-4077c9113e80" ], "RankedAnswers": [ { "Rank": 1, "OtherText": "sample string 2" }, { "Rank": 1, "OtherText": "sample string 2" }, { "Rank": 1, "OtherText": "sample string 2" } ], "QuestionId": "6c663d26-246c-4fd4-a8c0-4333a362c0a7", "VoterId": "48fbcbb6-8514-438d-bf3c-fce195775624", "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>2ff5b06f-2d1c-4677-a03e-9231bcd9dae0</d2p1:guid> <d2p1:guid>ddfcf26b-713d-4dfe-bc01-33fee017da9f</d2p1:guid> <d2p1:guid>19800449-e364-4f61-903e-4077c9113e80</d2p1:guid> </AnswerIds> <OpenText>sample string 3</OpenText> <QuestionId>6c663d26-246c-4fd4-a8c0-4333a362c0a7</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>48fbcbb6-8514-438d-bf3c-fce195775624</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.