Expense Categoryยถ

Get A Resource By IDยถ

HTTP Request

GET /api/v1/expense-categories/{id}

๐Ÿ“‹ Description: Retrieves detailed information about a specific expense category within the financial organization structure, identified by its unique ID, to support effective financial management and reporting.

Parameters

Name

In

Type

Required

Description

id

path

integer(int64)

true

Unique identifier for the resource

Responses

Status

Meaning

Description

Schema

200

OK

OK

ResponseExpenseCategoryDto

Update A Resourceยถ

HTTP Request

PUT /api/v1/expense-categories/{id}

๐Ÿ“‹ Description: Updates the details of a specific expense category within the financial organization structure, enabling users to refine the hierarchy and classification of financial entities.

Parameters

Name

In

Type

Required

Description

id

path

integer(int64)

true

Unique identifier for the resource

body

body

ExpenseCategoryDto

true

Request body containing the updated details for the specified expense category, including attributes such as name, description, and hierarchy level within the financial organization structure.

Responses

Status

Meaning

Description

Schema

200

OK

OK

ResponseExpenseCategoryDto

Deleteยถ

HTTP Request

DELETE /api/v1/expense-categories/{id}

๐Ÿ“‹ Description: Deletes a specified expense category from the financial organization structure, ensuring the hierarchy remains accurate and up-to-date for effective financial 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

ResponseVoid

Delete Or Decommissionยถ

HTTP Request

PUT /api/v1/expense-categories/remove/{id}

๐Ÿ“‹ Description: Removes a specified expense category from the financial organization structure, ensuring that the hierarchy remains accurate and up-to-date for effective financial 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

ResponseVoid

Delete Or Decommission Allยถ

HTTP Request

PUT /api/v1/expense-categories/remove/bulk

๐Ÿ“‹ Description: Removes multiple expense categories from the financial organization structure, streamlining the hierarchy of financial entities for improved management and reporting.

Parameters

Name

In

Type

Required

Description

body

body

array[integer]

true

Request body containing a list of expense category identifiers to be removed in bulk from the financial organization structure.

Responses

Status

Meaning

Description

Schema

200

OK

OK

ResponseVoid

Decommissionยถ

HTTP Request

PUT /api/v1/expense-categories/decommission/{id}

๐Ÿ“‹ Description: Decommissions a specified expense category within the financial organization structure, effectively removing it from the active hierarchy of financial entities. This operation ensures that the organizational structure remains up-to-date and aligned with current financial management practices.

Parameters

Name

In

Type

Required

Description

id

path

integer(int64)

true

Unique identifier for the resource

Responses

Status

Meaning

Description

Schema

200

OK

OK

ResponseExpenseCategoryDto

Decommission By Modification Date Beforeยถ

HTTP Request

PUT /api/v1/expense-categories/decommission/modified-before/{modified_before}

๐Ÿ“‹ Description: Decommissions expense categories within the financial organization structure that were modified before the specified date, ensuring the hierarchy remains current and aligned with organizational needs.

Parameters

Name

In

Type

Required

Description

modified_before

path

string(date-time)

true

Specifies the date and time before which expense categories will be decommissioned, facilitating the management of financial organization structures and hierarchies.

Responses

Status

Meaning

Description

Schema

200

OK

OK

ResponseListExpenseCategoryDto

Decommission Before Nowยถ

HTTP Request

PUT /api/v1/expense-categories/decommission/modified-before-now

๐Ÿ“‹ Description: Decommissions expense categories that have been modified before the current date, ensuring the financial organization structure remains up-to-date and aligned with the entityโ€™s operational hierarchy.

Responses

Status

Meaning

Description

Schema

200

OK

OK

ResponseListExpenseCategoryDto

Decommission Allยถ

HTTP Request

PUT /api/v1/expense-categories/decommission/bulk

๐Ÿ“‹ Description: Decommissions multiple expense categories in bulk, allowing financial organizations to efficiently manage their organizational structure and hierarchy by removing obsolete or redundant categories.

Parameters

Name

In

Type

Required

Description

body

body

array[integer]

true

Request body containing an array of expense category identifiers to be decommissioned in bulk, reflecting changes in the financial organization structure.

Responses

Status

Meaning

Description

Schema

200

OK

OK

ResponseListExpenseCategoryDto

Bulk Create-Or-Update Resourcesยถ

HTTP Request

PUT /api/v1/expense-categories/createOrUpdate/bulk

๐Ÿ“‹ Description: Creates or updates multiple expense categories in bulk within the financial organization structure, ensuring alignment with the hierarchical framework of the financial entity.

Parameters

Name

In

Type

Required

Description

body

body

ExpenseCategoryDto

true

Request body containing a list of expense category objects for bulk creation or update within the financial organization structure, including relevant identifiers and attributes.

