Allows a member to add an image in poll choice. Valid for Communifire version 6.0 and above.
Example URL: https://your-community.com/api/polls/choices/19/images
{ "IsError": false, "ResponseMessage": "Successful", "ResponseData": true }
Please Note Your content type that you pass in the header of your request should be 'application/octet-stream'.
Content-Disposition header needs to contain the image name.
Where can i select which image to upload?
Hey Michal,
That depends on how you're making the API call. Are you using an API client or using code?
Grace
using powershell
Hi Michal,You can refer this link to understand how you can attach an image using PowerShell, except the content type should be application/octet-stream.Please let me know if it works.Aparna
Please enable JavaScript to use file uploader.
is requesting access to a wiki that you have locked: https://my.axerosolutions.com/spaces/5/communifire-documentation/wiki/view/33400/rest-api-add-poll-choice-image