Departmentยถ

Department - Getยถ

HTTP Request

GET /api/v1/departments/{id}

๐Ÿ“‹ Description: Retrieves detailed information about a specific department within the financial organization structure, identified by the provided department ID. This operation supports the understanding of organizational hierarchy and structure 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

ResponseDepartmentDto

Department - Updateยถ

HTTP Request

PUT /api/v1/departments/{id}

๐Ÿ“‹ Description: Updates the details of a specific department within the financial organization structure, allowing for modifications to the hierarchy and organizational attributes of the entity identified by the provided ID.

Parameters

Name

In

Type

Required

Description

id

path

integer(int64)

true

Unique identifier for the resource

body

body

DepartmentDto

true

Request body containing updated details for the specified department, including its name, hierarchy level, and associated financial entity attributes.

Responses

Status

Meaning

Description

Schema

200

OK

OK

ResponseDepartmentDto

Department - Deleteยถ

HTTP Request

DELETE /api/v1/departments/{id}

๐Ÿ“‹ Description: Deletes a specified department from the financial organization structure, ensuring the hierarchy remains accurate and up-to-date within the financial entity.

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

Department - Delete Or Decommissionยถ

HTTP Request

PUT /api/v1/departments/remove/{id}

๐Ÿ“‹ Description: Removes a specified department from the financial organization structure, ensuring the hierarchy remains accurate and up-to-date within the entity.

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

Department - Delete Or Decommission Allยถ

HTTP Request

PUT /api/v1/departments/remove/bulk

๐Ÿ“‹ Description: Removes multiple departments from the financial organization structure in a single operation, streamlining the management of organizational hierarchy within the financial entity.

Parameters

Name

In

Type

Required

Description

body

body

array[integer]

true

Request body containing an array of department identifiers to be removed in bulk from the financial organization structure, ensuring an updated hierarchy within the entity.

Responses

Status

Meaning

Description

Schema

200

OK

OK

ResponseVoid

Department - Decommissionยถ

HTTP Request

PUT /api/v1/departments/decommission/{id}

๐Ÿ“‹ Description: Decommissions a specified department within the financial organization structure, effectively removing it from the active hierarchy and ensuring alignment with organizational changes. This operation is essential for maintaining an accurate representation of the entityโ€™s structure.

Parameters

Name

In

Type

Required

Description

id

path

integer(int64)

true

Unique identifier for the resource

Responses

Status

Meaning

Description

Schema

200

OK

OK

ResponseDepartmentDto

Department - Decommission By Modification Date Beforeยถ

HTTP Request

PUT /api/v1/departments/decommission/modified-before/{modified_before}

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

Parameters

Name

In

Type

Required

Description

modified_before

path

string(date-time)

true

Specifies the cutoff date for decommissioning departments that were modified before the given date, ensuring alignment with the organizationโ€™s financial structure and hierarchy.

Responses

Status

Meaning

Description

Schema

200

OK

OK

ResponseListDepartmentDto

Department - Decommission Before Nowยถ

HTTP Request

PUT /api/v1/departments/decommission/modified-before-now

๐Ÿ“‹ Description: Decommissions departments within the financial organization structure that were modified before the current timestamp, ensuring an updated and accurate hierarchy of the organization.

Responses

Status

Meaning

Description

Schema

200

OK

OK

ResponseListDepartmentDto

Department - Decommission Allยถ

HTTP Request

PUT /api/v1/departments/decommission/bulk

๐Ÿ“‹ Description: Updates the status of multiple departments to โ€˜decommissionedโ€™ within the financial organization structure, facilitating the management of organizational hierarchy and ensuring accurate representation of active entities.

Parameters

Name

In

Type

Required

Description

body

body

array[integer]

true

Request body containing a list of department identifiers and their corresponding decommissioning details to facilitate the restructuring of the financial organization hierarchy.

Responses

Status

Meaning

Description

Schema

200

OK

OK

ResponseListDepartmentDto

Department - Create Or Update Bulkยถ

HTTP Request

PUT /api/v1/departments/createOrUpdate/bulk

๐Ÿ“‹ Description: Creates or updates multiple departments within the financial organization structure, allowing for efficient management of organizational hierarchy and alignment of financial entities.

Parameters

Name

In

Type

Required

Description

body

body

DepartmentDto

true

Request body containing bulk data for creating or updating departmental structures within the financial organization hierarchy, including relevant attributes and identifiers.

Responses

Status

Meaning

Description

Schema

200

OK

OK

ResponseListDepartmentDto

Department - Create Or Updateยถ

HTTP Request

PUT /api/v1/departments/createOrUpdate

๐Ÿ“‹ Description: Creates or updates department information within the financial organization structure, ensuring accurate representation of the organizational hierarchy for effective management of financial entities.

Parameters

Name

In

Type

Required

Description

body

body

DepartmentDto

true

Request body containing the department information, including hierarchy details and financial entity attributes, for creating or updating organizational structures within the financial organization.

Responses

Status

Meaning

Description

Schema

200

OK

OK

