Version 1.0
Connector Overview: This page documents all 10 actions for the Servicenowconnector v1.0.
Api (7)
DELETE Delete an attachment
/api/now/attachment/{sys_id}
Delete an attachment
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
Additional HTTP header name/value pairs to include in the request. |
|
|
(Required) |
|
|
The response format expected from the API (e.g. application/json). |
GET Retrieve attachment content
/api/now/attachment/{sys_id}/file
Retrieve attachment content
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
Additional HTTP header name/value pairs to include in the request. |
|
|
(Required) |
|
|
The response format expected from the API (e.g. application/json). |
GET Retrieve attachment metadata
/api/now/attachment/{sys_id}
Retrieve attachment metadata
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
Additional HTTP header name/value pairs to include in the request. |
|
|
(Required) |
|
|
The response format expected from the API (e.g. application/json). |
GET Retrieve first attachment content by file name
/api/now/attachment/{table_sys_id}/{file_name}/file
Retrieve first attachment content by file name
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
Additional HTTP header name/value pairs to include in the request. |
|
|
(Required) |
|
|
(Required) |
|
|
The response format expected from the API (e.g. application/json). |
GET Retrieve metadata for attachments
/api/now/attachment
Retrieve metadata for attachments
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
Additional HTTP header name/value pairs to include in the request. |
|
|
Encoded query string to filter attachments, for example "table_name=incident". |
|
|
Starting record index for paginated results. |
|
|
Maximum number of records to return in the response. |
|
|
The response format expected from the API (e.g. application/json). |
POST Upload an attachment from a binary request
/api/now/attachment/file
Upload an attachment from a binary request
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
The content type of the request payload sent to the API (e.g. application/json). |
|
|
Additional HTTP header name/value pairs to include in the request. |
|
|
Name of the table where the attachment will be stored, such as "incident". |
|
|
Sys ID of the record to attach the file to. |
|
|
Name to assign to the uploaded file, including extension. |
|
|
The response format expected from the API (e.g. application/json). |
Options (1)
|
Option Name |
Description |
|---|---|
|
|
Binary file content to upload, provided as a string or base64-encoded data. |
POST Upload an attachment from a multipart form
/api/now/attachment/upload
Upload an attachment from a multipart form
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
Additional HTTP header name/value pairs to include in the request. |
|
|
The response format expected from the API (e.g. application/json). |
Download
GET Download Asset
x-oneteg-downloader-path-with-authorization
Download an asset file from a remote URL, with configurable retry and timeout settings.
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
HTTP method to use for the download request, such as "GET". |
|
|
Full URL of the asset to download. |
|
|
Name to save the downloaded file as in the system. |
|
|
Number of times to retry the download on failure. |
|
|
Maximum seconds to wait for data after connection. |
|
|
Maximum seconds to wait for the initial connection. |
|
|
This toggle enables you to load file content as the step output. Supported formats include JSON, XML, YML/YAML, CSV, TXT, and other text-based file types. Note that images, PDF files, and other binary formats cannot be loaded. Additionally, there is a file size limit for this feature; please check the logs for details. |
|
|
Enable or disable following URL redirects. If it is enabled, it will follow the URL redirects. |
|
|
Additional HTTP header name/value pairs to include in the request. |
General (2)
GET Get Record Details
/api/now/table/{tableName}/{recordId}
Get Record Details
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
Additional HTTP header name/value pairs to include in the request. |
|
|
Name of the ServiceNow table, such as "incident" or "change_request". |
|
|
Sys ID of the specific record to retrieve. |
|
|
The response format expected from the API (e.g. application/json). |
PATCH Update Record
/api/now/table/{tableName}/{recordId}
Update Record
Parameters
|
Parameter Name |
Description |
|---|---|
|
|
The content type of the request payload sent to the API (e.g. application/json). |
|
|
Additional HTTP header name/value pairs to include in the request. |
|
|
Name of the ServiceNow table containing the record. |
|
|
Sys ID of the record to update. |
|
|
The response format expected from the API (e.g. application/json). |