Newer Version Available

This content describes an older version of this product. View Latest

Feed-Items Polls

Used to access or vote in an existing poll.

Resource

The feedItemId must have the type PollPost.

Available versions
26.0–31.0

In version 32.0 and later, use Feed Elements Capability, Poll.

Important

Requires Chatter
Yes
HTTP methods
GET, PATCH or HEAD
Use PATCH to either vote in an existing poll, or change the current user’s vote.
Request body for PATCH
Root XML tag
<feedPoll>
Properties
Name Type Description Available Version
myChoiceId String ID of an existing choice on the feed poll. Used to specify the ID of the poll choice that the current user is voting on. 26.0–31.0
Request parameters for PATCH
Name Type Description Available Version
myChoiceId String ID of an existing choice on the feed poll. Used to specify the ID of the poll choice that the current user is voting on. 26.0–31.0
Response body
Feed Item Attachment: Poll