Skip to main content Skip to complementary content
Close announcements banner

Get statistics about events

Gets the number of times each trigger has been called with and without success, grouped by status.
Request
GET /services/rest/system/stats/events
Parameters
  • timeframe (optional): This is an integer value which limits the statistic data to the calls executed in the last N seconds.
  • top (optional): This is an integer value which limits the statistics data to the top N triggers.
Headers
  • Accept: application/json
  • Authorization: Basic Authentication scheme
Response A JSON response that contains statistics about events, i.e., the number of times each trigger has been called with and without success.
Status
  • 200 OK: The operation is executed successfully.
  • 204 QUERY FAILS: Missing configuration information.
  • 401 UNAUTHORIZED: Login fails, invalid username or password.
  • 404 NO CONTENT: The request contains invalid parameter.

Sample response

{
    "events": [
        {
            "failed": [
                {"GoogleMap": 0},
                {"CompleteStoreURLOnCreate": 0},
                {"SynchronizeOnUpdate": 0},
                {"CheckAvailabilityOnCreate": 0}
            ]
        },
        {
            "completed": [
                {"SynchronizeOnUpdate": 5},
                {"GoogleMap": 2},
                {"CompleteStoreURLOnCreate": 2},
                {"CheckAvailabilityOnCreate": 2}
            ]
        }
    ]
}

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!