Skip to main content
GET
/
decision-requirements-definition
/
key
/
{key}
/
tenant-id
/
{tenant-id}
/
xml
Get DMN XML by Key and Tenant ID
curl --request GET \
  --url http://{host}:{port}/{contextPath}/decision-requirements-definition/key/{key}/tenant-id/{tenant-id}/xml \
  --header 'Authorization: Basic <encoded-value>'
{
  "id": "invoice:1:9f86d61f-9ee5-11e3-be3b-606720b6f99c",
  "dmnXml": "<?xml version=\"1.1\" encoding=\"UTF-8\"?>...<definitions id=\"dish\" name=\"Dish\" namespace=\"test-drg\" ... />"
}

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.

dmnXml
string | null

An escaped XML string containing the XML that this decision requirements definition was deployed with. Carriage returns, line feeds and quotation marks are escaped.