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": [
"11842699-db9a-4bdf-b2da-ff79af9a5cfd",
"59968e39-4d07-4f6e-bc9b-2f13a29af4f1",
"b4b13103-ed0d-4072-ae1e-d15ec422b515"
],
"RankedAnswers": [
{
"Rank": 1,
"OtherText": "sample string 2"
},
{
"Rank": 1,
"OtherText": "sample string 2"
},
{
"Rank": 1,
"OtherText": "sample string 2"
}
],
"QuestionId": "ce1206e8-bee1-4f30-9c8e-b8d8dbbff773",
"VoterId": "7e2b9d5a-fb4f-4afc-b69d-0c2269a66d98",
"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>11842699-db9a-4bdf-b2da-ff79af9a5cfd</d2p1:guid>
<d2p1:guid>59968e39-4d07-4f6e-bc9b-2f13a29af4f1</d2p1:guid>
<d2p1:guid>b4b13103-ed0d-4072-ae1e-d15ec422b515</d2p1:guid>
</AnswerIds>
<OpenText>sample string 3</OpenText>
<QuestionId>ce1206e8-bee1-4f30-9c8e-b8d8dbbff773</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>7e2b9d5a-fb4f-4afc-b69d-0c2269a66d98</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.