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": [
    "1a7abcf6-feee-445a-a3ca-8313e3fbf08e",
    "37ed87fc-157a-4484-8bc9-00a7affaeae5",
    "d1ea413a-54aa-4404-b014-fec8fe62cbe8"
  ],
  "RankedAnswers": [
    {
      "Rank": 1,
      "OtherText": "sample string 2"
    },
    {
      "Rank": 1,
      "OtherText": "sample string 2"
    },
    {
      "Rank": 1,
      "OtherText": "sample string 2"
    }
  ],
  "QuestionId": "b39b3d6c-91aa-4c74-aea9-4690957189bd",
  "VoterId": "fd4527df-208d-4b59-9a29-7b587082b1b6",
  "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>1a7abcf6-feee-445a-a3ca-8313e3fbf08e</d2p1:guid>
    <d2p1:guid>37ed87fc-157a-4484-8bc9-00a7affaeae5</d2p1:guid>
    <d2p1:guid>d1ea413a-54aa-4404-b014-fec8fe62cbe8</d2p1:guid>
  </AnswerIds>
  <OpenText>sample string 3</OpenText>
  <QuestionId>b39b3d6c-91aa-4c74-aea9-4690957189bd</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>fd4527df-208d-4b59-9a29-7b587082b1b6</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.