Event API

IntegratorEventResponse

object

Details of an event.

eventIdstring(uuid)

The ID of the event.

Example:eec2b82e-29b1-47c3-a391-6da6cce37d7d

eventTypestring

The type of the event.

Example:DispatchCreated

topicstring

The versioned group of events to which the event belongs.

Example:logistics.cd.dispatch

topicVersionstring

The version of the topic.

Example:1

timeStampstring(date-time)

The timestamp at the time of submission of the event to the event service, in UTC/ISO 8601 format.

Example:2023-02-28T21:55:38Z

environmentstring

The environment of the event e.g. production.

Example:Production

partitionstring

The data partition for which the data within the event belongs (e.g. โ€˜production-resourcesโ€™ or โ€˜non-production-resourcesโ€™).

Example:production-resources

correlationIdstring(uuid)

The correlation ID of the event used for logging and tracking.

Example:c0b87c96-1bfb-43f4-956d-c4283ecaab7c

headersobject

The headers of the event.

Example:{"messageId":"157a16f0-503d-4256-ba60-a4876e8eb9bb","subscriptionId":"50b2863f-c75e-45cb-8d50-b5a975d67865","marketplaceIds":["10000"]}

body

The body contains a JSON object that is the event contents.

Example:{"dispatchId":"d159acc0-e89b-12d3-a456-426614174000","dispatchVehicleIds":["b331c130-e89b-12d3-a456-426614174000"]}

Example

SearchEventResponse

object

Details of an event.

subscriptionIdstring(uuid)

The ID of the subscription.

Example:50b2863f-c75e-45cb-8d50-b5a975d67865

publishStatusstring

The publish status of the event.

Example:SUCCESS

createdOnstring(date-time)

The creation date and time of the integrator event record, in UTC/ISO 8601 format.

Example:2024-10-25T19:06:56.85Z

eventDataobject

Details of an event.

Show Child Parameters
Example

SearchIntegratorEventCollection

object

Details of search event.

hrefstring

The URL used to query the current collection of the resource.

Example:https://event-api.centraldispatch.com/integrator-events?limit(5,1)

previousstring

The URL to the previous page of the collection, if available.

Example:https://event-api.centraldispatch.com/integrator-events?limit(4,1)

firststring

The URL to the first page of the collection.

Example:https://event-api.centraldispatch.com/integrator-events?limit(1,1)

nextstring

The URL to the next page of the collection, if available.

Example:https://event-api.centraldispatch.com/integrator-events?limit(6,1)

countinteger(int32)

The total count of resources in the collection.

Example:23

limitinteger(int32)

The maximum number of items to be returned in the response.

Example:1

itemsarray[object]

Details of an event.

Show Child Parameters
Example

SubscriptionCollection

object

Details of subscriptions.

hrefstring

The URL used to query the current collection of the resource.

Example:https://event-api.centraldispatch.com/subscriptions/mine

countinteger(int32)

The total count of resources in the collection.

Example:23

itemsarray[object]

Details of a subscription.

Show Child Parameters
Example

SubscriptionRequest

object

Details of a subscription.

callbackUrlstringrequired

A valid URL that you own, which will be used to receive event notifications from the Central Dispatch Event service.

Example:https://abc-trcking.net/webhook

subscriptionRulesobjectrequired

Details of subscription rules.

Show Child Parameters
Example