UploadUserImage
Uploads an image to a help center instance on behalf of an end user. Returns the image path that can be used to display the image in a community post.
Stored Procedure-Specific Information
Zendesk allows only a small subset of columns to be used in the Exec query. These columns can typically only be used with the = operator. This operation is allowed for logged-in users with the "agent/end user/anonymous user" role.
For example:
EXECUTE UploadUserImage BrandId ='19128157751697', FileLocation = 'D:\Desktop\Test.png'
Input
| Name | Type | Required | Accepts Input Streams | Description |
| BrandId | String | True | False | The Id of the brand to which the image is uploaded. |
| FileLocation | String | False | False | The path to the file to upload. |
| FileName | String | False | False | The name of the file. Required if Content is specified. |
| Content | String | False | True | The content as InputStream to be uploaded when FileLocation is not specified. |
Result Set Columns
| Name | Type | Description |
| Success | String | Returns true if the image is uploaded successfully. |