Configurations to use Workday REST API
Configure your ServiceNow instance to perform actions that use the Workday REST API.
Vorbereitungen
- 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
Warum und wann dieser Vorgang ausgeführt wird
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.
Vorbereitungen
Role required: admin
Prozedur
Generate token URL for Workday HR spoke
Register API client in your Workday account and generate a token URL for Workday HR spoke.
Vorbereitungen
Role required: admin
Prozedur
Ergebnisse
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.
Vorbereitungen
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.
Vorbereitungen
- Role required: admin
- Register Workday HR as an OAuth provider
Prozedur
Ergebnisse
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.
Vorbereitungen
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.
Vorbereitungen
Role required: admin.
Prozedur
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.
Vorbereitungen
Role required: admin.