{ "opencollection": "1.0.0", "info": { "name": "ZenHR Approvals Business Travel Setup 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": "Business Travel Setup", "type": "folder" }, "items": [ { "info": { "name": "1. Get Business Tavel Setup", "type": "http" }, "http": { "method": "GET", "url": "https://app.zenhr.com/api/v3/branches/:branch_id/business_travel_setup", "params": [ { "name": "branch_id", "value": "", "type": "path" } ] }, "docs": "1. Get Business Tavel Setup" }, { "info": { "name": "2. Update Business Travel Setup", "type": "http" }, "http": { "method": "PATCH", "url": "https://app.zenhr.com/api/v3/branches/:branch_id/business_travel_setup", "params": [ { "name": "branch_id", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "2. Update Business Travel Setup" } ] } ], "bundled": true }