Endpoint Upload Attachment (Single file)
Name
post_attachment
Description
Upload files to Zendesk which can be used as attachment later. [API reference]
Parameters
| Parameter | Required | Options |
|---|---|---|
|
Name:
Label: File Name File name for display purpose |
YES | |
|
Name:
Label: File Path (Local) |
YES | |
|
Name:
Label: Token for exising Upload Session Blank if creating a new upload |
Output Columns
| Label | Data Type (SSIS) | Data Type (SQL) | Length | Description |
|---|---|---|---|---|
| token |
DT_WSTR
|
nvarchar(100)
|
100 | |
| expires_at |
DT_DBTIMESTAMP
|
datetime
|
||
| attachment_id |
DT_I8
|
bigint
|
||
| attachment_file_name |
DT_WSTR
|
nvarchar(255)
|
255 | |
| attachment_content_url |
DT_WSTR
|
nvarchar(500)
|
500 | |
| attachment_url |
DT_WSTR
|
nvarchar(500)
|
500 | |
| attachment_content_type |
DT_WSTR
|
nvarchar(100)
|
100 | |
| attachment_size |
DT_I8
|
bigint
|
||
| attachment_height |
DT_I4
|
int
|
||
| attachment_width |
DT_I4
|
int
|
||
| attachment_deleted |
DT_BOOL
|
bit
|
||
| attachment_inline |
DT_BOOL
|
bit
|
||
| attachment_thumbnail_id |
DT_I8
|
bigint
|
||
| attachment_thumbnail_file_name |
DT_WSTR
|
nvarchar(255)
|
255 | |
| attachment_thumbnail_content_url |
DT_WSTR
|
nvarchar(500)
|
500 | |
| attachment_thumbnail_url |
DT_WSTR
|
nvarchar(500)
|
500 | |
| attachment_thumbnail_content_type |
DT_WSTR
|
nvarchar(100)
|
100 | |
| attachment_thumbnail_size |
DT_I8
|
bigint
|
||
| attachment_thumbnail_height |
DT_I4
|
int
|
||
| attachment_thumbnail_width |
DT_I4
|
int
|
||
| attachment_thumbnail_deleted |
DT_BOOL
|
bit
|
||
| attachment_thumbnail_inline |
DT_BOOL
|
bit
|
If the column you are looking for is missing, consider customizing Zendesk Connector.
Input Columns
| Label | Data Type (SSIS) | Data Type (SQL) | Length | Description | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| There are no Static columns defined for this endpoint. This endpoint detects columns dynamically at runtime. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Examples
SSIS
Use Zendesk Connector in API Source or in API Destination SSIS Data Flow components to read or write data.
API Source
API Source - Zendesk
Zendesk Connector can be used to integrate Zendesk REST API in your App / BI Tools. You can read/write data about Tickets, Activity, Users, Organizations and more.
Zendesk
Upload Attachment (Single file)
| Required Parameters | |
|---|---|
| File Name | Fill-in the parameter... |
| File Path (Local) | Fill-in the parameter... |
| Optional Parameters | |
| Token for exising Upload Session | |
| EnableArrayFlattening | True |
API Destination
API Destination - Zendesk
Zendesk Connector can be used to integrate Zendesk REST API in your App / BI Tools. You can read/write data about Tickets, Activity, Users, Organizations and more.
Zendesk
Upload Attachment (Single file)
| Required Parameters | |
|---|---|
| File Name | Fill-in the parameter... |
| File Path (Local) | Fill-in the parameter... |
| Optional Parameters | |
| Token for exising Upload Session | |
| EnableArrayFlattening | True |
ODBC application
Use these SQL queries in your ODBC application data source:
Upload attachment
SELECT * FROM post_attachment
WITH
(
"filename" = 'abcd-1234-filename',
"path" = 'abcd-1234-path'
)
SQL Server
Use these SQL queries in SQL Server after you create a data source in Data Gateway:
Upload attachment
DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT * FROM post_attachment
WITH
(
"filename" = ''abcd-1234-filename'',
"path" = ''abcd-1234-path''
)';
EXEC (@MyQuery) AT [LS_TO_ZENDESK_IN_GATEWAY];