POST Project/setAnswers/{id}

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
Model
No documentation available.

Define this parameter in the request body.

id
No documentation available.

Define this parameter in the request URI.

Request body formats

application/json, text/json

Sample:
{
  "QuestionType": 1,
  "AnswerIds": [
    "5b89c68c-6a62-4ede-ac8c-70f2e32ac6eb",
    "381dc48e-b320-4d69-875b-12f014659f33",
    "326edf70-890f-4d46-8266-ac386a082a8d"
  ],
  "RankedAnswers": [
    {
      "Rank": 1,
      "OtherText": "sample string 2"
    },
    {
      "Rank": 1,
      "OtherText": "sample string 2"
    },
    {
      "Rank": 1,
      "OtherText": "sample string 2"
    }
  ],
  "QuestionId": "fc7da0b2-87fb-4ebe-998a-c1eb26831d3e",
  "VoterId": "f2956402-6b1f-49fb-b00c-e9f2a27ff753",
  "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>5b89c68c-6a62-4ede-ac8c-70f2e32ac6eb</d2p1:guid>
    <d2p1:guid>381dc48e-b320-4d69-875b-12f014659f33</d2p1:guid>
    <d2p1:guid>326edf70-890f-4d46-8266-ac386a082a8d</d2p1:guid>
  </AnswerIds>
  <OpenText>sample string 3</OpenText>
  <QuestionId>fc7da0b2-87fb-4ebe-998a-c1eb26831d3e</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>f2956402-6b1f-49fb-b00c-e9f2a27ff753</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.