POST 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": [
"966d60bd-846a-4ef1-a76d-68d5252f3043",
"38c06417-fb6c-4f26-8cb7-f4c09029f629",
"d4c5f55d-0291-4c24-8ab8-e5db5aab7706"
],
"RankedAnswers": [
{
"Rank": 1,
"OtherText": "sample string 2"
},
{
"Rank": 1,
"OtherText": "sample string 2"
},
{
"Rank": 1,
"OtherText": "sample string 2"
}
],
"QuestionId": "763c4473-364b-414e-a6cf-5e30a3603157",
"VoterId": "848188c1-29c5-422d-b323-401d242bffa2",
"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>966d60bd-846a-4ef1-a76d-68d5252f3043</d2p1:guid>
<d2p1:guid>38c06417-fb6c-4f26-8cb7-f4c09029f629</d2p1:guid>
<d2p1:guid>d4c5f55d-0291-4c24-8ab8-e5db5aab7706</d2p1:guid>
</AnswerIds>
<OpenText>sample string 3</OpenText>
<QuestionId>763c4473-364b-414e-a6cf-5e30a3603157</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>848188c1-29c5-422d-b323-401d242bffa2</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.