REST API to create multi Performance Goal
Hello,
We are using the REST API to create Performance Goals "hcmRestApi/resources/11.13.18.05/goalPlans/300000073563943/child/performanceGoals", and it is working as expected when creating a single goal. However, we need to add multiple goals at the same time.
When we include an array of objects containing multiple goals in the payload, the API returns a Bad Request error (You must select a goal plan in which to include this goal. (HRG-3120007)).
[ { "GoalName": "GoalTest1", "Description": "Goal Test 1", "PersonId": "300000017568633", "GoalPlanId": 300000073563943, "AssignmentId": "300000017568807", "Weighting": "10", "ReviewPeriodId": 300000073939184, "StartDate": "2026-01-01" }, { "GoalName": "GoalTest2", "Description": "Goal Test 1", "PersonId": "300000017568633", "GoalPlanId": 300000073563943, "AssignmentId": "300000017568807", "Weighting": "10", "ReviewPeriodId": 300000073939184, "StartDate": "2026-01-01" }]
Is there any supported way to create multiple performance goals in a single REST API call?