Skip to content

Latest commit

 

History

History
52 lines (44 loc) · 1.32 KB

list-bookings-response.md

File metadata and controls

52 lines (44 loc) · 1.32 KB

List Bookings Response

Structure

ListBookingsResponse

Fields

Name Type Tags Description
bookings Booking[] | undefined Optional The list of targeted bookings.
cursor string | undefined Optional The pagination cursor to be used in the subsequent request to get the next page of the results. Stop retrieving the next page of the results when the cursor is not set.
Constraints: Maximum Length: 65536
errors Error[] | undefined Optional Errors that occurred during the request.

Example (as JSON)

{
  "bookings": [
    {
      "id": "id4",
      "version": 218,
      "status": "ACCEPTED",
      "created_at": "created_at2",
      "updated_at": "updated_at0"
    }
  ],
  "cursor": "cursor6",
  "errors": [
    {
      "category": "MERCHANT_SUBSCRIPTION_ERROR",
      "code": "MAP_KEY_LENGTH_TOO_LONG",
      "detail": "detail6",
      "field": "field4"
    },
    {
      "category": "MERCHANT_SUBSCRIPTION_ERROR",
      "code": "MAP_KEY_LENGTH_TOO_LONG",
      "detail": "detail6",
      "field": "field4"
    },
    {
      "category": "MERCHANT_SUBSCRIPTION_ERROR",
      "code": "MAP_KEY_LENGTH_TOO_LONG",
      "detail": "detail6",
      "field": "field4"
    }
  ]
}