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": [ "1941aa81-fe3b-4e9b-aa61-3dd56eaf7a7b", "9672bf9f-9090-4f26-a94b-d1fa072ccfd5", "2b77f907-d6fb-4536-8a93-adddeef40a30" ], "RankedAnswers": [ { "Rank": 1, "OtherText": "sample string 2" }, { "Rank": 1, "OtherText": "sample string 2" }, { "Rank": 1, "OtherText": "sample string 2" } ], "QuestionId": "02e89bd6-e2c1-416a-9449-bee580628a51", "VoterId": "9cea106b-c8a7-413b-ae2b-d957393abfad", "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>1941aa81-fe3b-4e9b-aa61-3dd56eaf7a7b</d2p1:guid> <d2p1:guid>9672bf9f-9090-4f26-a94b-d1fa072ccfd5</d2p1:guid> <d2p1:guid>2b77f907-d6fb-4536-8a93-adddeef40a30</d2p1:guid> </AnswerIds> <OpenText>sample string 3</OpenText> <QuestionId>02e89bd6-e2c1-416a-9449-bee580628a51</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>9cea106b-c8a7-413b-ae2b-d957393abfad</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.