Additional Attributes of REST API
The Oracle HCM Cloud source supports aggregation of additional attributes from the Oracle Fusion HCM Workers API during get object operation.
To add additional attributes of rest API, follow the below given steps as mentioned:
-
Add the attribute name in the Account Schema.
-
Apply appropriate JSON path query for the attribute. Refer to the JSON Path Mapping to add JSON path for attribute mapping.
-
Using REST, ensure the attribute are also added in the Workers API Additional Fields.
Key: connector_workersAPIAdditionalFields
Note
Values should be valid JSON path.Case 1: Suppose you want to aggregate
AssignmentNameusing the JSON path given below:workRelationships..assignments[?(@.PrimaryAssignmentFlag==true && @.AssignmentType=='E' && @.PrimaryFlag==true)].AssignmentName
In this scenario, you need to mention
AssignmentNameas well as those attributes on which JSON path conditions are applied, ( such asPrimaryAssignmentFlag, AssignmentType,and PrimaryFlag) in the Workers API Additional Fields as shown below:workRelationships.assignments:AssignmentName,PrimaryAssignmentFlag,AssignmentType,PrimaryFlag