{ "opencollection": "1.0.0", "info": { "name": "ZenHR Approvals Hirearchy Groups 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": "Hirearchy Groups", "type": "folder" }, "items": [ { "info": { "name": "List Hirearchy Groups", "type": "http" }, "http": { "method": "GET", "url": "https://app.zenhr.com/api/v3/branches/:branch_id/hierarchy_groups", "params": [ { "name": "branch_id", "value": "", "type": "path" } ] }, "docs": "List Hirearchy Groups" }, { "info": { "name": "Get Hirearchy Group", "type": "http" }, "http": { "method": "GET", "url": "https://app.zenhr.com/api/v3/branches/:branch_id/hierarchy_groups/:hierarchy_group_id", "params": [ { "name": "branch_id", "value": "", "type": "path" }, { "name": "hierarchy_group_id", "value": "", "type": "path" } ] }, "docs": "Get Hirearchy Group" }, { "info": { "name": "Create Hierarchy Group", "type": "http" }, "http": { "method": "POST", "url": "https://app.zenhr.com/api/v3/branches/:branch_id/hierarchy_groups/:hierarchy_group_id", "params": [ { "name": "branch_id", "value": "", "type": "path" }, { "name": "hierarchy_group_id", "value": "", "type": "path" } ] }, "docs": "Create Hierarchy Group" }, { "info": { "name": "Delete Hirearchy Group", "type": "http" }, "http": { "method": "DELETE", "url": "https://app.zenhr.com/api/v3/branches/:branch_id/hierarchy_groups/:hierarchy_group_id", "params": [ { "name": "branch_id", "value": "", "type": "path" }, { "name": "hierarchy_group_id", "value": "", "type": "path" } ] }, "docs": "Delete Hirearchy Group" } ] } ], "bundled": true }