do.ashx interface

Build 1501 on 14/Nov/2017  This topic last edited on: 21/Mar/2016, at 18:34

To view all tasks that Back4 has executed, use the "TasksLog" command in the do.ashx interface to retrieve an xml list of entries from the executed tasks log stored in the GN4 database. It accepts the following parameters:

Parameter

Description

X

An optional xsl transformation name to apply to the result.

From

Only log entries written after this date/time will be retrieved.

To

Only log entries written before this date/time will be retrieved.

Max

The maximum number of entries to retrieve.

PriorityFrom

Retrieve only tasks log entries with this or greater priority.

PriorityTo

Retrieve only tasks log entries with this or lower priority.

Result

Retrieve only tasks log entries with this result.  Possible values: Error, Success, Warning.

Types

Retrieve only the tasks of these types. Empty to retrieve tasks of all types. Possible values: ObjsWF, Publish, FileWatcher.

Examples:

http://demoserver/gnportal/do.ashx?cmd=taskslog

http://demoserver/gnportal/do.ashx?cmd=taskslog&max=50

http://demoserver/gnportal/do.ashx?cmd=taskslog&max=2&result=success

NOTES

For a complete up-to-date list of all TasksLog parameters, use this link:

http://<GN4Server>/do.ashx?cmd=help&name=taskslog

where <GN4Server> is your GN4 server URL, for example:

http://demoserver/gnportal/do.ashx?cmd=help&name=taskslog