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": [
"ba3129bd-57df-4693-a73c-c9d6ced4cf0c",
"7bd39509-95e1-4371-8c4d-069d521d4c8f",
"feec95ba-dd66-4969-8138-f1d1fe5df434"
],
"RankedAnswers": [
{
"Rank": 1,
"OtherText": "sample string 2"
},
{
"Rank": 1,
"OtherText": "sample string 2"
},
{
"Rank": 1,
"OtherText": "sample string 2"
}
],
"QuestionId": "d042e0a9-3985-4ae0-b2b2-5ca031f2736c",
"VoterId": "6fe2d127-cc91-4800-b6ee-38f54fb433b0",
"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>ba3129bd-57df-4693-a73c-c9d6ced4cf0c</d2p1:guid>
<d2p1:guid>7bd39509-95e1-4371-8c4d-069d521d4c8f</d2p1:guid>
<d2p1:guid>feec95ba-dd66-4969-8138-f1d1fe5df434</d2p1:guid>
</AnswerIds>
<OpenText>sample string 3</OpenText>
<QuestionId>d042e0a9-3985-4ae0-b2b2-5ca031f2736c</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>6fe2d127-cc91-4800-b6ee-38f54fb433b0</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.