Skip to main content
GET
/
decision-requirements-definition
/
key
/
{key}
/
tenant-id
/
{tenant-id}
Get Decision Requirements Definition by Key and Tenant ID
curl --request GET \
  --url http://{host}:{port}/{contextPath}/decision-requirements-definition/key/{key}/tenant-id/{tenant-id} \
  --header 'Authorization: Basic <encoded-value>'
{
  "id": "invoice:1:9f86d61f-9ee5-11e3-be3b-606720b6f99c",
  "key": "invoiceKey",
  "category": "invoice",
  "name": "receiptInvoice",
  "version": 2,
  "resource": "invoice.dmn",
  "deploymentId": "c627175e-41b7-11e6-b0ef-00aa004d0001",
  "tenantId": "tenantA"
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

key
string
required

The key of the decision requirements definition (the latest version thereof) to be retrieved.

tenant-id
string
required

The id of the tenant to which the decision requirements definition belongs to.

Response

Request successful.

id
string | null

The id of the decision requirements definition

key
string | null

The key of the decision requirements definition, i.e., the id of the DMN 1.0 XML decision definition.

name
string | null

The name of the decision requirements definition.

category
string | null

The category of the decision requirements definition.

version
integer | null

The version of the decision requirements definition that the engine assigned to it.

resource
string | null

The file name of the decision requirements definition.

deploymentId
string | null

The deployment id of the decision requirements definition.

tenantId
string | null

The tenant id of the decisionrequirements definition.