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": [
    "89c47156-360d-4c0d-bfff-3febd99646f0",
    "6c460629-7ce2-4008-b796-39f6fab32396",
    "637fe26c-22c2-4a76-a5b0-08bfda2c9ba5"
  ],
  "RankedAnswers": [
    {
      "Rank": 1,
      "OtherText": "sample string 2"
    },
    {
      "Rank": 1,
      "OtherText": "sample string 2"
    },
    {
      "Rank": 1,
      "OtherText": "sample string 2"
    }
  ],
  "QuestionId": "b7562aba-a6c1-40df-bf8a-44fccf41f3cc",
  "VoterId": "40217b00-fa1b-4afc-8e29-6d919cafee7c",
  "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>89c47156-360d-4c0d-bfff-3febd99646f0</d2p1:guid>
    <d2p1:guid>6c460629-7ce2-4008-b796-39f6fab32396</d2p1:guid>
    <d2p1:guid>637fe26c-22c2-4a76-a5b0-08bfda2c9ba5</d2p1:guid>
  </AnswerIds>
  <OpenText>sample string 3</OpenText>
  <QuestionId>b7562aba-a6c1-40df-bf8a-44fccf41f3cc</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>40217b00-fa1b-4afc-8e29-6d919cafee7c</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.