Insights
Retrieves the salary batch totals for a company for the current and previous year by default.
get/api/insights/data/salarybatchtotals
Request
- Base URLhttps://api.intect.app
- Auth
- HTTP basic
- or API key in header X-API-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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 operation across all 6 revisions of this API.