Updates one goal for an employee and returns the updated goal as an object with a single goal property. Milestones appear on that object only when the goal has them. Setting progress to 100 percent can email the employee that the goal was completed. A caller who cannot edit the goal, including when the goal is closed, receives 403 and the goal is left unchanged. Cascading goals are not supported and return 400.
Use this for editing a goal's details, progress, and milestones together. For percent complete on a goal with no milestones, use Update Goal Progress (update-goal-progress) instead. For marking one milestone complete or incomplete, use Update Milestone Progress (update-goal-milestone-progress) instead. For replacing only the share list, use Update Goal Sharing (update-goal-sharing) instead.
Pass the internal employee ID from Employees > List Employees (list-employees). Employee # (employeeNumber) may target a different employee. Goal ids come from List Goals (list-goals). Alignment option ids come from Get Alignable Goal Options (get-alignable-goal-options). Employees the goal can be shared with come from List Goal Sharing Options (list-goal-share-options).
Note: Compared to Update Goal (v1) (update-goal-v1), this version can add, rename, and delete milestones. An omitted description or alignment keeps the stored value. milestonesEnabled turns milestones on, deletes them when false, or leaves milestones and progress unchanged when omitted.
OAuth Scopes: goal.write
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
