cURL
curl --request GET \ --url http://{host}:{port}/{contextPath}/decision-requirements-definition/{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\" ... />" }
Retrieves the DMN XML of a decision requirements 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 requirements definition.
Request successful.
An escaped XML string containing the XML that this decision requirements definition was deployed with. Carriage returns, line feeds and quotation marks are escaped.