Create an earning rate

Changed on
post/earning_rates (COPY)

Request

Request body

amountstring required
periodstring required

May be hourly, annually, or piece

employeestring required
namestring

Response

201

idstring
amountstring
periodstring

May be hourly, annually, or piece

employeestring
companystring

ID of the company that this earning rate relates to (via the employee).

namestring
workweek_hoursnumber float
activeboolean
metadataobject

Example response

{
  "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