Configurations to use Workday REST API
Configure your ServiceNow instance to perform actions that use the Workday REST API.
Antes de Iniciar
- Request an Integration Hub subscription.
- Activate Workday HR spoke.
- From Workday, obtain these values and record them for later use. These values are
need to register your client:
- Client ID
- Client Secret
- Workday REST API Endpoint
- Token Endpoint
- Authorization Endpoint
- Role required: admin
Por Que e Quando Desempenhar Esta Tarefa
Workday REST and Report-as-a-Service (RAAS) API works with OAuth 2.0 to authorize access to resources in your Workday tenant. To use OAuth 2.0, you must register your client in the tenant, using the Register API Client task.
- Get My Reporting Structure
- Look up Object Custom Fields
- Update Object Custom Fields
- Look up Payslip
- Look up Total Rewards Using Report
- Look up Custom Reports
- Look up Inbox Items
- Look up Merit And Benefit Plan Details Of An Employee
- Look up Holiday Calendars Reference WID Of An Employee
- Look up Schedule Calendars Reference WID Of An Employee
- Look up Holiday Calendars Of An Employee
- Look up using WQL Stream
Register Workday HR as an OAuth provider
Register the Workday HR instance as the OAuth provider so that the ServiceNow instance can request OAuth 2.0 tokens.
Antes de Iniciar
Role required: admin
Procedimento
Generate token URL for Workday HR spoke
Register API client in your Workday account and generate a token URL for Workday HR spoke.
Antes de Iniciar
Role required: admin
Procedimento
Resultado
Copy and store the generated Token Endpoint value for configuring system property.
Option 1: Configuration to use Workday HR REST API with a template
Configure your ServiceNow instance to perform actions that use the Workday HR REST API using an OAuth authorization template.
Antes de Iniciar
Role required: admin
Configure a connection for Workday HR REST API
Add and configure a Workday HR REST API connection to authenticate ServiceNow requests in Workday HR spoke.
Antes de Iniciar
- Role required: admin
- Register Workday HR as an OAuth provider
Procedimento
Resultado
The spoke connection is configured and ready to be used.
Option 2: Configuration to use Workday HR REST API without a Template
Configure your ServiceNow instance to perform actions that use the Workday HR REST API by manually creating connection and credential records.
Antes de Iniciar
Role required: admin
Create a credential record for the Workday HR spoke
Create a credential record for the Workday HR instance. The Workday HR spoke connection and credential alias uses these credentials to authorize actions.
Antes de Iniciar
Role required: admin.
Procedimento
Create a connection record for the Workday HR spoke
Create a connection record for your Workday HR instance. The Workday HR spoke connection and credential aliases use these connections to perform actions in Workday HR.
Antes de Iniciar
Role required: admin.