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": [ "dc8ba4ce-d767-4660-902c-cfd9a4ae9203", "a0e03c6c-061e-4ada-afed-6cbf1b8b09b1", "81f544e5-3690-4d07-9122-ad19ac172beb" ], "RankedAnswers": [ { "Rank": 1, "OtherText": "sample string 2" }, { "Rank": 1, "OtherText": "sample string 2" }, { "Rank": 1, "OtherText": "sample string 2" } ], "QuestionId": "b14e5d58-bd25-48e5-852b-04b8ab183475", "VoterId": "f87c0612-bd8e-46bc-a188-46a85a3f41d7", "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>dc8ba4ce-d767-4660-902c-cfd9a4ae9203</d2p1:guid> <d2p1:guid>a0e03c6c-061e-4ada-afed-6cbf1b8b09b1</d2p1:guid> <d2p1:guid>81f544e5-3690-4d07-9122-ad19ac172beb</d2p1:guid> </AnswerIds> <OpenText>sample string 3</OpenText> <QuestionId>b14e5d58-bd25-48e5-852b-04b8ab183475</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>f87c0612-bd8e-46bc-a188-46a85a3f41d7</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.