Events

List EventResponse

Changed on

List all Events.

Retrieve a list of all Events, with options to filter the returned list based on various criteria. Each Event represents a unique instance of a state change within the system, classified under a specific kind of Event.

NOTES: You can:

  • Use eventName as a valid Query parameter to filter the list of Events returned. For example: .../organizations/{orgId}/events?eventName=configuration.commitment.created
  • Use the List Notification Events endpoint in this section. The response lists the valid Query parameters.
get/organizations/{orgId}/events

Request

Path parameters

orgIdstring required

The unique identifier (UUID) of the Organization. The Organization represents your company as a direct customer of our service.

Query parameters

pageSizeinteger

The maximum number of Events to retrieve per page.

idsobject[]

List of Event UUIDs to filter the results.

NOTE: cannot be used with other filters.

notificationIdstring

Notification UUID to filter the results. Returns the Events that have triggered the Notification.

accountIdstring

The Account ID associated with the Event to filter the results. Returns the Events that have been generated for the Account.

eventTypestring

The category of Events to filter the results by. Options:

  • Notification
  • IntegrationEvent
  • IngestValidationFailure
  • DataExportJobFailure
notificationCodestring

Short code of the Notification to filter the results. Returns the Events that have triggered the Notification.

includeActionedboolean

A Boolean flag indicating whether to return Events that have been actioned.

  • TRUE - include actioned Events.
  • FALSE - exclude actioned Events.
nextTokenstring

The nextToken for multi-page retrievals. It is used to fetch the next page of Events in a paginated list.

eventNamestring nullable
resourceIdstring nullable

Response

Returns list of Events

nextTokenstring

Example response

{
  "data": [
    {
      "id": "9cb46d85-7cb6-4637-80a1-d4ec38e4ab30",
      "eventName": "configuration.commitment.created",
      "eventTime": "2022-10-28T13:54:49.557Z",
      "dtActioned": "2022-10-28T13:56:49.557Z",
      "m3terEvent": {
        "eventData": {
          "newDto": {
            "commitmentFeeDescription": "",
            "endDate": "2024-12-31",
            "billingInterval": 1,
            "orgId": "396d788d-5174-XXXX-9d69-YYYY4671fc33",
            "overageSurchargePercent": 5,
            "overageDescription": "",
            "currency": "USD",
            "id": "480d317e-2030-416b-b64b-c07577c418b4",
            "amountSpent": 0,
            "accountCode": "doetech_premium",
            "amount": 15000,
            "billingOffset": 0,
            "lastModifiedBy": "USER_810e3a43-XXXX-4dab-YYYY-470977405b58",
            "billingPlanId": "0409e75a-8a87-43de-aa58-fc6ec823ce37",
            "version": 1,
            "accountId": "1cf2a754-476c-498c-b05a-7d41abfc404d",
            "dtCreated": "2022-10-28T13:54:48.081781Z",
            "amountPrePaid": 0,
            "productIds": [
              "bec371ef-dbad-4e73-a56a-dadecff2287c"
            ],
            "createdBy": "USER_810e3a43-XXXX-4dab-YYYY-470977405b58",
            "contractId": "68595d6d-261f-496b-bf88-51fc7d2b5ccc",
            "commitmentUsageDescription": "",
            "startDate": "2023-01-01",
            "dtLastModified": "2022-10-28T13:54:48.081781Z"
          }
        }
      }
    }
  ]
}

Changes

    • breaking

      for the query request parameter ids, the type of property items/ was specialized from string to object

    • breaking

      the // response's property type changed from no type to object for status

    • breaking

      the response's body type changed from no type to object for status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status