Oracle Fusion HCM icon

Oracle Fusion HCM

Consume Oracle Fusion HCM REST API

Actions28

Worker Photo → Upload

AI-generated

Summary

Upload a new photo for a specified worker by providing the worker's ID and base64-encoded photo data.

Inputs

  • Authentication — Choose the authentication method: Basic Auth or JWT (recommended). Defaults to JWT.
  • Worker ID (required) — The unique ID of the worker (PersonId) to whom the photo belongs.
  • Photo Data (required) — Base64 encoded string of the photo data to upload.

Output shape

a single JSON object representing the server response to the photo upload request

The operation sends a POST request to the /publicWorkers/{workerId}/child/photos endpoint containing the base64 photo data. The output will be the API's JSON response. Error details are returned in the standard error envelope if the upload fails.

Examples

Example 1: Upload a photo of a worker by specifying their ID and base64 photo data

Set resource to 'Worker Photo', operation to 'Upload', enter the worker ID and provide base64 encoded photo data. Use recommended JWT authentication or basic auth as configured.

Links

Discussion