Skip to main content
All CollectionsWrk Action LibraryServiceNow
Perform an API call in ServiceNow
Perform an API call in ServiceNow
Wrk Product avatar
Written by Wrk Product
Updated over 4 months ago

Perform an API call in ServiceNow. Please refer to the API documentation for more details on configuration.

Application

  • ServiceNow

Inputs (what you have)

Name

Description

Data Type

Required?

Example

Connected Account

The connected account to use for the request

Connected Account

Yes

Endpoint

The URL of the API endpoint to access

Text (Long)

Yes

Method

The HTTP method to be used for the request

Text (Short)

Yes

Request headers

Additional headers to include in the request in JSON format

Text (Long)

No

Request body

The data to be included in the request body

Text (Long)

No

File

A file to be included in the request

File

No

Output response as a file?

Select this as true when your API call returns a file as an output

True/False

No

Outputs (what you get)

Name

Description

Data Type

Required?

Example

Response status code

The HTTP status code returned in the response

Number

No

Response headers

Additional information provided in the response headers

Text (Long)

No

Response body

The main content of the response

Text (Long)

No

File

Text (Short)

No

Outcomes

Name

Description

Success

This status is selected if the job has successfuly completed.

Unsuccessful

This status is selected if the job has completed unsuccesfully.

Impossible to Complete

This status is selected if the job has encountered an error and has not completed.

Requirements

  • N/A

Did this answer your question?