CMB API Guide
Using the Groovy DSL
service, you can perform request and response exchanges with built-in Platform 6 services.
Here are the services which expose an API through the bus:
- Bundled Resources
- Data models
- Stored Procedures
- Workflow Steps
No specific user permissions are required to perform a request to a service.
Each request has a header and carries the information of the request. In order to audit the user performing the action, two parameters are added to every request:
Headers of the request
||The user performing the action||String|
||The permissions of the user performing the action||String or null|
The user performing the action can be:
platform6.request.user.permissions=> empty string
platform6.request.user.permissions=> “permissions string”
platform6.request.user.permissionsheader is null it means we have not managed to retrieve the permissions.
More information about permissions can be found in the Scopes & Permissions section.