Events

List EventResponse

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

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.

idsstring[]

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

Changed in 2 of the 10 revisions of this API.222

    • the response's body type/format changed from / to object/ for status 200

      response-body-type-changed

    • added the optional property data to the response with the 200 status

      response-optional-property-added

    • added the optional property nextToken to the response with the 200 status

      response-optional-property-added

    This revision also has 53 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • the response's body type/format changed from object/ to / for status 200

      response-body-type-changed

    • removed the optional property data from the response with the 200 status

      response-optional-property-removed

    • removed the optional property nextToken from the response with the 200 status

      response-optional-property-removed

    This revision also has 41 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog