Records a goal's progress

Records a new attainment value for a goal, as the Update progress action does in Factorial.
Each call adds an entry to the goal's progress history and returns the updated goal.

A call made with a company API key or a company-level OAuth token must name, in author_id,
the active employee the update is recorded as. The update is authorized with that
employee's permissions, so name an employee who may update the goal, such as an admin.
A call made with a user's OAuth token is recorded as that user; author_id may be left out
or must name that user.

The request is refused with 403 when author_id is missing on a company call, does not name
an active employee of the company, names someone else on a user call, or names an employee
who may not update the goal. A goal tracked by its sub-goals cannot be updated, because its
value rolls up from them. A goal without a target value cannot be updated, and a
qualitative goal only accepts 0 (not achieved) or 100 (achieved).

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required

Id of the goal to update, refers to goals/goals endpoint

number
required

New attainment value, in the goal's unit

string

Optional note shown with the update in the progress history (maximum 2000 characters)

string

Start date of the target period to record the value on. Required when the goal has target periods; must be empty when it has none. Find the periods with goals/target_periods.

string

Id of the employee the update is recorded as, refers to employees/employees endpoint. Required with a company API key or company-level OAuth token.

Responses

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json