Events

List all the events that match the specified criteria in the request.

post/v2/events/list

Request

  • Base URL
    https://api-ext-sboxmeta.partners.spotnana.com
  • Auth
    HTTP bearer

Request body

listEventType'UPCOMING' | 'PAST_OR_COMPLETED' | 'CANCELLED_EVENT'

Type of events

listByTravelerEventsboolean

Whether listing travelers or events.

offsetinteger

Indicates from where in the list of events the server should start.

limitinteger

Maximum number of results to be fetched for the query.

Example request

{
  "listEventType": "UPCOMING",
  "filters": [
    {
      "eventStatusFilter": [
        "DRAFT"
      ]
    }
  ],
  "travelerFilters": [
    {
      "searchTerm": "name"
    }
  ],
  "listByTravelerEvents": true,
  "offset": 2,
  "limit": 2,
  "sortOptions": [
    {
      "sortOrder": "DESC"
    }
  ]
}

Response

OK

Changes

    • info

      the response's property default value false was removed for the status

    • info

      the response's property default value false was removed for the status

    • info

      the response's property default value false was removed for the status

    • warning

      added the new BCD enum value to the //////// response property for the response status

    • warning

      added the new CWT enum value to the //////// response property for the response status

    • warning

      added the new DELAYED_PAYMENT enum value to the //////////// response property for the response status

    • warning

      added the new DELAYED_PAYMENT enum value to the //////////// response property for the response status

    • warning

      added the new DELAYED_PAYMENT enum value to the ////////////// response property for the response status

    • warning

      added the new DELAYED_PAYMENT enum value to the ///////// response property for the response status

    • warning

      added the new DELAYED_PAYMENT enum value to the /////////// response property for the response status

    • warning

      added the new MAGNATECH enum value to the //////// response property for the response status

    • warning

      added the new OBT enum value to the //////// response property for the response status