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

1 total
Query · 1
branchSlugstringRequired

Branch slug.

Request

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"

Response

JSON payload

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

All response codes

1 status code documented

Need an API key?

All BizKitHub API endpoints require authentication via API key.

Get API Key