POST 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": [
    "0303db2a-d80c-416a-bcb6-c46d6c9b9a51",
    "7cbee79c-c321-45ea-830c-174a3fb4f147",
    "4642eaed-50ea-44a5-9faf-8da3554e9f4c"
  ],
  "RankedAnswers": [
    {
      "Rank": 1,
      "OtherText": "sample string 2"
    },
    {
      "Rank": 1,
      "OtherText": "sample string 2"
    },
    {
      "Rank": 1,
      "OtherText": "sample string 2"
    }
  ],
  "QuestionId": "2b028fa4-fb4a-436c-ba86-d1463e2a39cf",
  "VoterId": "ac240588-344d-41e7-8a16-740dcd62e570",
  "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>0303db2a-d80c-416a-bcb6-c46d6c9b9a51</d2p1:guid>
    <d2p1:guid>7cbee79c-c321-45ea-830c-174a3fb4f147</d2p1:guid>
    <d2p1:guid>4642eaed-50ea-44a5-9faf-8da3554e9f4c</d2p1:guid>
  </AnswerIds>
  <OpenText>sample string 3</OpenText>
  <QuestionId>2b028fa4-fb4a-436c-ba86-d1463e2a39cf</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>ac240588-344d-41e7-8a16-740dcd62e570</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.