Business UnitΒΆ
Business Unit - GetΒΆ
HTTP Request
GET /api/v1/business-units/{id}
π Description: Retrieves detailed information about a specific business unit within the financial organization structure, identified by the provided unit ID. This operation supports users in understanding the hierarchy and organizational context of financial entities.
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 "leaseAreaId": 0,
20 "companyId": 0
21 }
22}
Business Unit - UpdateΒΆ
HTTP Request
PUT /api/v1/business-units/{id}
π Description: Updates the details of a specified business unit within the financial organization structure, allowing for modifications to its hierarchy and attributes as needed.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
id |
path |
integer(int64) |
true |
Unique identifier for the resource |
body |
body |
true |
Request body containing the updated details of the specified business unit, including its hierarchical structure and financial attributes. |
Body Parameters
1{
2 "id": 0,
3 "status": "CREATED",
4 "displayId": "string",
5 "name": "string",
6 "leaseAreaId": 0,
7 "companyId": 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 "leaseAreaId": 0,
20 "companyId": 0
21 }
22}
Business Unit - DeleteΒΆ
HTTP Request
DELETE /api/v1/business-units/{id}
π Description: Deletes a specified business unit from the financial organization structure, ensuring the hierarchy remains accurate and up-to-date.
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}
Business Unit - Delete Or DecommissionΒΆ
HTTP Request
PUT /api/v1/business-units/remove/{id}
π Description: Removes a specified business unit from the financial organization structure, ensuring the hierarchy remains accurate and up-to-date.
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}
Business Unit - Delete Or Decommission AllΒΆ
HTTP Request
PUT /api/v1/business-units/remove/bulk
π Description: Removes multiple business units from the financial organization structure in a single operation, ensuring efficient management of the organizational hierarchy.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
array[integer] |
true |
Request body containing an array of business unit identifiers to facilitate the bulk removal of specified units within the financial organization 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}
Business Unit - DecommissionΒΆ
HTTP Request
PUT /api/v1/business-units/decommission/{id}
π Description: Decommissions a specified business unit within the financial organization structure, effectively removing it from the active hierarchy and ensuring accurate representation of the organizationβs operational framework.
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 "leaseAreaId": 0,
20 "companyId": 0
21 }
22}
Business Unit - Decommission By Modification Date BeforeΒΆ
HTTP Request
PUT /api/v1/business-units/decommission/modified-before/{modified_before}
π Description: Decommissions business units within the financial organization structure that have been modified before the specified date, ensuring the hierarchy remains up-to-date and aligned with current operational needs.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
modified_before |
path |
string(date-time) |
true |
Specifies the cutoff date for decommissioning business units 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 "leaseAreaId": 0,
21 "companyId": 0
22 }
23 ]
24}
Business Unit - Decommission Before NowΒΆ
HTTP Request
PUT /api/v1/business-units/decommission/modified-before-now
π Description: Decommissions business units that have been modified before the current timestamp, ensuring the financial organization structure remains up-to-date and aligned with strategic objectives.
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 "leaseAreaId": 0,
21 "companyId": 0
22 }
23 ]
24}
Business Unit - Decommission AllΒΆ
HTTP Request
PUT /api/v1/business-units/decommission/bulk
π Description: Decommissions multiple business units within the financial organization structure, allowing for efficient management of organizational hierarchy and streamlining of financial entity operations.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
array[integer] |
true |
Request body containing an array of business unit identifiers and their corresponding decommissioning details for bulk processing within the financial organization 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 {
16 "id": 0,
17 "status": "CREATED",
18 "displayId": "string",
19 "name": "string",
20 "leaseAreaId": 0,
21 "companyId": 0
22 }
23 ]
24}
Business Unit - Create Or Update BulkΒΆ
HTTP Request
PUT /api/v1/business-units/createOrUpdate/bulk
π Description: Creates or updates multiple business units within the financial organization structure, enabling efficient management of organizational hierarchy and financial entities in bulk.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
true |
Request body containing bulk data for creating or updating business units within the financial organization structure, including details on hierarchy and organizational attributes. |
Body Parameters
1[
2 {
3 "id": 0,
4 "status": "CREATED",
5 "displayId": "string",
6 "name": "string",
7 "leaseAreaId": 0,
8 "companyId": 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 "leaseAreaId": 0,
21 "companyId": 0
22 }
23 ]
24}
Business Unit - Create Or UpdateΒΆ
HTTP Request
PUT /api/v1/business-units/createOrUpdate
π Description: Updates or creates a business unit within the financial organization structure, ensuring alignment with the existing hierarchy and organizational framework. This operation facilitates the management of financial entities by allowing for seamless adjustments to their structural representation.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
true |
Request body containing the financial entity details necessary for creating or updating a business unit within the organizational structure and hierarchy. |
Body Parameters
1{
2 "id": 0,
3 "status": "CREATED",
4 "displayId": "string",
5 "name": "string",
6 "leaseAreaId": 0,
7 "companyId": 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 "leaseAreaId": 0,
20 "companyId": 0
21 }
22}
Business Unit - Bulk UpdateΒΆ
HTTP Request
PUT /api/v1/business-units/bulk
π Description: Updates multiple business units 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 a bulk update of business unit information, including organizational hierarchy and financial entity details. |
Body Parameters
1[
2 {
3 "id": 0,
4 "status": "CREATED",
5 "displayId": "string",
6 "name": "string",
7 "leaseAreaId": 0,
8 "companyId": 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 "leaseAreaId": 0,
21 "companyId": 0
22 }
23 ]
24}
Business Unit - Bulk CreateΒΆ
HTTP Request
POST /api/v1/business-units/bulk
π Description: Creates multiple business units within the financial organization structure, enabling efficient management of organizational hierarchy and alignment of financial entities.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
true |
Request body containing an array of business unit definitions, including hierarchical relationships and financial attributes, to facilitate bulk creation within the organizational structure. |
Body Parameters
1[
2 {
3 "id": 0,
4 "status": "CREATED",
5 "displayId": "string",
6 "name": "string",
7 "leaseAreaId": 0,
8 "companyId": 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 "leaseAreaId": 0,
21 "companyId": 0
22 }
23 ]
24}
Business Unit - Bulk DeleteΒΆ
HTTP Request
DELETE /api/v1/business-units/bulk
π Description: Deletes multiple business units within the financial organization structure, allowing for efficient management of organizational hierarchy and streamlining of financial entity operations.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
array[integer] |
true |
Request body containing an array of identifiers for the business units to be deleted, facilitating the management of the financial organization 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}
Business Unit - SearchΒΆ
HTTP Request
POST /api/v1/business-units/search
π Description: Submits a search request for business units within the financial organization structure, enabling users to identify and analyze organizational hierarchies and relationships effectively.
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 business units within the financial organization structure, including parameters related to organizational hierarchy and entity classification. |
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 "leaseAreaIdEqual": 0,
26 "leaseAreaIdIn": [
27 0
28 ],
29 "companyIdEqual": 0,
30 "leaseAreaIdInOrNull": [
31 0
32 ]
33}
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 "leaseAreaId": 0,
25 "companyId": 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}
Business Unit - Detach Lease AreaΒΆ
HTTP Request
POST /api/v1/business-units/detach/lease-area/{lease_area_id}
π Description: Detaches a specified lease area from the financial organization structure, facilitating updates to the hierarchy and organization of business units within the financial entity.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
lease_area_id |
path |
integer(int64) |
true |
Unique identifier for the lease area to be detached from the specified business unit within the financial organization structure. |
body |
body |
true |
Request body containing the details of the business unit to be detached from the specified lease area, including relevant identifiers and metadata for organizational hierarchy within the financial entity. |
Body Parameters
1[
2 {
3 "id": 0,
4 "status": "CREATED",
5 "displayId": "string",
6 "name": "string",
7 "leaseAreaId": 0,
8 "companyId": 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}
Business Unit - Attach Lease AreaΒΆ
HTTP Request
POST /api/v1/business-units/attach/lease-area/{lease_area_id}
π Description: Attaches a specified lease area to a business unit within the financial organization structure, facilitating the alignment of organizational hierarchy and resource management.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
lease_area_id |
path |
integer(int64) |
true |
Unique identifier for the lease area within the financial organization structure, used to attach a business unit to the specified lease area. |
body |
body |
true |
Request body containing the details of the business unit to be attached to the specified lease area, including relevant organizational hierarchy and financial entity information. |
Body Parameters
1[
2 {
3 "id": 0,
4 "status": "CREATED",
5 "displayId": "string",
6 "name": "string",
7 "leaseAreaId": 0,
8 "companyId": 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}
Business Unit - Find AllΒΆ
HTTP Request
GET /api/v1/business-units
π Description: Retrieves a list of business units within the financial organization structure, providing insights into the hierarchical arrangement of financial entities. This operation supports effective management and analysis of organizational resources.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
pageable |
query |
true |
Indicates whether the response should be paginated, facilitating efficient retrieval of financial organization structure data for business units. |
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 "leaseAreaId": 0,
25 "companyId": 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}
Business Unit - CreateΒΆ
HTTP Request
POST /api/v1/business-units
π Description: Creates a new business unit within the financial organization structure, allowing for the establishment of hierarchical relationships and organizational alignment within the financial entity.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
true |
Request body containing the details of the new business unit, including its name, hierarchy level, and associated financial entity information. |
Body Parameters
1{
2 "id": 0,
3 "status": "CREATED",
4 "displayId": "string",
5 "name": "string",
6 "leaseAreaId": 0,
7 "companyId": 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 "leaseAreaId": 0,
20 "companyId": 0
21 }
22}
Business Unit - Get MetadataΒΆ
HTTP Request
GET /api/v1/business-units/meta
π Description: Retrieves metadata for business units within the financial organization structure, providing insights into the hierarchy and organization of financial entities.
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Inline |
Example Responses
1[
2 "NAME"
3]
Response Schema
Business Unit - Get All By Lease AreaΒΆ
HTTP Request
GET /api/v1/business-units/lease-area/{id}
π Description: Retrieves detailed information about a specific lease area within the financial organization structure, identified by the provided ID, to support organizational hierarchy and management of financial entities.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
id |
path |
integer(int64) |
true |
Unique identifier for the resource |
pageable |
query |
true |
Indicates whether the response should be paginated, allowing for efficient retrieval of business unit lease area data 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 "leaseAreaId": 0,
25 "companyId": 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}