cURL
curl --request GET \ --url http://{host}:{port}/{contextPath}/decision-definition/{id}/xml \ --header 'Authorization: Basic <encoded-value>'
{ "id": "aDecisionDefinitionId", "dmnXml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n <definitions xmlns=\"http://www.omg.org/spec/DMN/20151101/dmn.xsd\"\n id=\"definitions\"\n name=\"camunda\"\n namespace=\"http://camunda.org/schema/1.0/dmn\">\n <decision id=\"testDecision\" name=\"decision\">\n <decisionTable id=\"table\">\n <output id=\"result\" name=\"result\" >\n </output>\n <rule id=\"rule\">\n <outputEntry id=\"output1\">\n <text>\"not okay\"</text>\n </outputEntry>\n </rule>\n </decisionTable>\n </decision>\n </definitions>" }
Retrieves the DMN XML of a decision definition.
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
The id of the decision definition.
Request successful.
An escaped XML string containing the XML that this decision definition was deployed with. Carriage returns, line feeds and quotation marks are escaped.