Get Case Diagram

Retrieves the diagram of a case definition.

Method

GET /case-definition/{id}/diagram

GET /case-definition/key/{key}/diagram (returns the diagram for the latest version of the case definition)

Parameters

Path Parameters

Name Description
id The id of the case definition.
key The key of the case definition (the latest version thereof) to be retrieved.

Result

The image diagram of this case.

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 case definition doesn't have an associated diagram.
400 application/json The path parameter "key" has no value or the case definition with given id does not exist. See the Introduction for the error response format.
404 application/json Case definition with given id or key does not exist. See the Introduction for the error response format.

Example

Request

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

GET /case-definition/key/invoice/diagram

On this Page: