Workday REST

Overview

The Workday REST Snap connects to Workday REST APIs using the OpenAPI specification specified for the service.

This Snap identifies the REST APIs using the OpenAPI specification and connects to endpoints under the selected service.

This Snap supports Workday Prism Public API v3. However, to use the Workday Prism, you must add the Workday Prism Analytics (v3) as the Scope in the Workday portal when registering the API client.

This Snap also supports:

  • Standard REST operations (GET, POST, PUT, and PATCH) and a few enhancements from the traditional APIs, including better object models and better performance with faster API query responses.
  • Authentication mechanisms such as OAuth2.0.


Prerequisites

  • A valid account with the required permissions.
  • Data to query and Workday access to the specified objects. Contact your organization's Workday Security Administrator for appropriate access.

Limitations

  • This Snap does not support specific Unicode, Special, and UTF-8 byte characters because of the API limitation. This Snap produces an unexpected preview in the output when you pass input data with special or Unicode characters.

Snap views

Type Description Examples of upstream and downstream Snaps
Input

This Snap has at most one document input view.

A document that conforms to the input view schema of the Snap. The input view schema is provided to an upstream Mapper Snap based on the selected service object.

Output

This Snap has exactly one document output view.

A document that represents the record structure of the retrieved Workday service object. Each record is represented as one document on the output view.

Learn more about Error handling.

Snap settings

Legend:
  • Expression icon (): Allows using pipeline parameters to set field values dynamically (if enabled). SnapLogic Expressions are not supported. If disabled, you can provide a static value.
  • SnapGPT (): Generates SnapLogic Expressions based on natural language using SnapGPT. Learn more.
  • Suggestion icon (): Populates a list of values dynamically based on your Snap configuration. You can select only one attribute at a time using the icon. Type into the field if it supports a comma-separated list of values.
  • Upload : Uploads files. Learn more.
Learn more about the icons in the Snap settings dialog.
Field/Field set Description
Label

String

Specify a unique name for the Snap. Modify this to be more appropriate, especially if more than one of the same Snaps is in the pipeline.

Default value: Workday REST

Example: Onboarding newhires

Service

String/Expression/ Suggestion
Required. Specify or select the Workday Service to connect to Workday.

Default value: N/A

Example: Compensation

Version

String/Expression/ Suggestion
Required. Select the version corresponding to the service.

Default value: N/A

Example: v2

OpenAPI Path

String/Expression/ Suggestion
Required. Enter the path for the REST endpoint. Based on the service and version, the Snap downloads the open API specification and populates the list.

Default value: N/A

Example: /workers

Operation

String/Expression/ Suggestion
Required. Specify the operation to perform on the selected OpenAPI path or select from the suggestions list. The available options are:
  • GET: Reads and retrieves content and data.
  • POST: Creates a new resource with a new ID.
  • PUT: Updates and replaces the existing resources.
  • PATCH: Updates and modifies the resources. PATCH operation only modifies the content of the resources and does not entirely replace the resources.
  • DELETE: Entirely deletes the resources.

Default value: N/A

Example: get

Number of Retries

Integer/Expression
Specify the maximum number of retry attempts for the operation. The Snap retries on connection failures (network errors) and on transient HTTP responses: 429 (Rate Limit), 401 (Unauthorized), and 5xx server errors. Setting this value to 0 disables retries, ensuring backward compatibility.

Default value: 0

Example: 3

Retry Interval (seconds)

Integer/Expression
Specify the fixed delay in seconds between retry attempts when no Retry-After header is present. When the server returns a Retry-After header on a retryable response, the Snap waits for the server-specified duration instead, capped at 300 seconds.

Default value: 1

Example: 2

HTTP Headers

Fieldset
Use this field set to add additional headers to the HTTP request defined in the Workday OpenAPI specification.
Header

String/Expression
Specify a name for the HTTP header.

Default value: N/A

Example: content-type

Values

String/Expression
Specify a value to assign to the HTTP header.

Default value: N/A

Example: application/json

Pass through

Checkbox
Select this checkbox to enable the Snap to pass the input data to the downstream Snap and display in the output document.

Default value: Deselected

Enable Pagination

Checkbox
Select this checkbox to enable the Snap to return the response in multiple pages when the input document contains the limit and offset query parameters.
  • The maximum limit value of the page size is 100. The Snap fetches all records until the last page with 100 records on each page.
  • If the limit field is blank, the default limit value is 20 and the Snap displays only one page of records.

When you deselect this checkbox, the Snap limits the number of output documents to 100, with only one page of records.

Default value: Selected

Snap execution

Dropdown list
Choose one of the three modes in which the Snap executes. Available options are:
  • Validate & Execute. Performs limited execution of the Snap and generates a data preview during pipeline validation. Subsequently, performs full execution of the Snap (unlimited records) during pipeline runtime.
  • Execute only. Performs full execution of the Snap during pipeline execution without generating preview data.
  • Disabled. Disables the Snap and all Snaps that are downstream from it.

Error handling and retry behavior

When Number of Retries is greater than 0, the Snap retries the operation on the following transient HTTP responses:

  • HTTP 429 (Rate Limit) — the server is rate-limiting the request.
  • HTTP 401 (Unauthorized) — the server rejected the credentials.
  • HTTP 5xx (500, 502, 503, and similar) — server-side errors.

The Snap also retries on connection failures (network errors and IOExceptions).

When the server includes a Retry-After header on a retryable response, the Snap honors the specified wait time (in seconds or HTTP-date format), capped at a maximum of 300 seconds. If no Retry-After header is present, the Snap waits for the duration configured in Retry Interval (seconds).

Client errors such as HTTP 400, 403, and 404 are not retried and route immediately to the error view or fail the pipeline.

Troubleshooting

Error Cause Resolution
403 Error: Unauthorized user. The permissions are insufficient. Ensure that you assign the required permissions and retry.