Entitetsöversikt
Budgetar
Exponera Flowtly‑budgetar i finansverktyg så allokeringar, alerts och approvals hålls synkade.
API‑slutpunkter
https://api.flowtly.eu/budgets
Lista budgetar
Hämta paginerade budgetar med valfri filtrering på typ eller giltighet.
https://api.flowtly.eu/budgets
Skapa budget
Posta en ny budget med dataintervall, gruppering och konfigurationsflaggor.
https://api.flowtly.eu/budgets/{id}
Hämta budget via ID
Hämta en specifik budget för att granska allokeringar och metadata.
https://api.flowtly.eu/budgets/{id}
Uppdatera budget
Patcha budgetdatum, granularitet eller konfigurationsflaggor.
https://api.flowtly.eu/budgets/{id}
Radera budget
Ta bort en budget som inte längre ska spåras.
https://api.flowtly.eu/budget-contractors
List budget-contractors
Retrieve budget-contractor records.
https://api.flowtly.eu/budget-contractors
Create budget-contractor
Create a new budget-contractor mapping.
https://api.flowtly.eu/budget-contractors/{id}
Get budget-contractor
Fetch a budget-contractor by ID.
https://api.flowtly.eu/budget-contractors/{id}
Delete budget-contractor
Remove a budget-contractor mapping.
https://api.flowtly.eu/budget-employees
List budget-employees
Retrieve employee budget allocations.
https://api.flowtly.eu/budget-employees
Create budget-employee
Create a new budget-employee allocation.
https://api.flowtly.eu/budget-employees/{id}
Get budget-employee
Fetch a budget-employee allocation.
https://api.flowtly.eu/budget-employees/{id}
Delete budget-employee
Remove a budget-employee allocation.
https://api.flowtly.eu/budget-groups
List budget-groups
Retrieve budget groups.
https://api.flowtly.eu/budget-groups
Create budget-group
Create a new budget group.
https://api.flowtly.eu/budget-groups/{id}
Get budget-group
Fetch a budget group by ID.
https://api.flowtly.eu/budget-groups/{id}
Update budget-group
Patch a budget group.
https://api.flowtly.eu/budget-groups/{id}
Delete budget-group
Remove a budget group.
https://api.flowtly.eu/budget-invoices
List budget-invoices
Retrieve budget-linked invoices.
https://api.flowtly.eu/budget-invoices
Create budget-invoice
Create a budget invoice mapping.
https://api.flowtly.eu/budget-invoices/{id}
Get budget-invoice
Fetch a budget invoice mapping.
https://api.flowtly.eu/budget-invoices/{id}
Delete budget-invoice
Remove a budget invoice mapping.
https://api.flowtly.eu/budget-projects
List budget-projects
Retrieve project allocations under budgets.
https://api.flowtly.eu/budget-projects
Create budget-project
Create a budget-project allocation.
https://api.flowtly.eu/budget-projects/{id}
Get budget-project
Fetch a budget-project allocation.
https://api.flowtly.eu/budget-projects/{id}
Delete budget-project
Remove a budget-project allocation.
Användningsfall
Schemafält
Budget-budget.read_budget_employee.read| Fält | Typ | Beskrivning |
|---|---|---|
id |
string | Identifier of the budget. |
name |
string | Human-readable label (e.g. EMEA Marketing FY25). |
type |
string | Either global or employee-level budget. |
granularity |
string | Aggregation interval for reporting (month, quarter). |
budgetGroup |
string | null | Optional reference to a budget group. |
dateFrom |
string | null | Start of the validity window. |
dateTo |
string | null | End of the validity window. |
config |
array | Feature flags such as spend alerts. |
budgetEmployees |
array | Employee allocations tied to the budget. |
Exempel
https://api.flowtly.eu/budgets
Skapa en global marknadsbudget
Sätter upp en FY25‑marknadsbudget kopplad till en befintlig budgetgrupp med automationsflaggor.
{
"name": "EMEA Marketing FY25",
"type": "global",
"granularity": "month",
"dateFrom": "2024-01-01T00:00:00+00:00",
"dateTo": "2024-12-31T00:00:00+00:00",
"budgetGroup": "/api/budget-groups/emarketing",
"config": [
"spend_alerts",
"auto-freeze"
]
}
{
"@id": "/api/budgets/bgt_fy25",
"@type": "Budget",
"id": "bgt_fy25",
"name": "EMEA Marketing FY25",
"type": "global",
"granularity": "month",
"dateFrom": "2024-01-01T00:00:00+00:00",
"dateTo": "2024-12-31T00:00:00+00:00",
"budgetGroup": "/api/budget-groups/emarketing",
"config": [
"spend_alerts",
"auto-freeze"
]
}