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": [ "61fa36ae-0757-4113-9497-d860e82342cd", "371cf40a-a524-44d6-8b9e-cadbf9c52a5e", "1a1727b8-52d7-4bac-9fe6-fac5f03f523d" ], "RankedAnswers": [ { "Rank": 1, "OtherText": "sample string 2" }, { "Rank": 1, "OtherText": "sample string 2" }, { "Rank": 1, "OtherText": "sample string 2" } ], "QuestionId": "9ad91465-7dae-416a-93aa-e5e906e2259f", "VoterId": "eab15feb-6dc0-4042-acdc-f0fb414c98d5", "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>61fa36ae-0757-4113-9497-d860e82342cd</d2p1:guid> <d2p1:guid>371cf40a-a524-44d6-8b9e-cadbf9c52a5e</d2p1:guid> <d2p1:guid>1a1727b8-52d7-4bac-9fe6-fac5f03f523d</d2p1:guid> </AnswerIds> <OpenText>sample string 3</OpenText> <QuestionId>9ad91465-7dae-416a-93aa-e5e906e2259f</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>eab15feb-6dc0-4042-acdc-f0fb414c98d5</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.