Responses

Status

Meaning

Description

Schema

200

OK

OK

ResponseListExpenseCategoryDto

Create Or Update A Resourceยถ

HTTP Request

PUT /api/v1/expense-categories/createOrUpdate

๐Ÿ“‹ Description: Creates or updates expense categories within the financial organization structure, ensuring alignment with the entityโ€™s hierarchical framework.

Parameters

Name

In

Type

Required

Description

body

body

ExpenseCategoryDto

true

Request body containing the details of the expense category, including identifiers, attributes, and hierarchical relationships relevant to the financial organization structure.

Responses

Status

Meaning

Description

Schema

200

OK

OK

ResponseExpenseCategoryDto

Bulk-Update Resourcesยถ

HTTP Request

PUT /api/v1/expense-categories/bulk

๐Ÿ“‹ Description: Updates multiple expense categories within the financial organization structure, allowing for efficient management of hierarchical classifications essential for financial reporting and analysis.

Parameters

Name

In

Type

Required

Description

body

body

ExpenseCategoryDto

true

Request body containing an array of expense category objects to update the financial organization structure in bulk, ensuring alignment with the hierarchy of the financial entity.

Responses

Status

Meaning

Description

Schema

200

OK

OK

ResponseListExpenseCategoryDto

Bulk Createยถ

HTTP Request

POST /api/v1/expense-categories/bulk

๐Ÿ“‹ Description: Creates multiple expense categories in bulk for a financial organization, enabling efficient management of the organizationโ€™s financial structure and hierarchy.

Parameters

Name

In

Type

Required

Description

body

body

ExpenseCategoryDto

true

Request body containing a list of expense category definitions, including hierarchical relationships and associated metadata, to facilitate the structured organization of financial entities.

Responses

Status

Meaning

Description

Schema

200

OK

OK

ResponseListExpenseCategoryDto

Bulk Deleteยถ

HTTP Request

DELETE /api/v1/expense-categories/bulk

๐Ÿ“‹ Description: Deletes multiple expense categories within the financial organization structure, allowing for streamlined management of the hierarchy and organization of financial entities.

Parameters

Name

In

Type

Required

Description

body

body

array[integer]

true

Request body containing an array of expense category identifiers to be deleted, reflecting the financial organization structure and hierarchy.

Responses

Status

Meaning

Description

Schema

200

OK

OK

ResponseVoid

Search Resourcesยถ

HTTP Request

POST /api/v1/expense-categories/search

๐Ÿ“‹ Description: Submits a request to search for expense categories within the financial organization structure, allowing users to identify and categorize expenses based on the organizationโ€™s hierarchy and financial entity requirements.

Parameters

Name

In

Type

Required

Description

page

query

integer

false

Zero-based page index (0..N)

size

query

integer

false

The size of the page to be returned

sort

query

array[string]

false

Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.

body

body

ExpenseCategoryExtendedDtoFilter

false

Request body containing search criteria for expense categories within the financial organization structure, including filters for hierarchy and organizational context.

Default Valuesยถ

Parameter

Default

Type

page

0

query

size

100

query

sort

["createdAt,ASC"]

query

Parameter Constraintsยถ

Parameter

Constraints

page

Min: 0

size

Min: 1

Responses

Status

Meaning

Description

Schema

200

OK

OK

PageExpenseCategoryDto

List All Resourcesยถ

HTTP Request

GET /api/v1/expense-categories

๐Ÿ“‹ Description: Retrieves a list of expense categories within the financial organization structure, enabling users to understand the hierarchical classification of financial entities. This operation supports effective budget management and financial reporting.

Parameters

Name

In

Type

Required

Description

pageable

query

Pageable

true

Indicates whether the response should be paginated, allowing users to efficiently navigate through the hierarchy of expense categories within the financial organization structure.

Responses

Status

Meaning

Description

Schema

200

OK

OK

PageExpenseCategoryDto

Createยถ

HTTP Request

POST /api/v1/expense-categories

๐Ÿ“‹ Description: Creates a new expense category within the financial organization structure, enabling the classification and management of expenses according to the established hierarchy of the financial entity.

Parameters

Name

In

Type

Required

Description

body

body

ExpenseCategoryDto

true

Request body containing the details of new expense categories, including category name, description, and associated financial hierarchy, to enhance the organizationโ€™s financial structure.

Responses

Status

Meaning

Description

Schema

200

OK

OK

ResponseExpenseCategoryDto

Get Metadataยถ

HTTP Request

GET /api/v1/expense-categories/meta

๐Ÿ“‹ Description: Retrieves metadata for expense categories within the financial organization structure, providing essential information for understanding the hierarchy and classification of financial entities.

Responses

Status

Meaning

Description

Schema

200

OK

OK

Inline

Response Schema