BizKitHub
DocsAPI ReferenceBranch/bff/branch/closure-list
getBranchAdmin BFF

/bff/branch/closure-list

Returns every closure ("výluka") for the branch in start-date-desc order. Each row carries a status flag (active | scheduled | past) derived from the current time so the admin can colour-code without redoing the math client-side. Soft-deleted rows are filtered out.

BranchgetBffBranchClosure-list

Parameters

1 query

Query parameters

· 1
branchSlugstringRequired

Branch slug.

Examplegymroom-vinohrady

Response schema

1 status code documented

200Success
itemsobject[]Required
Each array item:
idstringRequired

External 24-char id of the closure.

startDatestringRequired

ISO timestamp the closure begins.

endDatestringOptional

ISO timestamp the closure ends. Omitted = open-ended ("until further notice").

reasonstringRequired
insertedDatestringRequired
updatedDatestringRequired
status"active" | "scheduled" | "past"Required
authorMemberNamestringOptional

Response example

application/json
{
  "items": [
    {
      "id": "example_id",
      "startDate": "example_startDate",
      "endDate": "example_endDate",
      "reason": "example_reason",
      "insertedDate": "example_insertedDate",
      "updatedDate": "example_updatedDate",
      "authorMemberName": "example_authorMemberName"
    }
  ]
}

Request example

GET /bff/branch/closure-list

get
curl -X GET "https://api.bizkithub.com/bff/branch/closure-list?branchSlug=gymroom-vinohrady" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY"

Need an API key?

All BizKitHub public API endpoints require authentication via API key.

Get API Key