---
title: "SearchEventResponse"
url: "https://stage-api-docs.centraldispatch.com/apis/stage-event-api-1-0-0/versions/c1db9b9c-04c4-43e9-9e9c-fe74c2ca0f60/schemas/SearchEventResponse"
---

> Full API specification: https://stage-api-docs.centraldispatch.com/apis/stage-event-api-1-0-0/versions/c1db9b9c-04c4-43e9-9e9c-fe74c2ca0f60.md

# SearchEventResponse

Details of an event.

## OpenAPI definition

```yaml
openapi: 3.0.1
info:
  title: Event API
  version: 1.0.0
servers:
  - url: https://event-api.centraldispatch.com
    description: Production server
components:
  schemas:
    IntegratorEventResponse:
      type: object
      properties:
        eventId:
          type: string
          description: The ID of the event.
          format: uuid
          example: eec2b82e-29b1-47c3-a391-6da6cce37d7d
        eventType:
          type: string
          description: The type of the event.
          example: DispatchCreated
        topic:
          type: string
          description: The versioned group of events to which the event belongs.
          example: logistics.cd.dispatch
        topicVersion:
          type: string
          description: The version of the topic.
          example: "1"
        timeStamp:
          type: string
          description: The timestamp at the time of submission of the event to the event
            service, in UTC/ISO 8601 format.
          format: date-time
          example: 2023-02-28T21:55:38Z
        environment:
          type: string
          description: The environment of the event e.g. production.
          example: Production
        partition:
          type: string
          description: The data partition for which the data within the event belongs
            (e.g. 'production-resources' or 'non-production-resources').
          example: production-resources
        correlationId:
          type: string
          description: The correlation ID of the event used for logging and tracking.
          format: uuid
          example: c0b87c96-1bfb-43f4-956d-c4283ecaab7c
        headers:
          type: object
          description: The headers of the event.
          nullable: true
          example:
            messageId: 157a16f0-503d-4256-ba60-a4876e8eb9bb
            subscriptionId: 50b2863f-c75e-45cb-8d50-b5a975d67865
            marketplaceIds:
              - "10000"
        body:
          description: The body contains a JSON object that is the event contents.
          example:
            dispatchId: d159acc0-e89b-12d3-a456-426614174000
            dispatchVehicleIds:
              - b331c130-e89b-12d3-a456-426614174000
      description: Details of an event.
      nullable: true
    SearchEventResponse:
      type: object
      properties:
        subscriptionId:
          type: string
          description: The ID of the subscription.
          format: uuid
          example: 50b2863f-c75e-45cb-8d50-b5a975d67865
        publishStatus:
          type: string
          description: The publish status of the event.
          example: SUCCESS
        createdOn:
          type: string
          description: The creation date and time of the integrator event record, in
            UTC/ISO 8601 format.
          format: date-time
          example: 2024-10-25T19:06:56.85Z
        eventData:
          $ref: "#/components/schemas/IntegratorEventResponse"
      description: Details of an event.
```
