{ "opencollection": "1.0.0", "info": { "name": "ZenHR Approvals Miscellaneous Types 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": "Miscellaneous Types", "type": "folder" }, "items": [ { "info": { "name": "List Miscellaneous Types", "type": "http" }, "http": { "method": "GET", "url": "https://app.zenhr.com/api/v3/branches/:branch_id/miscellaneous_types", "params": [ { "name": "branch_id", "value": "", "type": "path" } ] }, "docs": "List Miscellaneous Types" }, { "info": { "name": "Create Miscellaneous Type", "type": "http" }, "http": { "method": "POST", "url": "https://app.zenhr.com/api/v3/branches/:branch_id/miscellaneous_types", "params": [ { "name": "branch_id", "value": "", "type": "path" } ] }, "docs": "Create Miscellaneous Type" }, { "info": { "name": "Show Miscellaneous Type", "type": "http" }, "http": { "method": "GET", "url": "https://app.zenhr.com/api/v3/branches/:branch_id/miscellaneous_types/:miscellaneous_type_id", "params": [ { "name": "branch_id", "value": "", "type": "path" }, { "name": "miscellaneous_type_id", "value": "", "type": "path" } ] }, "docs": "Show Miscellaneous Type" }, { "info": { "name": "Delete Miscellaneous Type", "type": "http" }, "http": { "method": "DELETE", "url": "https://app.zenhr.com/api/v3/branches/:branch_id/miscellaneous_types/:miscellaneous_type_id", "params": [ { "name": "branch_id", "value": "", "type": "path" }, { "name": "miscellaneous_type_id", "value": "", "type": "path" } ] }, "docs": "Delete Miscellaneous Type" } ] } ], "bundled": true }