{ "opencollection": "1.0.0", "info": { "name": "ZenHR Approvals Overtimes API", "version": "v3" }, "request": { "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://api.zenhr.com/en/oauth/authorize", "accessTokenUrl": "https://api.zenhr.com/en/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Overtimes", "type": "folder" }, "items": [ { "info": { "name": "List Overtime", "type": "http" }, "http": { "method": "GET", "url": "https://app.zenhr.com/api/v3/branches/:branch_id/employees/:employee_id/overtimes", "params": [ { "name": "branch_id", "value": "", "type": "path" }, { "name": "employee_id", "value": "", "type": "path" } ] }, "docs": "List Overtime" }, { "info": { "name": "Create Overtime", "type": "http" }, "http": { "method": "POST", "url": "https://app.zenhr.com/api/v3/branches/:branch_id/employees/:employee_id/overtimes", "params": [ { "name": "branch_id", "value": "", "type": "path" }, { "name": "employee_id", "value": "", "type": "path" } ] }, "docs": "Create Overtime" }, { "info": { "name": "Get Overtime", "type": "http" }, "http": { "method": "GET", "url": "https://app.zenhr.com/api/v3/branches/:branch_id/employees/:employee_id/overtimes/:overtime_id", "params": [ { "name": "branch_id", "value": "", "type": "path" }, { "name": "employee_id", "value": "", "type": "path" }, { "name": "overtime_id", "value": "", "type": "path" } ] }, "docs": "Get Overtime" }, { "info": { "name": "Edit Overtime", "type": "http" }, "http": { "method": "PATCH", "url": "https://app.zenhr.com/api/v3/branches/:branch_id/employees/:employee_id/overtimes/:overtime_id", "params": [ { "name": "branch_id", "value": "", "type": "path" }, { "name": "employee_id", "value": "", "type": "path" }, { "name": "overtime_id", "value": "", "type": "path" } ] }, "docs": "Edit Overtime" }, { "info": { "name": "Destroy Overtime", "type": "http" }, "http": { "method": "DELETE", "url": "https://app.zenhr.com/api/v3/branches/:branch_id/employees/:employee_id/overtimes/:overtime_id", "params": [ { "name": "branch_id", "value": "", "type": "path" }, { "name": "employee_id", "value": "", "type": "path" }, { "name": "overtime_id", "value": "", "type": "path" } ] }, "docs": "Destroy Overtime" }, { "info": { "name": "Create Overtime Request", "type": "http" }, "http": { "method": "POST", "url": "https://app.zenhr.com/api/v3/branches/:branch_id/employees/:employee_id/overtime_requests", "params": [ { "name": "branch_id", "value": "", "type": "path" }, { "name": "employee_id", "value": "", "type": "path" } ] }, "docs": "Create Overtime Request" }, { "info": { "name": "List Overtime", "type": "http" }, "http": { "method": "GET", "url": "https://app.zenhr.com/api/v3/branches/:branch_id/overtimes", "params": [ { "name": "branch_id", "value": "", "type": "path" } ] }, "docs": "List Overtime" }, { "info": { "name": "Create Overtime", "type": "http" }, "http": { "method": "POST", "url": "https://app.zenhr.com/api/v3/branches/:branch_id/overtimes", "params": [ { "name": "branch_id", "value": "", "type": "path" } ] }, "docs": "Create Overtime" }, { "info": { "name": "Get Overtime", "type": "http" }, "http": { "method": "GET", "url": "https://app.zenhr.com/api/v3/branches/:branch_id/overtimes/:overtime_id", "params": [ { "name": "branch_id", "value": "", "type": "path" }, { "name": "overtime_id", "value": "", "type": "path" } ] }, "docs": "Get Overtime" }, { "info": { "name": "Edit Overtime", "type": "http" }, "http": { "method": "PATCH", "url": "https://app.zenhr.com/api/v3/branches/:branch_id/overtimes/:overtime_id", "params": [ { "name": "branch_id", "value": "", "type": "path" }, { "name": "overtime_id", "value": "", "type": "path" } ] }, "docs": "Edit Overtime" }, { "info": { "name": "Destroy Overtime", "type": "http" }, "http": { "method": "DELETE", "url": "https://app.zenhr.com/api/v3/branches/:branch_id/overtimes/:overtime_id", "params": [ { "name": "branch_id", "value": "", "type": "path" }, { "name": "overtime_id", "value": "", "type": "path" } ] }, "docs": "Destroy Overtime" }, { "info": { "name": "Get Overtime", "type": "http" }, "http": { "method": "GET", "url": "https://app.zenhr.com/api/v3/branches/:branch_id/integration_maps/overtime/:global_id", "params": [ { "name": "branch_id", "value": "", "type": "path" }, { "name": "global_id", "value": "", "type": "path" } ] }, "docs": "Get Overtime" }, { "info": { "name": "Edit Overtime", "type": "http" }, "http": { "method": "PATCH", "url": "https://app.zenhr.com/api/v3/branches/:branch_id/integration_maps/overtime/:global_id", "params": [ { "name": "branch_id", "value": "", "type": "path" }, { "name": "global_id", "value": "", "type": "path" } ] }, "docs": "Edit Overtime" } ] } ], "bundled": true }