get_plan opens a plan’s compensations
and members; a compensation’s calculation is read per statement with
get_statement_compensation.
Parameters
Body
Body
A plan name or a plan id. A name matches as one phrase anywhere in the
plan’s name, ignoring case and accents (words are not matched separately). A
24-character hex value is read as a plan id and refused when no plan of this
environment has it.
Id of a sandbox from list_sandboxes, to read it instead of the live
environment. Omit it for live, the company’s real data, unless the question
is explicitly about a sandbox. Never a name, never the live id.