list_plans.
A compensation with an unpublished version stacked on it is listed with its
published version. An archived plan opens too. This is the plan-structure
counterpart to
get_statement_compensation,
which returns the calculated values on an existing statement.
A plan you can’t access reads exactly like one that doesn’t exist, so the error
never reveals anything outside your scope, a plan living in a sandbox you may
not read included.
Parameters
Response
Body
Body
True when the plan has been archived. list_plans returns archived and live
plans separately, never mixed.
How many compensations the plan holds. Open the plan with get_plan for each
compensation’s periodicity, date range and the reporting metrics it feeds,
plus the plan’s members. The rest of the calculation behind a compensation
is not exposed there — read a statement’s computed breakdown with
get_statement_compensation.