Get Decision Requirements Diagram

Retrieves the diagram of a decision requirements definition.

Method

GET /decision-requirements-definition/{id}/diagram

GET /decision-requirements-definition/key/{key}/diagram (returns the diagram for the latest version of the decision requirements definition which belongs to no tenant)

GET /decision-requirements-definition/key/{key}/tenant-id/{tenant-id}/diagram (returns the diagram of the latest version of the decision requirements definition for tenant)

Parameters

Path Parameters

Name Description
id The id of the decision requirements definition.
key The key of the decision requirements definition (the latest version thereof) to be retrieved.
tenant-id The id of the tenant to which the decision requirements definition belongs to.

Result

The image diagram of the decision requirements definition.

Response codes

Code Media type Description
200 image/png, image/gif, ... (defaults to application/octet-stream if the file suffix is unknown Request successful.
204 The decision requirements definition doesn't have an associated diagram.
404 application/json Decision requirements definition with given id or key does not exist. See the Introduction for the error response format.

Example

Request

GET /decision-requirements-definition/invoice:1:9f86d61f-9ee5-11e3-be3b-606720b6f99c/diagram

GET /decision-requirements-definition/key/invoice/diagram

On this Page: