POST api/Project/setAnswers

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
Model
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "QuestionType": 1,
  "AnswerIds": [
    "210f27f1-6eb3-4cf1-9c87-1a14e2903a52",
    "002b2d5a-8bbc-4785-b6b2-e95e305f43e3",
    "ffc4d1ca-2cd0-42cb-9b08-dcfeaefa5f2b"
  ],
  "RankedAnswers": [
    {
      "Rank": 1,
      "OtherText": "sample string 2"
    },
    {
      "Rank": 1,
      "OtherText": "sample string 2"
    },
    {
      "Rank": 1,
      "OtherText": "sample string 2"
    }
  ],
  "QuestionId": "9d898f9f-fb9e-409e-b7bb-eeb4c2cc42ac",
  "VoterId": "ba4178ac-38d9-46a9-a3c1-685b0ab71c65",
  "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>210f27f1-6eb3-4cf1-9c87-1a14e2903a52</d2p1:guid>
    <d2p1:guid>002b2d5a-8bbc-4785-b6b2-e95e305f43e3</d2p1:guid>
    <d2p1:guid>ffc4d1ca-2cd0-42cb-9b08-dcfeaefa5f2b</d2p1:guid>
  </AnswerIds>
  <OpenText>sample string 3</OpenText>
  <QuestionId>9d898f9f-fb9e-409e-b7bb-eeb4c2cc42ac</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>ba4178ac-38d9-46a9-a3c1-685b0ab71c65</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.