Skip to content

Latest commit

 

History

History
52 lines (44 loc) · 1.42 KB

list-bookings-response.md

File metadata and controls

52 lines (44 loc) · 1.42 KB

List Bookings Response

Structure

ListBookingsResponse

Fields

Name Type Tags Description Getter
Bookings List<Booking> Optional The list of targeted bookings. List getBookings()
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
String getCursor()
Errors List<Error> Optional Errors that occurred during the request. List getErrors()

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"
    }
  ]
}