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": [
"57e19f3b-3bbf-441c-9034-697219ef1de9",
"b6c01c02-4b1a-4147-8768-6f7f38a4af03",
"4caba204-5bad-42d7-b4cc-0e6211c8c251"
],
"RankedAnswers": [
{
"Rank": 1,
"OtherText": "sample string 2"
},
{
"Rank": 1,
"OtherText": "sample string 2"
},
{
"Rank": 1,
"OtherText": "sample string 2"
}
],
"QuestionId": "cf968efc-41f9-4ec3-8c4c-2d2507faa53f",
"VoterId": "3cb8581c-e54c-4871-99d9-933463dc4064",
"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>57e19f3b-3bbf-441c-9034-697219ef1de9</d2p1:guid>
<d2p1:guid>b6c01c02-4b1a-4147-8768-6f7f38a4af03</d2p1:guid>
<d2p1:guid>4caba204-5bad-42d7-b4cc-0e6211c8c251</d2p1:guid>
</AnswerIds>
<OpenText>sample string 3</OpenText>
<QuestionId>cf968efc-41f9-4ec3-8c4c-2d2507faa53f</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>3cb8581c-e54c-4871-99d9-933463dc4064</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.