Actions28
- Absence Actions
- Calendar Actions
- Department Actions
- Employee Actions
- Job Actions
- Journey Actions
- Learning Actions
- Worker Actions
- Worker Assignment Actions
- Worker Phone Actions
- Worker Photo Actions
- Worker Report Actions
Worker Report → Get All Reports Departments
AI-generatedSummary
Retrieve all departments associated with reports of a specified worker assignment in Oracle Fusion HCM.
Inputs
- Authentication — Choose between Basic Auth or JWT for API authentication; the default is JWT (recommended).
- Worker ID (required) — The ID of the worker (PersonId) whose reports' departments are being fetched.
- Assignment ID (required) — The ID of the assignment related to the worker.
- Return All — Whether to return all departments or limit the number of results.
- Limit — Maximum number of department results to return when Return All is false (minimum 1, maximum 500; default is 50).
Output shape
a single JSON object containing a list of departments associated with the reports of the specified worker assignment.
The operation returns all departments of reports related to the given workerId and assignmentId. The result can be paginated using Return All and Limit parameters. It requires both Worker ID and Assignment ID inputs.
Examples
Example 1: Fetch up to 100 departments of all reports assigned to worker 12345 and assignment 67890.
Set Worker ID to '12345', Assignment ID to '67890', set Return All to false, and Limit to 100.