{ "opencollection": "1.0.0", "info": { "name": "AlayaCare Accounting Accounts Employee Cost Centres API", "version": "1.0.19-oas3" }, "request": { "auth": { "type": "basic", "username": "{{username}}", "password": "{{password}}" } }, "items": [ { "info": { "name": "Employee Cost Centres", "type": "folder" }, "items": [ { "info": { "name": "Add a cost centre to an employee", "type": "http" }, "http": { "method": "POST", "url": "https://example.alayacare.com/ext/api/v2/accounting/cost_centres/:cost_centre_id/employees", "params": [ { "name": "cost_centre_id", "value": "", "type": "path", "description": "Cost centre ID" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Add a cost centre to an employee" }, { "info": { "name": "Delete a cost centre from an employee", "type": "http" }, "http": { "method": "DELETE", "url": "https://example.alayacare.com/ext/api/v2/accounting/cost_centres/:cost_centre_id/employees/:employee_id", "params": [ { "name": "cost_centre_id", "value": "", "type": "path", "description": "Cost centre ID" }, { "name": "employee_id", "value": "", "type": "path", "description": "Employee ID" } ] }, "docs": "Delete a cost centre from an employee" }, { "info": { "name": "Delete a cost centre from an employee using external ID", "type": "http" }, "http": { "method": "DELETE", "url": "https://example.alayacare.com/ext/api/v2/accounting/cost_centres/:cost_centre_id/employees/by_id/:employee_external_id", "params": [ { "name": "cost_centre_id", "value": "", "type": "path", "description": "Cost centre ID" }, { "name": "employee_external_id", "value": "", "type": "path", "description": "Employee external ID" } ] }, "docs": "Delete a cost centre from an employee using external ID" } ] } ], "bundled": true }