POST Project/setAnswers/{id}
No documentation available.
Request Information
Parameters
| Name | Description | Additional 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": [
"207712f4-0a5b-4f6c-9bc4-373b7af4a65c",
"e6f527d1-4d87-4cb9-956d-68042be6aea9",
"271329ce-8cfe-4e0b-a17e-96e138791c94"
],
"RankedAnswers": [
{
"Rank": 1,
"OtherText": "sample string 2"
},
{
"Rank": 1,
"OtherText": "sample string 2"
},
{
"Rank": 1,
"OtherText": "sample string 2"
}
],
"QuestionId": "fe16ec14-9779-4b2f-b31e-1645b221cc9f",
"VoterId": "de158e01-c280-4bfa-8049-d501a2c1e799",
"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>207712f4-0a5b-4f6c-9bc4-373b7af4a65c</d2p1:guid>
<d2p1:guid>e6f527d1-4d87-4cb9-956d-68042be6aea9</d2p1:guid>
<d2p1:guid>271329ce-8cfe-4e0b-a17e-96e138791c94</d2p1:guid>
</AnswerIds>
<OpenText>sample string 3</OpenText>
<QuestionId>fe16ec14-9779-4b2f-b31e-1645b221cc9f</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>de158e01-c280-4bfa-8049-d501a2c1e799</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.