Count Events

Returns the total number of events from the Workflow module.

 

URL

{WSUrl}/api/events/count[?status=<Status>]

 

REQUEST METHOD

GET

 

URL PARAMETER

status: Status filter for events from the Workflow module. This list of statuses is comma delimited. A status may have one of following possible values, either numeric or as a string: 0 or Cancelled, 1 or Open, or 2 or Closed. If omitted, all events are returned.

 

REQUEST EXAMPLES

The total number of events registered:

{WSUrl}/api/events/count

The total number of closed events:

{WSUrl}/api/events/count?status=2

 

SUCCESS RESPONSE

Value corresponding to the total number of events according to the filter selected. Returns an int.