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": [ "e1c4b947-bf22-4c8b-b9e3-9f419178329b", "22070a22-5719-4722-b599-c4a74a72c6ce", "a2abf518-c459-4623-aa0a-b539e82a12e4" ], "RankedAnswers": [ { "Rank": 1, "OtherText": "sample string 2" }, { "Rank": 1, "OtherText": "sample string 2" }, { "Rank": 1, "OtherText": "sample string 2" } ], "QuestionId": "31c1b7df-c0f1-40fe-b08f-71f928eecada", "VoterId": "a4692a1f-705a-4a1e-a56f-b671a80c48c2", "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>e1c4b947-bf22-4c8b-b9e3-9f419178329b</d2p1:guid> <d2p1:guid>22070a22-5719-4722-b599-c4a74a72c6ce</d2p1:guid> <d2p1:guid>a2abf518-c459-4623-aa0a-b539e82a12e4</d2p1:guid> </AnswerIds> <OpenText>sample string 3</OpenText> <QuestionId>31c1b7df-c0f1-40fe-b08f-71f928eecada</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>a4692a1f-705a-4a1e-a56f-b671a80c48c2</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.