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": [
    "97f70e7d-ffe6-41cd-a5bf-6078935b7555",
    "4a990d9e-869e-491e-b241-2f01468cd170",
    "f0050432-668c-4e9a-84b7-ad02b67453d6"
  ],
  "RankedAnswers": [
    {
      "Rank": 1,
      "OtherText": "sample string 2"
    },
    {
      "Rank": 1,
      "OtherText": "sample string 2"
    },
    {
      "Rank": 1,
      "OtherText": "sample string 2"
    }
  ],
  "QuestionId": "83e87674-38cc-4807-b875-df40dc79c896",
  "VoterId": "7231d922-31ee-40fc-8f79-425595b88710",
  "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>97f70e7d-ffe6-41cd-a5bf-6078935b7555</d2p1:guid>
    <d2p1:guid>4a990d9e-869e-491e-b241-2f01468cd170</d2p1:guid>
    <d2p1:guid>f0050432-668c-4e9a-84b7-ad02b67453d6</d2p1:guid>
  </AnswerIds>
  <OpenText>sample string 3</OpenText>
  <QuestionId>83e87674-38cc-4807-b875-df40dc79c896</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>7231d922-31ee-40fc-8f79-425595b88710</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.