Budget Resource

Get Budget By ID

HTTP Request

GET /api/budget/{id}

📋 Description: Retrieves detailed information about a specific budget identified by the provided ID, enabling users to access financial data for analysis and decision-making.

Parameters

Name

In

Type

Required

Description

id

path

integer(int64)

true

Unique identifier for the resource

Responses

Status

Meaning

Description

Schema

200

OK

OK

BudgetDTO

Update Budget

HTTP Request

PUT /api/budget/{id}

📋 Description: Updates the budget details for the specified budget ID, allowing for modifications to financial allocations and projections to align with organizational goals.

Parameters

Name

In

Type

Required

Description

id

path

integer(int64)

true

Unique identifier for the resource

body

body

BudgetDTO

true

Request body containing the updated budget details, including allocation amounts and associated metadata for the specified budget ID.

Responses

Status

Meaning

Description

Schema

200

OK

OK

None

Delete Budget

HTTP Request

DELETE /api/budget/{id}

📋 Description: Deletes a specified budget entry identified by its unique ID, ensuring the removal of outdated or unnecessary financial records from the system.

Parameters

Name

In

Type

Required

Description

id

path

integer(int64)

true

Unique identifier for the resource

Responses

Status

Meaning

Description

Schema

204

No Content

No Content

None

Create Budget

HTTP Request

POST /api/budget

📋 Description: Creates a new budget entry, allowing organizations to allocate financial resources effectively and manage their fiscal planning.

Parameters

Name

In

Type

Required

Description

body

body

BudgetDTO

true

Request body containing the budget allocation details, including amounts, categories, and relevant metadata for financial planning.

Responses

Status

Meaning

Description

Schema

201

Created

Created

BudgetDTO

Get Budget By Premises ID

HTTP Request

GET /api/budget/{id}/premises

📋 Description: Retrieves a list of premises associated with a specific budget, providing insights into resource allocation and facility management.

Parameters

Name

In

Type

Required

Description

id

path

integer(int64)

true

Unique identifier for the resource

Responses

Status

Meaning

Description

Schema

200

OK

OK

BudgetDTO

Get All Budget Type

HTTP Request

GET /api/budget/budgetType

📋 Description: Fetches the available budget types to assist in budget allocation and management processes.

Responses

Status

Meaning

Description

Schema

200

OK

OK

Inline

Response Schema