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 |
Example Responses
1{
2 "code": "UPDATED",
3 "errors": {
4 "all": [
5 {
6 "type": "GENERIC",
7 "errorMessage": "string",
8 "source": {},
9 "field": "string",
10 "errorKey": "string"
11 }
12 ]
13 },
14 "object": {
15 "id": 0,
16 "status": "CREATED",
17 "displayId": "string",
18 "name": "string",
19 "companyId": 0,
20 "leaseGroupId": 0
21 }
22}
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 |
true |
Request body containing updated details for the specified department, including its name, hierarchy level, and associated financial entity attributes. |
Body Parameters
1{
2 "id": 0,
3 "status": "CREATED",
4 "displayId": "string",
5 "name": "string",
6 "companyId": 0,
7 "leaseGroupId": 0
8}
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "code": "UPDATED",
3 "errors": {
4 "all": [
5 {
6 "type": "GENERIC",
7 "errorMessage": "string",
8 "source": {},
9 "field": "string",
10 "errorKey": "string"
11 }
12 ]
13 },
14 "object": {
15 "id": 0,
16 "status": "CREATED",
17 "displayId": "string",
18 "name": "string",
19 "companyId": 0,
20 "leaseGroupId": 0
21 }
22}
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 |
Example Responses
1{
2 "code": "UPDATED",
3 "errors": {
4 "all": [
5 {
6 "type": "GENERIC",
7 "errorMessage": "string",
8 "source": {},
9 "field": "string",
10 "errorKey": "string"
11 }
12 ]
13 },
14 "object": {}
15}
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 |
Example Responses
1{
2 "code": "UPDATED",
3 "errors": {
4 "all": [
5 {
6 "type": "GENERIC",
7 "errorMessage": "string",
8 "source": {},
9 "field": "string",
10 "errorKey": "string"
11 }
12 ]
13 },
14 "object": {}
15}
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. |
Body Parameters
1[
2 0
3]
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "code": "UPDATED",
3 "errors": {
4 "all": [
5 {
6 "type": "GENERIC",
7 "errorMessage": "string",
8 "source": {},
9 "field": "string",
10 "errorKey": "string"
11 }
12 ]
13 },
14 "object": {}
15}
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 |
Example Responses
1{
2 "code": "UPDATED",
3 "errors": {
4 "all": [
5 {
6 "type": "GENERIC",
7 "errorMessage": "string",
8 "source": {},
9 "field": "string",
10 "errorKey": "string"
11 }
12 ]
13 },
14 "object": {
15 "id": 0,
16 "status": "CREATED",
17 "displayId": "string",
18 "name": "string",
19 "companyId": 0,
20 "leaseGroupId": 0
21 }
22}
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 |
Example Responses
1{
2 "code": "UPDATED",
3 "errors": {
4 "all": [
5 {
6 "type": "GENERIC",
7 "errorMessage": "string",
8 "source": {},
9 "field": "string",
10 "errorKey": "string"
11 }
12 ]
13 },
14 "object": [
15 {
16 "id": 0,
17 "status": "CREATED",
18 "displayId": "string",
19 "name": "string",
20 "companyId": 0,
21 "leaseGroupId": 0
22 }
23 ]
24}
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 |
Example Responses
1{
2 "code": "UPDATED",
3 "errors": {
4 "all": [
5 {
6 "type": "GENERIC",
7 "errorMessage": "string",
8 "source": {},
9 "field": "string",
10 "errorKey": "string"
11 }
12 ]
13 },
14 "object": [
15 {
16 "id": 0,
17 "status": "CREATED",
18 "displayId": "string",
19 "name": "string",
20 "companyId": 0,
21 "leaseGroupId": 0
22 }
23 ]
24}
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. |
Body Parameters
1[
2 0
3]
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "code": "UPDATED",
3 "errors": {
4 "all": [
5 {
6 "type": "GENERIC",
7 "errorMessage": "string",
8 "source": {},
9 "field": "string",
10 "errorKey": "string"
11 }
12 ]
13 },
14 "object": [
15 {
16 "id": 0,
17 "status": "CREATED",
18 "displayId": "string",
19 "name": "string",
20 "companyId": 0,
21 "leaseGroupId": 0
22 }
23 ]
24}
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 |
true |
Request body containing bulk data for creating or updating departmental structures within the financial organization hierarchy, including relevant attributes and identifiers. |
Body Parameters
1[
2 {
3 "id": 0,
4 "status": "CREATED",
5 "displayId": "string",
6 "name": "string",
7 "companyId": 0,
8 "leaseGroupId": 0
9 }
10]
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "code": "UPDATED",
3 "errors": {
4 "all": [
5 {
6 "type": "GENERIC",
7 "errorMessage": "string",
8 "source": {},
9 "field": "string",
10 "errorKey": "string"
11 }
12 ]
13 },
14 "object": [
15 {
16 "id": 0,
17 "status": "CREATED",
18 "displayId": "string",
19 "name": "string",
20 "companyId": 0,
21 "leaseGroupId": 0
22 }
23 ]
24}
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 |
true |
Request body containing the department information, including hierarchy details and financial entity attributes, for creating or updating organizational structures within the financial organization. |
Body Parameters
1{
2 "id": 0,
3 "status": "CREATED",
4 "displayId": "string",
5 "name": "string",
6 "companyId": 0,
7 "leaseGroupId": 0
8}
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "code": "UPDATED",
3 "errors": {
4 "all": [
5 {
6 "type": "GENERIC",
7 "errorMessage": "string",
8 "source": {},
9 "field": "string",
10 "errorKey": "string"
11 }
12 ]
13 },
14 "object": {
15 "id": 0,
16 "status": "CREATED",
17 "displayId": "string",
18 "name": "string",
19 "companyId": 0,
20 "leaseGroupId": 0
21 }
22}
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 |
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. |
Body Parameters
1[
2 {
3 "id": 0,
4 "status": "CREATED",
5 "displayId": "string",
6 "name": "string",
7 "companyId": 0,
8 "leaseGroupId": 0
9 }
10]
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "code": "UPDATED",
3 "errors": {
4 "all": [
5 {
6 "type": "GENERIC",
7 "errorMessage": "string",
8 "source": {},
9 "field": "string",
10 "errorKey": "string"
11 }
12 ]
13 },
14 "object": [
15 {
16 "id": 0,
17 "status": "CREATED",
18 "displayId": "string",
19 "name": "string",
20 "companyId": 0,
21 "leaseGroupId": 0
22 }
23 ]
24}
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 |
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. |
Body Parameters
1[
2 {
3 "id": 0,
4 "status": "CREATED",
5 "displayId": "string",
6 "name": "string",
7 "companyId": 0,
8 "leaseGroupId": 0
9 }
10]
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "code": "UPDATED",
3 "errors": {
4 "all": [
5 {
6 "type": "GENERIC",
7 "errorMessage": "string",
8 "source": {},
9 "field": "string",
10 "errorKey": "string"
11 }
12 ]
13 },
14 "object": [
15 {
16 "id": 0,
17 "status": "CREATED",
18 "displayId": "string",
19 "name": "string",
20 "companyId": 0,
21 "leaseGroupId": 0
22 }
23 ]
24}
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. |
Body Parameters
1[
2 0
3]
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "code": "UPDATED",
3 "errors": {
4 "all": [
5 {
6 "type": "GENERIC",
7 "errorMessage": "string",
8 "source": {},
9 "field": "string",
10 "errorKey": "string"
11 }
12 ]
13 },
14 "object": {}
15}
Department - Searchยถ
HTTP Request
POST /api/v1/departments/search
๐ Description: Submits a search query to retrieve specific department information within the financial organization structure, enabling users to navigate and understand the hierarchy of financial entities.
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 |
false |
Request body containing search criteria for identifying specific departments within the financial organization structure, including attributes such as department name, hierarchy level, and organizational unit. |
Default Valuesยถ
Parameter |
Default |
Type |
|---|---|---|
page |
|
query |
size |
|
query |
sort |
|
query |
Parameter Constraintsยถ
Parameter |
Constraints |
|---|---|
page |
Min: 0 |
size |
Min: 1 |
Body Parameters
1{
2 "idIn": [
3 0
4 ],
5 "idEqual": 0,
6 "idLike": "string",
7 "createdAtGreaterThanOrEqual": "2019-08-24T14:15:22Z",
8 "createdAtLessThanOrEqual": "2019-08-24T14:15:22Z",
9 "createdByLike": "string",
10 "createdByEqual": "string",
11 "modifiedAtGreaterThanOrEqual": "2019-08-24T14:15:22Z",
12 "modifiedAtLessThanOrEqual": "2019-08-24T14:15:22Z",
13 "modifiedByLike": "string",
14 "modifiedByEqual": "string",
15 "statusEqual": "CREATED",
16 "statusIn": [
17 "CREATED"
18 ],
19 "displayIdIn": [
20 "string"
21 ],
22 "displayIdLike": "string",
23 "uiSelector": "string",
24 "nameLike": "string",
25 "companyIdEqual": 0,
26 "leaseGroupIdEqual": 0
27}
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "totalElements": 0,
3 "totalPages": 0,
4 "pageable": {
5 "pageNumber": 0,
6 "paged": true,
7 "pageSize": 0,
8 "unpaged": true,
9 "offset": 0,
10 "sort": {
11 "unsorted": true,
12 "sorted": true,
13 "empty": true
14 }
15 },
16 "numberOfElements": 0,
17 "size": 0,
18 "content": [
19 {
20 "id": 0,
21 "status": "CREATED",
22 "displayId": "string",
23 "name": "string",
24 "companyId": 0,
25 "leaseGroupId": 0
26 }
27 ],
28 "number": 0,
29 "sort": {
30 "unsorted": true,
31 "sorted": true,
32 "empty": true
33 },
34 "first": true,
35 "last": true,
36 "empty": true
37}
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 |
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. |
Body Parameters
1[
2 {
3 "id": 0,
4 "status": "CREATED",
5 "displayId": "string",
6 "name": "string",
7 "companyId": 0,
8 "leaseGroupId": 0
9 }
10]
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "code": "UPDATED",
3 "errors": {
4 "all": [
5 {
6 "type": "GENERIC",
7 "errorMessage": "string",
8 "source": {},
9 "field": "string",
10 "errorKey": "string"
11 }
12 ]
13 },
14 "object": {}
15}
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 |
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. |
Body Parameters
1[
2 {
3 "id": 0,
4 "status": "CREATED",
5 "displayId": "string",
6 "name": "string",
7 "companyId": 0,
8 "leaseGroupId": 0
9 }
10]
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "code": "UPDATED",
3 "errors": {
4 "all": [
5 {
6 "type": "GENERIC",
7 "errorMessage": "string",
8 "source": {},
9 "field": "string",
10 "errorKey": "string"
11 }
12 ]
13 },
14 "object": {}
15}
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 |
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 |
Example Responses
1{
2 "totalElements": 0,
3 "totalPages": 0,
4 "pageable": {
5 "pageNumber": 0,
6 "paged": true,
7 "pageSize": 0,
8 "unpaged": true,
9 "offset": 0,
10 "sort": {
11 "unsorted": true,
12 "sorted": true,
13 "empty": true
14 }
15 },
16 "numberOfElements": 0,
17 "size": 0,
18 "content": [
19 {
20 "id": 0,
21 "status": "CREATED",
22 "displayId": "string",
23 "name": "string",
24 "companyId": 0,
25 "leaseGroupId": 0
26 }
27 ],
28 "number": 0,
29 "sort": {
30 "unsorted": true,
31 "sorted": true,
32 "empty": true
33 },
34 "first": true,
35 "last": true,
36 "empty": true
37}
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 |
true |
Request body containing the details of a new department, including its name, hierarchy level, and associated financial entity attributes within the organizational structure. |
Body Parameters
1{
2 "id": 0,
3 "status": "CREATED",
4 "displayId": "string",
5 "name": "string",
6 "companyId": 0,
7 "leaseGroupId": 0
8}
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "code": "UPDATED",
3 "errors": {
4 "all": [
5 {
6 "type": "GENERIC",
7 "errorMessage": "string",
8 "source": {},
9 "field": "string",
10 "errorKey": "string"
11 }
12 ]
13 },
14 "object": {
15 "id": 0,
16 "status": "CREATED",
17 "displayId": "string",
18 "name": "string",
19 "companyId": 0,
20 "leaseGroupId": 0
21 }
22}
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 |
Inline |
Example Responses
1[
2 "NAME"
3]
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 |
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 |
Example Responses
1{
2 "totalElements": 0,
3 "totalPages": 0,
4 "pageable": {
5 "pageNumber": 0,
6 "paged": true,
7 "pageSize": 0,
8 "unpaged": true,
9 "offset": 0,
10 "sort": {
11 "unsorted": true,
12 "sorted": true,
13 "empty": true
14 }
15 },
16 "numberOfElements": 0,
17 "size": 0,
18 "content": [
19 {
20 "id": 0,
21 "status": "CREATED",
22 "displayId": "string",
23 "name": "string",
24 "companyId": 0,
25 "leaseGroupId": 0
26 }
27 ],
28 "number": 0,
29 "sort": {
30 "unsorted": true,
31 "sorted": true,
32 "empty": true
33 },
34 "first": true,
35 "last": true,
36 "empty": true
37}