You use a REST API in Oracle Fusion HCM to read and write HR data from outside the Fusion application. A REST API is a web interface that lets another program send requests over HTTPS and get structured data back, usually in JSON. For HCM, that means you can pull a worker record, post a new hire, or update an assignment from a script, a reporting tool, or another system instead of clicking through the Fusion screens.

A concrete example: a request to the workers endpoint returns a worker's name, person number, assignments, and legislative data as a JSON object. Your script reads that object, compares it with a payroll file, and flags mismatches. No screen is opened; the data moves between systems.

What does a REST API actually do in Oracle Fusion HCM?

Oracle Fusion exposes its HCM data through REST resources. Each resource has a URL, such as one for workers, one for assignments, one for absences, and one for payroll elements. You send an HTTP method to that URL: GET to read, POST to create, PATCH or PUT to update, DELETE to remove.

The response comes back as JSON. A worker record typically includes the person number, display name, date of birth, and a link to the worker's assignments. An assignment record includes the job, position, department, location, and effective dates. Because the data is structured, a program can read a field by name rather than parsing a screen.

Authentication is the part that trips people up. Fusion REST calls need a valid identity, and the identity needs the privilege to see the resource. The common routes are OAuth 2.0 or basic authentication with a dedicated integration user. The integration user must be granted the roles that expose the HCM REST resources you need. A user who can see a worker in the Fusion UI may still get a 403 error from the API if the role does not include the REST privilege.

Labels and menu names can differ between Fusion versions, so confirm the exact resource path in your own environment before you build against it.

How is this different from SOAP web services or HCM Extracts?

Fusion HCM offers three main integration routes, and they are often confused. REST is the lightweight, JSON-based option for real-time, record-level calls. SOAP web services use XML and are heavier but cover some operations REST does not. HCM Extracts are batch jobs that produce a file, often a CSV or XML, on a schedule.

  • REST: real-time, one record or a small page at a time, JSON, good for syncing a single change.
  • SOAP: real-time, XML, broader operation coverage in some areas, more setup.
  • HCM Extracts: scheduled batch, file output, good for a full population or a recurring report.

A common misconception is that REST replaces Extracts. It does not. REST is poor at pulling tens of thousands of workers in one call; it pages results, and each page is a separate request. For a full monthly feed, an Extract is usually the better fit. Use REST when you need a single record now, or a small delta.

How do you make a first REST call to HCM?

  1. Create or identify an integration user in Fusion with the roles that expose the HCM REST resources you need.
  2. Register a client application if you are using OAuth 2.0, and note the client ID and secret.
  3. Request an access token from the token endpoint, or prepare basic authentication credentials.
  4. Send a GET request to the workers resource URL with the token in the authorization header.
  5. Read the JSON response and confirm the fields you expected are present.
  6. Add query parameters to filter, select fields, and page results before you build anything larger.

Start with a single GET. If it returns 401, the identity is wrong. If it returns 403, the identity is valid but lacks the privilege. If it returns 200 but an empty list, the filter is too narrow or the user cannot see those records.

What do the common error codes mean?

A 401 means the credentials or token were rejected. Check the client ID, secret, and token expiry. A 403 means the identity authenticated but the role does not grant access to that resource. A 404 usually means the URL path is wrong for your version. A 429 means you sent too many requests too quickly; slow down and respect the rate limit.

For updates, a 400 usually means the payload is malformed or a required field is missing. Read the error body; Fusion often names the offending field. A 409 can mean a conflict, such as updating a record that changed since you read it.

What should you check before building an integration?

Confirm the resource path in your own environment, because paths and labels can differ by version. Confirm the integration user's roles expose every resource you plan to call, not just the first one. Check how the resource pages results; a large population needs a paging strategy, not one big request.

Decide whether you need real-time or batch. A single change belongs in REST; a full population belongs in an Extract. Test with a small filter first, then widen it. Log the request and response for each call so you can see what changed when something breaks.

If a call fails and you cannot see why, ask your Fusion administrator to confirm the role and the resource path. Those two checks resolve most first-time problems.