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": [
    "788229b2-d41f-4dc7-a3a1-37aad577ff5f",
    "cf9a6d2c-6be1-431e-a0f0-0d1f6d41c646",
    "16336bbf-1cdf-4cf7-a82d-bb7833cea279"
  ],
  "RankedAnswers": [
    {
      "Rank": 1,
      "OtherText": "sample string 2"
    },
    {
      "Rank": 1,
      "OtherText": "sample string 2"
    },
    {
      "Rank": 1,
      "OtherText": "sample string 2"
    }
  ],
  "QuestionId": "7a93cfbc-6096-4199-9263-6d26ef3e6d5d",
  "VoterId": "b33fd2f4-7ec8-4c8e-9645-cf3480730bdd",
  "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>788229b2-d41f-4dc7-a3a1-37aad577ff5f</d2p1:guid>
    <d2p1:guid>cf9a6d2c-6be1-431e-a0f0-0d1f6d41c646</d2p1:guid>
    <d2p1:guid>16336bbf-1cdf-4cf7-a82d-bb7833cea279</d2p1:guid>
  </AnswerIds>
  <OpenText>sample string 3</OpenText>
  <QuestionId>7a93cfbc-6096-4199-9263-6d26ef3e6d5d</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>b33fd2f4-7ec8-4c8e-9645-cf3480730bdd</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.