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": [
"5664ef61-3472-474a-8ab2-4fb25c8804e7",
"3e115ef6-b3d5-4db7-90fd-383886f8efc5",
"b97d4914-b8dc-4b74-94b5-612700c182e8"
],
"RankedAnswers": [
{
"Rank": 1,
"OtherText": "sample string 2"
},
{
"Rank": 1,
"OtherText": "sample string 2"
},
{
"Rank": 1,
"OtherText": "sample string 2"
}
],
"QuestionId": "628d5248-be5c-4bc4-8cac-18063b4ec985",
"VoterId": "8b859e96-86fa-4881-a4eb-e6c6814dc06d",
"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>5664ef61-3472-474a-8ab2-4fb25c8804e7</d2p1:guid>
<d2p1:guid>3e115ef6-b3d5-4db7-90fd-383886f8efc5</d2p1:guid>
<d2p1:guid>b97d4914-b8dc-4b74-94b5-612700c182e8</d2p1:guid>
</AnswerIds>
<OpenText>sample string 3</OpenText>
<QuestionId>628d5248-be5c-4bc4-8cac-18063b4ec985</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>8b859e96-86fa-4881-a4eb-e6c6814dc06d</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.