{ "opencollection": "1.0.0", "info": { "name": "Bench AccountActivities HourlyRoleNames API", "version": "1.0" }, "items": [ { "info": { "name": "HourlyRoleNames", "type": "folder" }, "items": [ { "info": { "name": "Get hourly role names in the account", "type": "http" }, "http": { "method": "GET", "url": "https://bench.gobridgit.com/rp/api/v1/accounts/:id/hourly-role-names", "params": [ { "name": "id", "value": "", "type": "path", "description": "The account ID" } ] }, "docs": "
Permissions
Account: Read
Finance: Read
HourlyRole: Read" }, { "info": { "name": "Add/Update hourly role name(s) in the account", "type": "http" }, "http": { "method": "POST", "url": "https://bench.gobridgit.com/rp/api/v1/accounts/:id/hourly-role-names", "params": [ { "name": "id", "value": "", "type": "path", "description": "The account ID" }, { "name": "alphabetize", "value": "", "type": "query", "description": "Optional flag to set whether role names should be alphabetically ordered by the caller" } ], "body": { "type": "json", "data": "{}" } }, "docs": "If \"alphabetize\" parameter flag is true, the role names should be alphabetically ordered by caller, otherwise in the order of the request.\n\nTo add or update role names you must have permissions to manage account properties.
Permissions
Account: Write
HourlyRole: Write" }, { "info": { "name": "Remove hourly role name(s) by ID in the account", "type": "http" }, "http": { "method": "DELETE", "url": "https://bench.gobridgit.com/rp/api/v1/accounts/:id/hourly-role-names", "params": [ { "name": "id", "value": "", "type": "path", "description": "The account ID" } ], "body": { "type": "json", "data": "{}" } }, "docs": "To remove hourly role names you must have permissions to manage account properties.\nNOTE: The account must contain at least 1 role name.
Permissions
Account: Write
HourlyRole: Write" } ] } ], "bundled": true }