Skip to main content
POST
Recalculate census eligibility

Authorizations

x-api-key
string
header
required

CX API key. Create one in CX under Settings → Advanced → API Keys.

Body

application/json

Recalculate request (client required; reset, scrub, employee, return_plan_year optional)

async
boolean

If true, fire the recalc in the background and return immediately without census data

client
string
employee
string

Optional field

ignore_previous_service
boolean

If set, ignores previous service when calculating eligibility

mode
string

"ensure_only": create missing census rows and return

reset
boolean
return_plan_year
integer

If set, returns the census for the specified plan year

scrub
boolean

Response

Recalculation result with census data and issues

employeeCensus
object[]
issues
object[]
ok
boolean