Insights

Retrieves the salary batch totals for a company for the current and previous year by default.

get/api/insights/data/salarybatchtotals

Query parameters

companyIdinteger required

The ID of the company (required).

fromDatestring date-time

The start date for filtering salary batches in yyyy-mm-dd format (optional).

toDatestring date-time

The end date for filtering salary batches in yyyy-mm-dd format (optional).

salaryBatchNumbersinteger[]

A list of salary batch numbers to filter by (optional).

salaryStatusIdsinteger[]

A list of salary status IDs to filter by (optional). Possible values: Draft => 10, Recalculation ongoing => 15, Pending approval => 20, Finalized => 40, Cancelled => 90.

Response

OK

object required

Changes

No recorded changes to this endpoint across all 1 revision of this API.