Skip to content

Latest commit

 

History

History
52 lines (44 loc) · 1.29 KB

list-bookings-response.md

File metadata and controls

52 lines (44 loc) · 1.29 KB

List Bookings Response

Structure

List Bookings Response

Fields

Name Type Tags Description
bookings Array<Booking Hash> Optional The list of targeted bookings.
cursor String 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 Array<Error Hash> 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": "INVALID_EXPIRATION",
      "detail": "detail6",
      "field": "field4"
    },
    {
      "category": "MERCHANT_SUBSCRIPTION_ERROR",
      "code": "INVALID_EXPIRATION",
      "detail": "detail6",
      "field": "field4"
    },
    {
      "category": "MERCHANT_SUBSCRIPTION_ERROR",
      "code": "INVALID_EXPIRATION",
      "detail": "detail6",
      "field": "field4"
    }
  ]
}