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": [
"388462ff-d131-4f53-843a-825d4443ca2d",
"3733ba6f-2556-42cb-938a-7d7a5178c6dd",
"ca4e7e95-491c-48a7-885b-0bae5423b2b8"
],
"RankedAnswers": [
{
"Rank": 1,
"OtherText": "sample string 2"
},
{
"Rank": 1,
"OtherText": "sample string 2"
},
{
"Rank": 1,
"OtherText": "sample string 2"
}
],
"QuestionId": "1ea756f9-c29e-4206-8211-70a0db73a38f",
"VoterId": "ff406cae-196a-4a2c-bc64-2dedb638830a",
"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>388462ff-d131-4f53-843a-825d4443ca2d</d2p1:guid>
<d2p1:guid>3733ba6f-2556-42cb-938a-7d7a5178c6dd</d2p1:guid>
<d2p1:guid>ca4e7e95-491c-48a7-885b-0bae5423b2b8</d2p1:guid>
</AnswerIds>
<OpenText>sample string 3</OpenText>
<QuestionId>1ea756f9-c29e-4206-8211-70a0db73a38f</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>ff406cae-196a-4a2c-bc64-2dedb638830a</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.