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": [
    "a3178662-ebd4-4564-810c-44231fb91511",
    "69484b5a-a33b-49e0-a6ed-7b42f6364858",
    "9dc5cfc8-6ad7-4f43-aecf-5bdffde9e720"
  ],
  "RankedAnswers": [
    {
      "Rank": 1,
      "OtherText": "sample string 2"
    },
    {
      "Rank": 1,
      "OtherText": "sample string 2"
    },
    {
      "Rank": 1,
      "OtherText": "sample string 2"
    }
  ],
  "QuestionId": "c0c0c6d6-61d3-451b-81f9-4efedba43f35",
  "VoterId": "ef73581b-9109-4a12-9355-6a50fbade011",
  "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>a3178662-ebd4-4564-810c-44231fb91511</d2p1:guid>
    <d2p1:guid>69484b5a-a33b-49e0-a6ed-7b42f6364858</d2p1:guid>
    <d2p1:guid>9dc5cfc8-6ad7-4f43-aecf-5bdffde9e720</d2p1:guid>
  </AnswerIds>
  <OpenText>sample string 3</OpenText>
  <QuestionId>c0c0c6d6-61d3-451b-81f9-4efedba43f35</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>ef73581b-9109-4a12-9355-6a50fbade011</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.