ResponseDepartmentDto

Department - Bulk Updateยถ

HTTP Request

PUT /api/v1/departments/bulk

๐Ÿ“‹ Description: Updates multiple departments within the financial organization structure in a single request, allowing for efficient management of organizational hierarchy and alignment with business objectives.

Parameters

Name

In

Type

Required

Description

body

body

DepartmentDto

true

Request body containing a bulk update of department data, including hierarchical relationships and financial entity attributes, to enhance the organizational structure within the financial organization.

Responses

Status

Meaning

Description

Schema

200

OK

OK

ResponseListDepartmentDto

Department - Bulk Createยถ

HTTP Request

POST /api/v1/departments/bulk

๐Ÿ“‹ Description: Creates multiple departments within the financial organization structure in a single request, facilitating efficient management of organizational hierarchy and enhancing the overall structure of the financial entity.

Parameters

Name

In

Type

Required

Description

body

body

DepartmentDto

true

Request body containing a collection of department data, including organizational hierarchy and financial entity attributes, for bulk creation or updates within the financial organization structure.

Responses

Status

Meaning

Description

Schema

200

OK

OK

ResponseListDepartmentDto

Department - Bulk Deleteยถ

HTTP Request

DELETE /api/v1/departments/bulk

๐Ÿ“‹ Description: Deletes multiple departments within the financial organization structure, allowing for efficient management of the organizational hierarchy and ensuring alignment with the evolving needs of the financial entity.

Parameters

Name

In

Type

Required

Description

body

body

array[integer]

true

Request body containing an array of department identifiers to facilitate the bulk deletion of organizational units within the financial entityโ€™s structure.

Responses

Status

Meaning

Description

Schema

200

OK

OK

ResponseVoid

Department - Detach Companyยถ

HTTP Request

POST /api/v1/departments/detach/company/{company_id}

๐Ÿ“‹ Description: Detaches a specified company from its associated department within the financial organization structure, facilitating adjustments to the organizational hierarchy. This operation is essential for maintaining accurate relationships between financial entities.

Parameters

Name

In

Type

Required

Description

company_id

path

integer(int64)

true

Unique identifier for the financial entity within the organizational structure, used to specify which companyโ€™s department is being detached.

body

body

DepartmentDto

true

Request body containing the details of the department to be detached from the specified company, including relevant identifiers and hierarchical information within the financial organization structure.

Responses

Status

Meaning

Description

Schema

200

OK

OK

ResponseVoid

Department - Attach Companyยถ

HTTP Request

POST /api/v1/departments/attach/company/{company_id}

๐Ÿ“‹ Description: Attaches a specified company to a department within the financial organization structure, facilitating the establishment of hierarchical relationships and enhancing organizational clarity.

Parameters

Name

In

Type

Required

Description

company_id

path

integer(int64)

true

Unique identifier for the financial entity to which the department will be attached within the organizational structure.

body

body

DepartmentDto

true

Request body containing the department details to be attached to the specified company, including organizational hierarchy and structural attributes relevant to the financial entity.

Responses

Status

Meaning

Description

Schema

200

OK

OK

ResponseVoid

Department - Find Allยถ

HTTP Request

GET /api/v1/departments

๐Ÿ“‹ Description: Retrieves a comprehensive list of departments within the financial organization structure, enabling users to understand the hierarchy and relationships among various financial entities.

Parameters

Name

In

Type

Required

Description

pageable

query

Pageable

true

Indicates whether the results of the department query should be paginated, facilitating efficient navigation through the organizational structure of the financial entity.

Responses

Status

Meaning

Description

Schema

200

OK

OK

PageDepartmentDto

Department - Createยถ

HTTP Request

POST /api/v1/departments

๐Ÿ“‹ Description: Creates a new department within the financial organization structure, enabling the establishment of a hierarchical framework for managing financial entities.

Parameters

Name

In

Type

Required

Description

body

body

DepartmentDto

true

Request body containing the details of a new department, including its name, hierarchy level, and associated financial entity attributes within the organizational structure.

Responses

Status

Meaning

Description

Schema

200

OK

OK

ResponseDepartmentDto

Department - Get Metadataยถ

HTTP Request

GET /api/v1/departments/meta

๐Ÿ“‹ Description: Retrieves metadata related to the organizational structure of financial entities, providing insights into departmental hierarchy and relationships within the organization.

Responses

Status

Meaning

Description

Schema

200

OK

OK

Inline

Response Schema

Department - Get All By Companyยถ

HTTP Request

GET /api/v1/departments/company/{id}

๐Ÿ“‹ Description: Retrieves the hierarchical structure of departments within a specified financial organization, allowing users to understand the organizational framework and relationships among various entities.

Parameters

Name

In

Type

Required

Description

id

path

integer(int64)

true

Unique identifier for the resource

pageable

query

Pageable

true

Indicates whether the results should be returned in a paginated format, facilitating efficient retrieval of departmental information within the financial organization structure.

Responses

Status

Meaning

Description

Schema

200

OK

OK

PageDepartmentDto