This endpoint serves the purpose of creating a payroll group.
cURL
curl --request POST \ --url https://api.roostedhr.com/api/1_12/payroll-groups \ --header 'Content-Type: application/json' \ --header 'X-API-KEY: <api-key>' \ --data ' { "name": "<string>", "payroll_item_id": "<string>", "invoice_cost": "<string>", "locationAll": true, "locations": [ "<string>" ], "group_rows": [ "<string>" ], "wage_rules_id": "<string>" } '
{ "id": "<string>", "name": "<string>", "payroll_item_id": "<string>", "default_wage": 123, "insert_date": "<string>", "invoice_cost": 123, "deleted": 0, "wage_rules_id": "<string>", "group_rows": [ "<string>" ], "locations": [ "<string>" ], "pending": true, "updateError": true, "deleteError": true }
Payroll Group Request Body
OK
0 <= x <= 1