POST api/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": [
"45749c6e-1919-46bb-a763-efed7101fcf8",
"630f57be-9ec5-4ae2-af25-a6a3dfe7c9f1",
"292209a4-8f1c-4943-afaf-3ef2c192748c"
],
"RankedAnswers": [
{
"Rank": 1,
"OtherText": "sample string 2"
},
{
"Rank": 1,
"OtherText": "sample string 2"
},
{
"Rank": 1,
"OtherText": "sample string 2"
}
],
"QuestionId": "31d09e52-aaa2-4dab-a583-20d6aae42416",
"VoterId": "e5b5aee2-946d-4e81-8fe9-8b6bffd18f4f",
"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>45749c6e-1919-46bb-a763-efed7101fcf8</d2p1:guid>
<d2p1:guid>630f57be-9ec5-4ae2-af25-a6a3dfe7c9f1</d2p1:guid>
<d2p1:guid>292209a4-8f1c-4943-afaf-3ef2c192748c</d2p1:guid>
</AnswerIds>
<OpenText>sample string 3</OpenText>
<QuestionId>31d09e52-aaa2-4dab-a583-20d6aae42416</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>e5b5aee2-946d-4e81-8fe9-8b6bffd18f4f</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.