The purpose of this API is to create a poll in a Zoho Connect network.
Request URL: | https://connect.zoho.com/pulse/api/addPoll |
OAuth Scope: | zohopulse.feedList.CREATE |
Request Method: | POST |
Mandatory Header: | Header name: Authorization Header Value: Zoho-oauthtoken d92d401c803988c5cb849d0b4215f52 |
Parameters
Name | Description | Required |
scopeID | Network in which the poll is to be posted. You can get this from the network list API. | Required |
partitionId | It can either be the Group/Company wall/User's partition id. By default, the user partition ID is taken. | Optional |
question | A question for the poll. | Required |
textOptions | Text options for the poll, separated by a comma. | Required |
imageIds | Image Options for the Poll, separated by a comma. Upload files using uploadFiles API and return the fields. You can add up to 10 images to a poll. | Optional |
allowMultiple | Allow members to vote for multiple options. You can set this as either true or false. | Optional |
voteDisplayType | Either (0 | 1 | 2). 0 represents DEFAULT, 1 represents SHOW_AFTER_VOTE, 2 represents SHOW_AFTER_ADMIN_APPROVAL. | Required |
canEditVote | Set this as true or false depending on whether you want members to edit their choice. | Optional |
canDeclareResult | Set this as true or false depending on whether you want the poll closed and the results declared. | Optional |
endYear | End Year for the poll. ex) 2019 | Optional |
endMonth | End Month for the poll. ex) 08 | Optional |
endDate | Days left for the poll to expire. ex) 21 | Optional |
endHour | Hour(s) for the poll to expire. This should be in the 24hr format ex) 20 | Optional |
endMin | Minutes for the poll to expire. ex) 18 | Optional |
Sample URL
Copied
Sample Response
Copied
Show full
Show less