Entitetsöversikt
Budgetar
Exponera Flowtly‑budgetar i finansverktyg så allokeringar, alerts och approvals hålls synkade.
API‑slutpunkter
/api/budgets
Lista budgetar
Hämta paginerade budgetar med valfri filtrering på typ eller giltighet.
/api/budgets
Skapa budget
Posta en ny budget med dataintervall, gruppering och konfigurationsflaggor.
/api/budgets/{id}
Hämta budget via ID
Hämta en specifik budget för att granska allokeringar och metadata.
/api/budgets/{id}
Uppdatera budget
Patcha budgetdatum, granularitet eller konfigurationsflaggor.
/api/budgets/{id}
Radera budget
Ta bort en budget som inte längre ska spåras.
/api/budget-contractors
List budget-contractors
Retrieve budget-contractor records.
/api/budget-contractors
Create budget-contractor
Create a new budget-contractor mapping.
/api/budget-contractors/{id}
Get budget-contractor
Fetch a budget-contractor by ID.
/api/budget-contractors/{id}
Delete budget-contractor
Remove a budget-contractor mapping.
/api/budget-employees
List budget-employees
Retrieve employee budget allocations.
/api/budget-employees
Create budget-employee
Create a new budget-employee allocation.
/api/budget-employees/{id}
Get budget-employee
Fetch a budget-employee allocation.
/api/budget-employees/{id}
Delete budget-employee
Remove a budget-employee allocation.
/api/budget-groups
List budget-groups
Retrieve budget groups.
/api/budget-groups
Create budget-group
Create a new budget group.
/api/budget-groups/{id}
Get budget-group
Fetch a budget group by ID.
/api/budget-groups/{id}
Update budget-group
Patch a budget group.
/api/budget-groups/{id}
Delete budget-group
Remove a budget group.
/api/budget-invoices
List budget-invoices
Retrieve budget-linked invoices.
/api/budget-invoices
Create budget-invoice
Create a budget invoice mapping.
/api/budget-invoices/{id}
Get budget-invoice
Fetch a budget invoice mapping.
/api/budget-invoices/{id}
Delete budget-invoice
Remove a budget invoice mapping.
/api/budget-projects
List budget-projects
Retrieve project allocations under budgets.
/api/budget-projects
Create budget-project
Create a budget-project allocation.
/api/budget-projects/{id}
Get budget-project
Fetch a budget-project allocation.
/api/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 | Unikt budget‑ID. |
name |
string | Beskrivande budgetnamn. |
type |
string | Budgetens omfattning (global eller per anställd). |
granularity |
string | Rapporteringsnivå som månad eller kvartal. |
budgetGroup |
string | null | IRI för budgetgruppen denna budget tillhör. |
dateFrom |
string | null | Start för budgetens giltighet. |
dateTo |
string | null | Slut för budgetens giltighet. |
config |
array | Aktiva alternativ, t.ex. spend‑alerts. |
budgetEmployees |
array | Medarbetarallokeringar i budgeten. |
Exempel
/api/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"
]
}