DocsAPI ReferenceBranch Cost/bff/branch-cost/monthly-breakdown
getBranch CostAdmin BFF

/bff/branch-cost/monthly-breakdown

Returns the cost matrix powering the Costs tab on the branch detail page: rows = months in the requested window, cells = computed amount per cost line (fixed → defaultAmount, variable → entry amount, 0 + flagged when missing). Also returns row totals (per month) and column totals (per cost), so the grid can show the "Celkem" column without recomputing.

Branch CostgetBffBranch-costMonthly-breakdown

Parameters

2 query

2 total
Query · 2
branchSlugstringRequired
monthCountstring

Default 24, clamped to [1, 60].

Request

GET /bff/branch-cost/monthly-breakdown

get
curl -X GET "https://api.bizkithub.com/bff/branch-cost/monthly-breakdown?branchSlug=example_branchSlug&monthCount=example_monthCount" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY"

Response

JSON payload

{
  "success": true
}

All response codes

1 status code documented

Need an API key?

All BizKitHub API endpoints require authentication via API key.

Get API Key