CreateArticleAttachment
Creates an attachment for an 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 | Long | True | False | The Id of the associated article. |
| Locale | String | False | False | The locale in which the article attachment is displayed. |
| FileLocation | String | False | False | File to upload. |
| FileName | String | False | False | The name of the file to upload when 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 | Returns true if the attachment is successfully created for the article. |