User Tools

Site Tools


version_3:post_events_delete-set

Deleting a set of events

For deleting a certain set of events, this interface can be used. To specify such a set, the variables category, source, type and also a staring and an ending timestamp can be used, multiple filters are also possible (by sending an array of e.g. categories).

Authentication required

Yes, please take a look at Authentication. To keep it simple, only the data parameter is mentioned on this page, but keep in mind that the other parameters are also necessary.

Response

JSON

Method

POST

Resource URL

Parameters

The sent JSON object data should contain the following parameters:

start

An optional value. This is a UNIX timestamp the beginning of the time period.

end

An optional value. This is a UNIX timestamp the end of the time period.

category

An optional whitelist filter to specify the set of events to be deleted by a certain category.

source

An optional whitelist filter to specify the set of events to be deleted by a certain source.

type

An optional whitelist filter to specify the set of events to be deleted by a certain type.

category_bl

An optional blacklist filter to specify the set of events to be deleted by which aren't of a certain category.

source_bl

An optional blacklist filter to specify the set of events to be deleted by which aren't of a certain source.

type_bl

An optinal blacklist filter to specify the set of events to be deleted by which aren't of a certain type.

Example 1

Request

data={
   "type_bl":"APPSTART"
}

Response

{
   "APIVersion":3,
   "result":1
}

Example 2

Request

data={
   "category":"ENVIRONMENT",
   "source":"MOBILE",
   "type":"POSITION"
}

Response

{
   "APIVersion":3,
   "result":1
}

In case of an error, a different response is sent. Please take a look at Error Responses.

version_3/post_events_delete-set.txt · Last modified: 01.05.2016 21:36 (external edit)