CreateArticleAttachment
Creates an attachment for the specified article.
Stored Procedure Specific Information
Zendesk allows only a small subset of columns to be used in the Exec query. These columns can typically be used with only = comparison.
For example:
EXECUTE CreateArticleAttachment FileLocation ='D:/Desktop/Test.png', ArticleId='18214155815057'
Input
Name | Type | Required | Accepts Input Streams | Description |
ArticleId | Integer | True | False | The Id of the associated article. |
Locale | String | False | False | The locale that the article attachments is being displayed in. |
FileLocation | String | False | False | File to upload. |
FileName | String | False | False | Name of the file. If content is not empty. |
Content | String | False | True | The content as InputStream to be uploaded when FileLocation is not specified. |
Result Set Columns
Name | Type | Description |
Success | String | True if the the attachment is attached to the article successfully. |