Skip to main content

Get worker turnover totals for a specific employer

POST 
/v1/reporting/:employer/reports/worker_turnover/totals

Retrieves aggregate turnover metrics for a single period: beginning/end headcount, total/voluntary/involuntary turnover, headcount reduction, new hires, rehires, and turnover rate. Powers the 'At a Glance' and 'Headcount Variation' UI sections.

Request​

Path Parameters

    employer anyrequired

    Use me, or the numeric employer id bound to this client id. me means that employer. Any other id is rejected. The OAuth application does not choose the employer.

Query Parameters

    from_date stringrequired

    Start of the range (YYYY-MM-DD). Bookings are included by booking start date. Turnover events are included by the date the worker left. This is not an invoice or billing date.

    to_date stringrequired

    End of the range (YYYY-MM-DD). Bookings are included by booking start date. Turnover events are included by the date the worker left. This is not an invoice or billing date.

Responses​

Successfully retrieved turnover totals

Response Headers

  • RateLimit-Limit

    integer

    Requests allowed each minute.

  • RateLimit-Remaining

    integer

    Requests left in the current minute.

  • RateLimit-Reset

    integer

    Seconds until the limit resets.

Schema

    request

    object

    employer_id int32
    deployment_code string
    from_date string
    to_date string

    totals

    object

    beginning_headcount int32
    total_turnover int32
    voluntary_turnover int32
    involuntary_turnover int32
    headcount_reduction int32
    new_hires int32
    rehires int32
    new_and_returning_hires int32
    subtotal int32
    end_headcount int32
    turnover_rate double
    turnover_percentage double

    metadata

    object

    execution_time_ms double
    generated_at date-time
    result_state string

    Possible values: [NO_MATCH, AVAILABLE, INCOMPLETE]

Loading...

Was this page helpful?