Decision Server REST API - decisiontraces Resource - DELETE Method

Removes all the Decision Warehouse traces that match the optional selection filters.

Sample Method Invocation

DELETE /api/v1/decisiontraces[?rulesetpath={string}][&start={string}][&end={string}]

Parameters

The method has the following parameters:
Name Value Type Use Description
rulesetpath string optional The ruleset path for which traces should be included. Wildcard characters '*' (for any sequence of characters) and '.' (for any character) will be taken into account if the Trace DAO supports it. And if so, these characters will be escaped if preceded by a backslash character.
start string optional The start date to include traces. To be specified as an epoch time stamp in milliseconds.
end string optional The last date to include traces. To be specified as an epoch time stamp in milliseconds.

Request Content

None.

Response Content

The default content-type is application/xml.

MIME Type: application/json

(Schema to go here)
+ View Example
{
  "succeeded" : true
}

MIME Type: application/xml

+ View Schema
<?xml version="1.0" encoding="UTF-8"?><xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="" version="1.0">

  <xs:element name="result" type="restActionResult"/>

  <xs:complexType name="restActionResult">
    <xs:sequence>
      <xs:element minOccurs="0" name="code" type="xs:string"/>
      <xs:element minOccurs="0" name="message" type="xs:string"/>
      <xs:element minOccurs="0" name="resource" type="xs:anyType"/>
      <xs:element name="succeeded" type="xs:boolean"/>
    </xs:sequence>
  </xs:complexType>
</xs:schema>
+ View Example
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<result>
    <succeeded>true</succeeded>
</result>

Status Codes

The method returns one of the following status codes:
Code Description
200 Successful completion.
400 The parameters are not valid or they are missing.
401 The caller is not authorized for this request.
403 The caller is not allowed to complete this request.
404 The resource does not exist.
406 The requested content type or content encoding is not supported.
500 A severe problem has occurred, programmer's details are provided.

Available Since

8.8.1

Parent Topic: decisiontraces Resource