Servicenowconnector v1.0

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

headers

Additional HTTP header name/value pairs to include in the request.

Sys Id

(Required)

Response Type

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

headers

Additional HTTP header name/value pairs to include in the request.

Sys Id

(Required)

Response Type

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

headers

Additional HTTP header name/value pairs to include in the request.

Sys Id

(Required)

Response Type

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

headers

Additional HTTP header name/value pairs to include in the request.

Table Sys Id

(Required)

File Name

(Required)

Response Type

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

headers

Additional HTTP header name/value pairs to include in the request.

Sysparm Query

Encoded query string to filter attachments, for example "table_name=incident".

Sysparm Offset

Starting record index for paginated results.

Sysparm Limit

Maximum number of records to return in the response.

Response Type

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

Content Type

The content type of the request payload sent to the API (e.g. application/json).

headers

Additional HTTP header name/value pairs to include in the request.

Table Name

Name of the table where the attachment will be stored, such as "incident".

Table Sys Id

Sys ID of the record to attach the file to.

File Name

Name to assign to the uploaded file, including extension.

Response Type

The response format expected from the API (e.g. application/json).

Options (1)

Option Name

Description

File

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

headers

Additional HTTP header name/value pairs to include in the request.

Response Type

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

HTTP method to use for the download request, such as "GET".

Download Url

Full URL of the asset to download.

Asset Name

Name to save the downloaded file as in the system.

Try Count

Number of times to retry the download on failure.

Read Timeout (seconds)

Maximum seconds to wait for data after connection.

Connection Timeout (seconds)

Maximum seconds to wait for the initial connection.

Load File Content As Output

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.

Follow Redirects

Enable or disable following URL redirects. If it is enabled, it will follow the URL redirects.

headers

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

headers

Additional HTTP header name/value pairs to include in the request.

Tablename

Name of the ServiceNow table, such as "incident" or "change_request".

Recordid

Sys ID of the specific record to retrieve.

Response Type

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

Content Type

The content type of the request payload sent to the API (e.g. application/json).

headers

Additional HTTP header name/value pairs to include in the request.

Tablename

Name of the ServiceNow table containing the record.

Recordid

Sys ID of the record to update.

Response Type

The response format expected from the API (e.g. application/json).