List earning rates
Changed onReturns a list of earning rates
get/earning_rates
Request
- Base URLhttps://sandbox.checkhq.com
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
activeboolean
companystring
employeestring
limitinteger
Number of earning rates returned per page. The maximum value is 500.
idstring[]
Filter the list to the specified IDs. For more details, check out the Bulk Get Requests guide.
Response
200
Example response
{
"results": [
{
"id": "rte_aOSqW0QTKcE1iVU1C5",
"amount": "50000.00",
"period": "annually",
"employee": "emp_aslkj192j3laksdj",
"company": "com_omSihPyKgr68wxFQ0xTn",
"name": "Dishwasher Weekend Rate",
"workweek_hours": 40,
"active": true,
"metadata": {}
}
]
}Changes
- info
added the new optional
queryrequest parameterid
- info