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": [
    "8c7a7b9e-7feb-4546-ae32-926c435b0160",
    "75d0090b-8b7c-4bb6-8ddb-8c42db44b1dc",
    "6d71f3a4-4d9d-4f0f-830b-2ca1680be7a5"
  ],
  "RankedAnswers": [
    {
      "Rank": 1,
      "OtherText": "sample string 2"
    },
    {
      "Rank": 1,
      "OtherText": "sample string 2"
    },
    {
      "Rank": 1,
      "OtherText": "sample string 2"
    }
  ],
  "QuestionId": "805e622c-f8df-453e-9bf7-5d97fc7d658b",
  "VoterId": "7d576b4d-b986-4a98-a04c-e9a1fbc0806d",
  "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>8c7a7b9e-7feb-4546-ae32-926c435b0160</d2p1:guid>
    <d2p1:guid>75d0090b-8b7c-4bb6-8ddb-8c42db44b1dc</d2p1:guid>
    <d2p1:guid>6d71f3a4-4d9d-4f0f-830b-2ca1680be7a5</d2p1:guid>
  </AnswerIds>
  <OpenText>sample string 3</OpenText>
  <QuestionId>805e622c-f8df-453e-9bf7-5d97fc7d658b</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>7d576b4d-b986-4a98-a04c-e9a1fbc0806d</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.