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": [
"bb5c692c-0c72-4855-8f3c-47a0331f37a3",
"23bfc392-726f-4a50-b5d1-4f1eabb962e9",
"bd46aedf-4e2e-4b03-890b-90101d0324ad"
],
"RankedAnswers": [
{
"Rank": 1,
"OtherText": "sample string 2"
},
{
"Rank": 1,
"OtherText": "sample string 2"
},
{
"Rank": 1,
"OtherText": "sample string 2"
}
],
"QuestionId": "b0f40809-cead-40fe-8c11-1ba6ab60e638",
"VoterId": "116f74c5-3875-4617-9d7f-568eac6c2053",
"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>bb5c692c-0c72-4855-8f3c-47a0331f37a3</d2p1:guid>
<d2p1:guid>23bfc392-726f-4a50-b5d1-4f1eabb962e9</d2p1:guid>
<d2p1:guid>bd46aedf-4e2e-4b03-890b-90101d0324ad</d2p1:guid>
</AnswerIds>
<OpenText>sample string 3</OpenText>
<QuestionId>b0f40809-cead-40fe-8c11-1ba6ab60e638</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>116f74c5-3875-4617-9d7f-568eac6c2053</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.