Lease Groupยถ
Lease Group - Getยถ
HTTP Request
GET /api/v1/lease-groups/{id}
๐ Description: Retrieves detailed information about a specific lease group within the financial organization structure, identified by the provided ID, to facilitate effective management of organizational hierarchies and 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 "departmentId": 0
20 }
21}
Lease Group - Updateยถ
HTTP Request
PUT /api/v1/lease-groups/{id}
๐ Description: Updates the details of a specified lease group within the financial organization structure, allowing for modifications to its hierarchy and associated attributes. This operation ensures that the lease groupโs information remains accurate and aligned with organizational changes.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
id |
path |
integer(int64) |
true |
Unique identifier for the resource |
body |
body |
true |
Request body containing the updated lease group information, including financial entity details and hierarchical structure adjustments. |
Body Parameters
1{
2 "id": 0,
3 "status": "CREATED",
4 "displayId": "string",
5 "name": "string",
6 "departmentId": 0
7}
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 "departmentId": 0
20 }
21}
Lease Group - Deleteยถ
HTTP Request
DELETE /api/v1/lease-groups/{id}
๐ Description: Deletes a specified lease group from the financial organization structure, effectively removing it from the hierarchy 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}
Lease Group - Delete Or Decommissionยถ
HTTP Request
PUT /api/v1/lease-groups/remove/{id}
๐ Description: Removes a specified lease group from the financial organization structure, ensuring that the hierarchy reflects the current organizational needs and compliance requirements.
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}
Lease Group - Delete Or Decommission Allยถ
HTTP Request
PUT /api/v1/lease-groups/remove/bulk
๐ Description: Removes multiple lease groups from the financial organization structure, allowing for efficient management of organizational hierarchy and alignment with business needs.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
array[integer] |
true |
Request body containing an array of lease group identifiers to facilitate the bulk removal of specified financial entities from the organizational 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}
Lease Group - Decommissionยถ
HTTP Request
PUT /api/v1/lease-groups/decommission/{id}
๐ Description: Decommissions a specified lease group within the financial organization structure, effectively removing it from the active hierarchy and ensuring accurate representation of the entityโs organizational 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 "departmentId": 0
20 }
21}
Lease Group - Decommission By Modification Date Beforeยถ
HTTP Request
PUT /api/v1/lease-groups/decommission/modified-before/{modified_before}
๐ Description: Decommissions lease groups that were modified before the specified date, ensuring the financial organization structure remains current and aligned with operational needs. This operation is essential for maintaining an accurate hierarchy within the financial entity.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
modified_before |
path |
string(date-time) |
true |
Specifies the cutoff date for lease groups to be decommissioned, allowing the financial organization to manage its structure and hierarchy effectively. |
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 "departmentId": 0
21 }
22 ]
23}
Lease Group - Decommission Before Nowยถ
HTTP Request
PUT /api/v1/lease-groups/decommission/modified-before-now
๐ Description: Decommissions lease groups that have been modified before the current date, ensuring the financial organization structure remains up-to-date and aligned with operational needs. This operation supports the management of organizational hierarchy within financial entities.
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 "departmentId": 0
21 }
22 ]
23}
Lease Group - Decommission Allยถ
HTTP Request
PUT /api/v1/lease-groups/decommission/bulk
๐ Description: Updates the status of multiple lease groups to โdecommissionedโ in bulk, facilitating efficient management of the financial organization structure and hierarchy.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
array[integer] |
true |
Request body containing a list of lease group identifiers and associated metadata for bulk decommissioning 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 "departmentId": 0
21 }
22 ]
23}
Lease Group - Create Or Update Bulkยถ
HTTP Request
PUT /api/v1/lease-groups/createOrUpdate/bulk
๐ Description: Creates or updates multiple lease groups within the financial organization structure, enabling efficient management of organizational hierarchy and financial entities.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
true |
Request body containing bulk data for creating or updating lease groups, including organizational hierarchy details and associated financial entity attributes. |
Body Parameters
1[
2 {
3 "id": 0,
4 "status": "CREATED",
5 "displayId": "string",
6 "name": "string",
7 "departmentId": 0
8 }
9]
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 "departmentId": 0
21 }
22 ]
23}
Lease Group - Create Or Updateยถ
HTTP Request
PUT /api/v1/lease-groups/createOrUpdate
๐ Description: Creates or updates lease groups within the financial organization structure, ensuring accurate representation of organizational hierarchy and financial entities.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
true |
Request body containing the financial entityโs lease group details, including organizational hierarchy and structure information for creation or update. |
Body Parameters
1{
2 "id": 0,
3 "status": "CREATED",
4 "displayId": "string",
5 "name": "string",
6 "departmentId": 0
7}
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 "departmentId": 0
20 }
21}
Lease Group - Bulk Updateยถ
HTTP Request
PUT /api/v1/lease-groups/bulk
๐ Description: Updates multiple lease groups within the financial organization structure, allowing for efficient management of hierarchical relationships among financial entities.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
true |
Request body containing a collection of lease group updates, including financial entity details and hierarchical structure adjustments for effective organizational management. |
Body Parameters
1[
2 {
3 "id": 0,
4 "status": "CREATED",
5 "displayId": "string",
6 "name": "string",
7 "departmentId": 0
8 }
9]
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 "departmentId": 0
21 }
22 ]
23}
Lease Group - Bulk Createยถ
HTTP Request
POST /api/v1/lease-groups/bulk
๐ Description: Creates multiple lease groups in a single operation, facilitating the efficient management of organizational structures within a financial entity.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
true |
Request body containing a collection of lease group data, including attributes necessary for establishing financial hierarchies within the organization. |
Body Parameters
1[
2 {
3 "id": 0,
4 "status": "CREATED",
5 "displayId": "string",
6 "name": "string",
7 "departmentId": 0
8 }
9]
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 "departmentId": 0
21 }
22 ]
23}
Lease Group - Bulk Deleteยถ
HTTP Request
DELETE /api/v1/lease-groups/bulk
๐ Description: Deletes multiple lease groups within the financial organization structure, allowing for streamlined management of organizational hierarchy and entity relationships.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
array[integer] |
true |
Request body containing an array of lease group identifiers to facilitate the bulk deletion of financial entity lease groups within the organizational 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}
Lease Group - Searchยถ
HTTP Request
POST /api/v1/lease-groups/search
๐ Description: Submits a search request for lease groups within the financial organization structure, allowing users to identify and retrieve relevant lease entities based on specified criteria.
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 lease groups, including parameters that define the organizational structure and hierarchy within the financial entity. |
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 "departmentIdEqual": 0
26}
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 "departmentId": 0
25 }
26 ],
27 "number": 0,
28 "sort": {
29 "unsorted": true,
30 "sorted": true,
31 "empty": true
32 },
33 "first": true,
34 "last": true,
35 "empty": true
36}
Lease Group - Detach Departmentยถ
HTTP Request
POST /api/v1/lease-groups/detach/department/{department_id}
๐ Description: Detaches a specified department from its associated lease group within the financial organization structure, facilitating adjustments to the organizational hierarchy and resource allocation.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
department_id |
path |
integer(int64) |
true |
Unique identifier for the department within the financial organization structure, used to specify which departmentโs lease group is being detached. |
body |
body |
true |
Request body containing the department identification details necessary for detaching a lease group within the financial organization structure. |
Body Parameters
1[
2 {
3 "id": 0,
4 "status": "CREATED",
5 "displayId": "string",
6 "name": "string",
7 "departmentId": 0
8 }
9]
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}
Lease Group - Attach Departmentยถ
HTTP Request
POST /api/v1/lease-groups/attach/department/{department_id}
๐ Description: Attaches a specified department to a lease group within the financial organization structure, facilitating the alignment of organizational hierarchy and resource management. This operation ensures that financial entities can effectively manage their departmental affiliations within lease agreements.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
department_id |
path |
integer(int64) |
true |
Unique identifier for the department within the financial organization structure, used to associate lease groups with the specified department. |
body |
body |
true |
Request body containing the details of the lease group to be attached to the specified department, including relevant identifiers and financial hierarchy information. |
Body Parameters
1[
2 {
3 "id": 0,
4 "status": "CREATED",
5 "displayId": "string",
6 "name": "string",
7 "departmentId": 0
8 }
9]
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}
Lease Group - Find Allยถ
HTTP Request
GET /api/v1/lease-groups
๐ Description: Retrieves a list of lease groups within the financial organization structure, providing insights into the hierarchy and organization of financial entities.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
pageable |
query |
true |
Indicates whether the results of the lease groups retrieval should be paginated, facilitating efficient navigation through the organizational structure of financial entities. |
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 "departmentId": 0
25 }
26 ],
27 "number": 0,
28 "sort": {
29 "unsorted": true,
30 "sorted": true,
31 "empty": true
32 },
33 "first": true,
34 "last": true,
35 "empty": true
36}
Lease Group - Createยถ
HTTP Request
POST /api/v1/lease-groups
๐ Description: Creates a new lease group within the financial organization structure, enabling the establishment of hierarchical relationships among financial entities.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
true |
Request body containing the details of lease groups, including associated financial entities and their hierarchical structure within the organization. |
Body Parameters
1{
2 "id": 0,
3 "status": "CREATED",
4 "displayId": "string",
5 "name": "string",
6 "departmentId": 0
7}
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 "departmentId": 0
20 }
21}
Lease Group - Get Metadataยถ
HTTP Request
GET /api/v1/lease-groups/meta
๐ Description: Retrieves metadata for lease groups 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
Lease Group - Get All By Departmentยถ
HTTP Request
GET /api/v1/lease-groups/department/{id}
๐ Description: Fetches lease group details for a specified department within the financial organization structure, facilitating insights into organizational hierarchy and resource allocation.
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, facilitating efficient retrieval of lease group 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 "departmentId": 0
25 }
26 ],
27 "number": 0,
28 "sort": {
29 "unsorted": true,
30 "sorted": true,
31 "empty": true
32 },
33 "first": true,
34 "last": true,
35 "empty": true
36}