> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bijection.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Workday HCM

> Read a tenant's Workday report, Staffing worker summaries or SOAP worker references at an mount's `data` label.

Use a [protected REST mount](https://docs.bijection.com/integrations/native-rest.md#protected-saas-mounts)
and a separate `providerEndpoint` for each mode. Copy the origin and path
from the intended Workday tenant and environment. Use that tenant's
integration user or OAuth grant and security domains.

### Report-as-a-Service

Bind the report's JSON web-service path
`/ccx/service/customreport2/<tenant>/<owner>/<report>` on the origin from
Workday's report URL. Enable the custom report as a web service and expose
the text aliases `Worker_ID`, `Worker_Name` and `Job_Title` in flat
report rows. Use a report that runs without prompts, with a unique
`Worker_ID` per row. Seal a report reader's Basic or OAuth credential.
For Basic, seal the Base64 encoding of `user@tenant:password`.

Initialize with `{ mode: "provider", provider: "workday.raas.workers.observations", limit: 100 }`
as the profile. The app requests JSON and lands only those three aliases
from `Report_Entry`, keyed by `Worker_ID`. The full report must fit in
one response and the mode has no provider cursor. Rows absent from a later
report remain published.

### Staffing REST

Bind the tenant's `/ccx/api/staffing/v7/<tenant>/workers` path. Use OAuth2
with the token endpoint for that tenant and a sealed client secret and
refresh token, or seal a current bearer token and arrange its renewal.

Initialize with `{ mode: "provider", provider: "workday.staffing.workers.observations", limit: 10 }`.
The feed lands worker `id` and `descriptor` only. The offset starts at zero
and advances by the number of returned records until it reaches Workday's
`total`. Each sweep is an observation of mutable data. Missing workers
stay published.

### Human Resources SOAP

Bind `/ccx/service/<tenant>/Human_Resources/v45.1` on the origin from
the tenant's Workday Web Services URL. Seal one JSON credential containing
`username` as `user@tenant` and `password`. Use
`{ kind: "multiSecret", bindings: [{ kind: "saasBody", profile: "workdayWorkers", secret: wwsLogin }] }`.
The receiver constructs the fixed `Get_Workers` request and adds the
WS-Security UsernameToken before dispatch.

Initialize with `{ mode: "provider", provider: "workday.soap.workers.observations", limit: 10 }`.
The feed lands `id` from the worker WID and the `employeeId` or
`contingentWorkerId` when present. It validates the returned page and count,
advances to the reported final page, then starts another sweep at page one.
Missing workers stay published.

[Workday SOAP API directory](https://community-content.workday.com/en-us/public/products/platform-and-product-extensions/soap-api-reference.html)

[Workday REST API Explorer](https://developer.workday.com/documentation/GUID-6c547385-848b-4005-ab2e-632f1d6b5688)

## Organizations, positions, compensation, time off and financials

Use one [declared REST resource](https://docs.bijection.com/integrations/native-rest.md#feed-contracts)
per mode. Bind `declaredResourceEndpoint` as `receivers.resource` with the
protected `data` label and a sealed credential for that Workday tenant.
Use OAuth2 or a sealed bearer for REST and Basic or OAuth for RaaS.
Use a web-service enabled, unprompted custom report with unique text
keys and flat aliases for each RaaS mode.

For each route, declare `selection` as
`{ provider: "workday", resource: "<exact mode>", origin, path }`. Use
the same selection in the endpoint and the source's
`{ profile: { mode: "declared", selection, limit, keys, fields } }`.
Declare the single key from the table in `keys` and include it in
`fields` as a string. Each entry in `fields` declares `name`, `path` and
`type`. For example, use
`{ name: "controlTotal", path: ["controlTotalAmount", "value"], type: "decimal", optional: true }`
for a supplier invoice total. Mark optional provider fields as optional.

| Mode | Fixed path and key | Fields available to land |
| - | - | - |
| `workday.staffing.organizations.observations` | `/ccx/api/staffing/v7/<tenant>/supervisoryOrganizations`, key `id` | `id`, `code`, `inactive`, `name`, `descriptor`, `Organization_Reference_ID`. |
| `workday.raas.positions.observations` | Fixed RaaS path shown above, key `Position_ID` | `Position_ID`, `Position_Title`, `Organization_ID`, `Worker_ID`, `Status`, `Effective_Date`. |
| `workday.raas.compensation.observations` | Fixed RaaS path, key `Compensation_Record_ID` | `Compensation_Record_ID`, `Worker_ID`, `Position_ID`, `Effective_Date`, `Amount`, `Currency`, `Frequency`, `Plan`. |
| `workday.raas.time-off.observations` | Fixed RaaS path, key `Time_Off_ID` | `Time_Off_ID`, `Worker_ID`, `Time_Off_Type`, `Date`, `Quantity`, `Unit`, `Status`. |
| `workday.raas.journals.observations` | Fixed RaaS path, key `Journal_ID` | `Journal_ID`, `Journal_Number`, `Company_ID`, `Ledger`, `Accounting_Date`, `Status`, `Currency`, `Debit_Total`, `Credit_Total`. |
| `workday.accounts-payable.supplier-invoices.observations` | `/ccx/api/accountsPayable/v1/<tenant>/supplierInvoiceRequests`, key `id` | `id`, `descriptor`, `requestNumber`, `suppliersInvoiceNumber`, `invoiceDate`, `dueDate`, `referenceNumber`, `supplier.id`, `company.id`, `currency.id`, `status.id`, `status.descriptor`, `controlTotalAmount.value`, `controlTotalAmount.currency`, `taxAmount.value`, `taxAmount.currency`. |

The two REST collections walk the live offset until they reach Workday's
`total` and restart at zero. RaaS polls a single `Report_Entry` response
without a provider cursor. All require 1–100 configured rows and a
36 KiB answer. Workday can change records during a sweep. Missing
records stay published.

## Workday writes

Use [providerWriter](https://docs.bijection.com/integrations/native-rest.md#native-provider-writes), the
Workday HTTPS origin and a sealed bearer or OAuth2 credential at the
protected label. Grant the service and business process permissions
for the specific request. Pass one writer per mode in `receivers.writers` and use a create
command with one Workday JSON object up to 24 KiB.

| Mode | Scope and evidence |
| - | - |
| `workday.staffing.organization-assignments.create` | `[tenant, workerWID]`. Starts the worker's organization assignment change and retains its event `id`. |
| `workday.staffing.position-assignments.create` | `[tenant]`. Creates the organization assignment event for a position specified by the request, including an unfilled position. Retains the event `id`. |
| `workday.staffing.job-changes.create` | `[tenant, workerWID]`. Creates a job change request using the provider's start details and retains its event `id`. |
| `workday.compensation.one-time-payments.create` | `[tenant, workerWID]`. Requests a one-time payment and retains the event `id`. |
| `workday.absence.time-off.create` | `[tenant, workerWID]`. Requests one day under the configured business process. Evidence is the returned `days[0].id`. |
| `workday.accounts-payable.supplier-invoices.create` | `[tenant]`. Creates a supplier invoice request and retains its resource `id`. |

The writer retains the status and ID from HTTP 201. A created event or
invoice request has its own Workday approval and submission lifecycle.
These modes do not automatically submit draft Staffing or invoice
requests. Commands dispatch once under exact keys and carry no read cursor.

[Workday REST Directory and service schemas](https://community.workday.com/sites/default/files/file-hosting/restapi/index.html)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.