Approvals
To generate a customer access token, go to the Logging in a customer endpoint.
Your Emporix tenant name. Note: The tenant name should always be written in lowercase.
^[a-z][a-z0-9]+$The number of documents being retrieved on one page.
60The page number to be retrieved, where the size of the pages is specified by the pageSize parameter. The number of the first page is 1.
1Fields to sort the response data by following the order of the parameters from left to right. Can contain multiple fields in the following format: field name:sort direction, separated by a comma. The colon preceding the sort direction parameter is optional, and the descending order is taken only if it is equal to desc or DESC. The ascending order is assumed in any other case.
sort=name,metadata.createdAt:descA standard query parameter is used to search for specific values.
q=status:APPROVEDTo get information how many entities meet the filtering requirements, the X-Total-Count header has been introduced. The header is optional and its default value is false. If the header is provided and it is set to true, then the total count is approved in the X-Total-Count response header. In both cases (X-Total-Count true, false or not provided), the response body has the same format (array of entities). This means that the information about the total count is approved only on demand, provided that the X-Total-Count header is present in a request.
Example response.
Base schema for an approval response.
Base schema for an approval action type.
A comment from the requestor to the approver.
Type of resource under approval.
An identifier of the approval document.
A comment from an approver user.
Base schema for the approval status.
An expiration date which defines when the approval will expire. The value is approved as an ISO-8601 representation of an Instant. For example: 2022-04-31T13:18:02.379Z
Unauthorized.
Access forbidden. The caller is not allowed to access this resource.
To generate a customer access token, go to the Logging in a customer endpoint.
Your Emporix tenant name. Note: The tenant name should always be written in lowercase.
^[a-z][a-z0-9]+$The resource has been successfully created.
Unique identifier of the created approval.
Bad request due to validation, incorrect parameters, etc.
Unauthorized.
Access forbidden. The caller is not allowed to access this resource.
Resource with given code already exists.
To generate a customer access token, go to the Logging in a customer endpoint.
Your Emporix tenant name. Note: The tenant name should always be written in lowercase.
^[a-z][a-z0-9]+$Unique identifier of an approval.
Base schema for an approval response.
Base schema for an approval action type.
A comment from the requestor to the approver.
Type of resource under approval.
An identifier of the approval document.
A comment from an approver user.
Base schema for the approval status.
An expiration date which defines when the approval will expire. The value is approved as an ISO-8601 representation of an Instant. For example: 2022-04-31T13:18:02.379Z
Unauthorized.
Access forbidden. The caller is not allowed to access this resource.
Resource cannot be found.
To generate a customer access token, go to the Logging in a customer endpoint.
Your Emporix tenant name. Note: The tenant name should always be written in lowercase.
^[a-z][a-z0-9]+$Unique identifier of an approval.
No Content
No content
Bad request - an approval cannot be deleted because it has an inappropriate status.
Unauthorized.
Access forbidden. The caller is not allowed to access this resource.
Resource cannot be found.
No content
To generate a customer access token, go to the Logging in a customer endpoint.
Your Emporix tenant name. Note: The tenant name should always be written in lowercase.
^[a-z][a-z0-9]+$Unique identifier of an approval.
Approval partial update operation list.
Base schema for the approval status.
Value of the string type.
Any part of the details object.
Any part of the delivery window object.
No Content.
No content
Bad request due to validation, incorrect parameters, etc.
Unauthorized.
Access forbidden. The caller is not allowed to access this resource.
Resource cannot be found.
No content
Last updated
Was this helpful?

