NFS Import Job Controller¶
Retrieve A Specific Import¶
HTTP Request
GET /api/v1/imports/{id}
📋 Description: Retrieves detailed information about a specific lease import identified by the provided ID, facilitating insights into associated contracts, financial obligations, and accounting entries within the Nakisa Lease Accounting Suite.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
id |
path |
integer |
true |
Unique identifier for the resource |
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "code": {
3 "name": "OK",
4 "captionKey": "enum.responseCode.ok",
5 "caption": "OK"
6 },
7 "errors": {
8 "all": []
9 },
10 "object": {
11 "id": 10000001,
12 "taskCount": 100,
13 "failedTaskCount": 100,
14 "doneTaskCount": 100,
15 "inProgressTaskCount": 100,
16 "cancelledTaskCount": 100,
17 "errorMessage": "sample_errorMessage",
18 "queueTime": "2025-01-01T10:00:00Z",
19 "startTime": "2025-01-01T10:00:00Z",
20 "endTime": "2025-01-01T10:00:00Z",
21 "status": {
22 "name": "PROCESSING",
23 "captionKey": "enum.batchJobStatus.processing",
24 "caption": "Processing"
25 },
26 "batchSize": 1000,
27 "totalObjectCount": 100,
28 "fileStorageId": "sample_fileStorageId",
29 "importDocumentFileName": "sample_importDocumentFileName",
30 "version": 100,
31 "readOnly": false,
32 "importDocumentStoreId": 10000001,
33 "input": {
34 "erpSystemId": 10000001,
35 "principalPositionType": {
36 "name": "LESSEE",
37 "captionKey": "enum.principalpositiontype.lessee",
38 "caption": "Lessee"
39 },
40 "useMassWorkflowTransition": false,
41 "massWorkflowJobBatchSize": 100,
42 "terminalState": {
43 "name": "AG_ACTIVE",
44 "captionKey": "enum.entityStatus.agActive",
45 "caption": "Active"
46 },
47 "transitions": {
48 "name": "AG_DEFINE_TO_GENERATING",
49 "captionKey": "enum.workflowTransition.agDefineToGenerating",
50 "caption": "AG Define To Generating"
51 },
52 "useDefaultMassWorkflowWorkbookInput": false,
53 "leaseComponentRevisionId": 10000001
54 },
55 "requestReferences": [],
56 "sheetTypes": [],
57 "sheetGroupTypes": {
58 "name": "LEASE_COMPONENT",
59 "captionKey": "enum.SheetGroupTypes.leaseComponent",
60 "caption": "Lease Component"
61 }
62 }
63}
Update A Import¶
HTTP Request
PUT /api/v1/imports/{id}
📋 Description: Updates the specified lease import identified by {id}, allowing for modifications to lease contracts, financial obligations, and associated accounting entries within the Nakisa Lease Accounting Suite.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
id |
path |
integer |
true |
Unique identifier for the resource |
body |
body |
false |
Request body containing the updated lease and contract information, including financial obligations and accounting entries, for the specified import ID. |
Body Parameters
1{
2 "id": 10000001,
3 "taskCount": 100,
4 "failedTaskCount": 100,
5 "doneTaskCount": 100,
6 "inProgressTaskCount": 100,
7 "cancelledTaskCount": 100,
8 "errorMessage": "sample_errorMessage",
9 "queueTime": "2025-01-01T10:00:00Z",
10 "startTime": "2025-01-01T10:00:00Z",
11 "endTime": "2025-01-01T10:00:00Z",
12 "status": {
13 "name": "PROCESSING",
14 "captionKey": "enum.batchJobStatus.processing",
15 "caption": "Processing"
16 },
17 "batchSize": 1000,
18 "totalObjectCount": 100,
19 "fileStorageId": "sample_fileStorageId",
20 "importDocumentFileName": "sample_importDocumentFileName",
21 "version": 100,
22 "readOnly": false,
23 "importDocumentStoreId": 10000001,
24 "input": {
25 "erpSystemId": 10000001,
26 "principalPositionType": {
27 "name": "LESSEE",
28 "captionKey": "enum.principalpositiontype.lessee",
29 "caption": "Lessee"
30 },
31 "useMassWorkflowTransition": false,
32 "massWorkflowJobBatchSize": 100,
33 "terminalState": {
34 "name": "AG_ACTIVE",
35 "captionKey": "enum.entityStatus.agActive",
36 "caption": "Active"
37 },
38 "transitions": {
39 "name": "AG_DEFINE_TO_GENERATING",
40 "captionKey": "enum.workflowTransition.agDefineToGenerating",
41 "caption": "AG Define To Generating"
42 },
43 "useDefaultMassWorkflowWorkbookInput": false,
44 "leaseComponentRevisionId": 10000001
45 },
46 "requestReferences": [],
47 "sheetTypes": [],
48 "sheetGroupTypes": {
49 "name": "LEASE_COMPONENT",
50 "captionKey": "enum.SheetGroupTypes.leaseComponent",
51 "caption": "Lease Component"
52 }
53}
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "code": {
3 "name": "OK",
4 "captionKey": "enum.responseCode.ok",
5 "caption": "OK"
6 },
7 "errors": {
8 "all": []
9 },
10 "object": {
11 "id": 10000001,
12 "taskCount": 100,
13 "failedTaskCount": 100,
14 "doneTaskCount": 100,
15 "inProgressTaskCount": 100,
16 "cancelledTaskCount": 100,
17 "errorMessage": "sample_errorMessage",
18 "queueTime": "2025-01-01T10:00:00Z",
19 "startTime": "2025-01-01T10:00:00Z",
20 "endTime": "2025-01-01T10:00:00Z",
21 "status": {
22 "name": "PROCESSING",
23 "captionKey": "enum.batchJobStatus.processing",
24 "caption": "Processing"
25 },
26 "batchSize": 1000,
27 "totalObjectCount": 100,
28 "fileStorageId": "sample_fileStorageId",
29 "importDocumentFileName": "sample_importDocumentFileName",
30 "version": 100,
31 "readOnly": false,
32 "importDocumentStoreId": 10000001,
33 "input": {
34 "erpSystemId": 10000001,
35 "principalPositionType": {
36 "name": "LESSEE",
37 "captionKey": "enum.principalpositiontype.lessee",
38 "caption": "Lessee"
39 },
40 "useMassWorkflowTransition": false,
41 "massWorkflowJobBatchSize": 100,
42 "terminalState": {
43 "name": "AG_ACTIVE",
44 "captionKey": "enum.entityStatus.agActive",
45 "caption": "Active"
46 },
47 "transitions": {
48 "name": "AG_DEFINE_TO_GENERATING",
49 "captionKey": "enum.workflowTransition.agDefineToGenerating",
50 "caption": "AG Define To Generating"
51 },
52 "useDefaultMassWorkflowWorkbookInput": false,
53 "leaseComponentRevisionId": 10000001
54 },
55 "requestReferences": [],
56 "sheetTypes": [],
57 "sheetGroupTypes": {
58 "name": "LEASE_COMPONENT",
59 "captionKey": "enum.SheetGroupTypes.leaseComponent",
60 "caption": "Lease Component"
61 }
62 }
63}
Bulk Upsert Imports¶
HTTP Request
PUT /api/v1/imports/createOrUpdate/bulk
📋 Description: Creates or updates multiple lease contracts and their associated financial obligations in the Nakisa Lease Accounting Suite, ensuring accurate accounting entries and streamlined lease management.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
false |
Request body containing bulk lease and contract data, including financial obligations and accounting entries, for creation or update within the Nakisa Lease Accounting Suite. |
Body Parameters
1[
2 {
3 "id": 10000001,
4 "taskCount": 100,
5 "failedTaskCount": 100,
6 "doneTaskCount": 100,
7 "inProgressTaskCount": 100,
8 "cancelledTaskCount": 100,
9 "errorMessage": "sample_errorMessage",
10 "queueTime": "2025-01-01T10:00:00Z",
11 "startTime": "2025-01-01T10:00:00Z",
12 "endTime": "2025-01-01T10:00:00Z",
13 "status": {
14 "name": "PROCESSING",
15 "captionKey": "enum.batchJobStatus.processing",
16 "caption": "Processing"
17 },
18 "batchSize": 1000,
19 "totalObjectCount": 100,
20 "fileStorageId": "sample_fileStorageId",
21 "importDocumentFileName": "sample_importDocumentFileName",
22 "version": 100,
23 "readOnly": false,
24 "importDocumentStoreId": 10000001,
25 "input": {
26 "erpSystemId": 10000001,
27 "principalPositionType": {
28 "name": "LESSEE",
29 "captionKey": "enum.principalpositiontype.lessee",
30 "caption": "Lessee"
31 },
32 "useMassWorkflowTransition": false,
33 "massWorkflowJobBatchSize": 100,
34 "terminalState": {
35 "name": "AG_ACTIVE",
36 "captionKey": "enum.entityStatus.agActive",
37 "caption": "Active"
38 },
39 "transitions": {
40 "name": "AG_DEFINE_TO_GENERATING",
41 "captionKey": "enum.workflowTransition.agDefineToGenerating",
42 "caption": "AG Define To Generating"
43 },
44 "useDefaultMassWorkflowWorkbookInput": false,
45 "leaseComponentRevisionId": 10000001
46 },
47 "requestReferences": [],
48 "sheetTypes": [],
49 "sheetGroupTypes": {
50 "name": "LEASE_COMPONENT",
51 "captionKey": "enum.SheetGroupTypes.leaseComponent",
52 "caption": "Lease Component"
53 }
54 }
55]
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "code": {
3 "name": "OK",
4 "captionKey": "enum.responseCode.ok",
5 "caption": "OK"
6 },
7 "errors": {
8 "all": []
9 },
10 "object": []
11}
Upsert Import¶
HTTP Request
PUT /api/v1/imports/createOrUpdate
📋 Description: Updates or creates lease and contract records within the Nakisa Lease Accounting Suite, ensuring accurate financial obligations and accounting entries are maintained. This operation streamlines the management of lease data for enhanced compliance and reporting.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
false |
Request body containing lease and contract details, including financial obligations and accounting entries, for creating or updating records in the Nakisa Lease Accounting Suite. |
Body Parameters
1{
2 "id": 10000001,
3 "taskCount": 100,
4 "failedTaskCount": 100,
5 "doneTaskCount": 100,
6 "inProgressTaskCount": 100,
7 "cancelledTaskCount": 100,
8 "errorMessage": "sample_errorMessage",
9 "queueTime": "2025-01-01T10:00:00Z",
10 "startTime": "2025-01-01T10:00:00Z",
11 "endTime": "2025-01-01T10:00:00Z",
12 "status": {
13 "name": "PROCESSING",
14 "captionKey": "enum.batchJobStatus.processing",
15 "caption": "Processing"
16 },
17 "batchSize": 1000,
18 "totalObjectCount": 100,
19 "fileStorageId": "sample_fileStorageId",
20 "importDocumentFileName": "sample_importDocumentFileName",
21 "version": 100,
22 "readOnly": false,
23 "importDocumentStoreId": 10000001,
24 "input": {
25 "erpSystemId": 10000001,
26 "principalPositionType": {
27 "name": "LESSEE",
28 "captionKey": "enum.principalpositiontype.lessee",
29 "caption": "Lessee"
30 },
31 "useMassWorkflowTransition": false,
32 "massWorkflowJobBatchSize": 100,
33 "terminalState": {
34 "name": "AG_ACTIVE",
35 "captionKey": "enum.entityStatus.agActive",
36 "caption": "Active"
37 },
38 "transitions": {
39 "name": "AG_DEFINE_TO_GENERATING",
40 "captionKey": "enum.workflowTransition.agDefineToGenerating",
41 "caption": "AG Define To Generating"
42 },
43 "useDefaultMassWorkflowWorkbookInput": false,
44 "leaseComponentRevisionId": 10000001
45 },
46 "requestReferences": [],
47 "sheetTypes": [],
48 "sheetGroupTypes": {
49 "name": "LEASE_COMPONENT",
50 "captionKey": "enum.SheetGroupTypes.leaseComponent",
51 "caption": "Lease Component"
52 }
53}
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "code": {
3 "name": "OK",
4 "captionKey": "enum.responseCode.ok",
5 "caption": "OK"
6 },
7 "errors": {
8 "all": []
9 },
10 "object": {
11 "id": 10000001,
12 "taskCount": 100,
13 "failedTaskCount": 100,
14 "doneTaskCount": 100,
15 "inProgressTaskCount": 100,
16 "cancelledTaskCount": 100,
17 "errorMessage": "sample_errorMessage",
18 "queueTime": "2025-01-01T10:00:00Z",
19 "startTime": "2025-01-01T10:00:00Z",
20 "endTime": "2025-01-01T10:00:00Z",
21 "status": {
22 "name": "PROCESSING",
23 "captionKey": "enum.batchJobStatus.processing",
24 "caption": "Processing"
25 },
26 "batchSize": 1000,
27 "totalObjectCount": 100,
28 "fileStorageId": "sample_fileStorageId",
29 "importDocumentFileName": "sample_importDocumentFileName",
30 "version": 100,
31 "readOnly": false,
32 "importDocumentStoreId": 10000001,
33 "input": {
34 "erpSystemId": 10000001,
35 "principalPositionType": {
36 "name": "LESSEE",
37 "captionKey": "enum.principalpositiontype.lessee",
38 "caption": "Lessee"
39 },
40 "useMassWorkflowTransition": false,
41 "massWorkflowJobBatchSize": 100,
42 "terminalState": {
43 "name": "AG_ACTIVE",
44 "captionKey": "enum.entityStatus.agActive",
45 "caption": "Active"
46 },
47 "transitions": {
48 "name": "AG_DEFINE_TO_GENERATING",
49 "captionKey": "enum.workflowTransition.agDefineToGenerating",
50 "caption": "AG Define To Generating"
51 },
52 "useDefaultMassWorkflowWorkbookInput": false,
53 "leaseComponentRevisionId": 10000001
54 },
55 "requestReferences": [],
56 "sheetTypes": [],
57 "sheetGroupTypes": {
58 "name": "LEASE_COMPONENT",
59 "captionKey": "enum.SheetGroupTypes.leaseComponent",
60 "caption": "Lease Component"
61 }
62 }
63}
Bulk Update Imports¶
HTTP Request
PUT /api/v1/imports/bulk
📋 Description: Updates multiple lease contracts and their associated financial obligations in the Nakisa Lease Accounting Suite, ensuring accurate accounting entries are reflected in the system.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
false |
Request body containing bulk import data for leases, contracts, financial obligations, and accounting entries to facilitate streamlined processing within the Nakisa Lease Accounting Suite. |
Body Parameters
1[
2 {
3 "id": 10000001,
4 "taskCount": 100,
5 "failedTaskCount": 100,
6 "doneTaskCount": 100,
7 "inProgressTaskCount": 100,
8 "cancelledTaskCount": 100,
9 "errorMessage": "sample_errorMessage",
10 "queueTime": "2025-01-01T10:00:00Z",
11 "startTime": "2025-01-01T10:00:00Z",
12 "endTime": "2025-01-01T10:00:00Z",
13 "status": {
14 "name": "PROCESSING",
15 "captionKey": "enum.batchJobStatus.processing",
16 "caption": "Processing"
17 },
18 "batchSize": 1000,
19 "totalObjectCount": 100,
20 "fileStorageId": "sample_fileStorageId",
21 "importDocumentFileName": "sample_importDocumentFileName",
22 "version": 100,
23 "readOnly": false,
24 "importDocumentStoreId": 10000001,
25 "input": {
26 "erpSystemId": 10000001,
27 "principalPositionType": {
28 "name": "LESSEE",
29 "captionKey": "enum.principalpositiontype.lessee",
30 "caption": "Lessee"
31 },
32 "useMassWorkflowTransition": false,
33 "massWorkflowJobBatchSize": 100,
34 "terminalState": {
35 "name": "AG_ACTIVE",
36 "captionKey": "enum.entityStatus.agActive",
37 "caption": "Active"
38 },
39 "transitions": {
40 "name": "AG_DEFINE_TO_GENERATING",
41 "captionKey": "enum.workflowTransition.agDefineToGenerating",
42 "caption": "AG Define To Generating"
43 },
44 "useDefaultMassWorkflowWorkbookInput": false,
45 "leaseComponentRevisionId": 10000001
46 },
47 "requestReferences": [],
48 "sheetTypes": [],
49 "sheetGroupTypes": {
50 "name": "LEASE_COMPONENT",
51 "captionKey": "enum.SheetGroupTypes.leaseComponent",
52 "caption": "Lease Component"
53 }
54 }
55]
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "code": {
3 "name": "OK",
4 "captionKey": "enum.responseCode.ok",
5 "caption": "OK"
6 },
7 "errors": {
8 "all": []
9 },
10 "object": []
11}
Create New Import¶
HTTP Request
POST /api/v1/imports/types
📋 Description: Submits new import types for leases, contracts, and financial obligations into the Nakisa Lease Accounting Suite, facilitating the accurate recording of accounting entries.
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Inline |
Example Responses
1[
2 "string"
3]
Response Schema
Create A New Template¶
HTTP Request
POST /api/v1/imports/template
📋 Description: Submits a new import template for lease contracts, enabling the efficient management of financial obligations and accounting entries within the Nakisa Lease Accounting Suite.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
sampleData |
query |
boolean |
false |
Indicates whether to include sample data in the import process for lease and contract financial obligations within the Nakisa Lease Accounting Suite. |
body |
body |
false |
Request body containing the template data for importing lease contracts and associated financial obligations into the Nakisa Lease Accounting Suite. |
Body Parameters
1{
2 "id": 10000001,
3 "taskCount": 100,
4 "failedTaskCount": 100,
5 "doneTaskCount": 100,
6 "inProgressTaskCount": 100,
7 "cancelledTaskCount": 100,
8 "errorMessage": "sample_errorMessage",
9 "queueTime": "2025-01-01T10:00:00Z",
10 "startTime": "2025-01-01T10:00:00Z",
11 "endTime": "2025-01-01T10:00:00Z",
12 "status": {
13 "name": "PROCESSING",
14 "captionKey": "enum.batchJobStatus.processing",
15 "caption": "Processing"
16 },
17 "batchSize": 1000,
18 "totalObjectCount": 100,
19 "fileStorageId": "sample_fileStorageId",
20 "importDocumentFileName": "sample_importDocumentFileName",
21 "version": 100,
22 "readOnly": false,
23 "importDocumentStoreId": 10000001,
24 "input": {
25 "erpSystemId": 10000001,
26 "principalPositionType": {
27 "name": "LESSEE",
28 "captionKey": "enum.principalpositiontype.lessee",
29 "caption": "Lessee"
30 },
31 "useMassWorkflowTransition": false,
32 "massWorkflowJobBatchSize": 100,
33 "terminalState": {
34 "name": "AG_ACTIVE",
35 "captionKey": "enum.entityStatus.agActive",
36 "caption": "Active"
37 },
38 "transitions": {
39 "name": "AG_DEFINE_TO_GENERATING",
40 "captionKey": "enum.workflowTransition.agDefineToGenerating",
41 "caption": "AG Define To Generating"
42 },
43 "useDefaultMassWorkflowWorkbookInput": false,
44 "leaseComponentRevisionId": 10000001
45 },
46 "requestReferences": [],
47 "sheetTypes": [],
48 "sheetGroupTypes": {
49 "name": "LEASE_COMPONENT",
50 "captionKey": "enum.SheetGroupTypes.leaseComponent",
51 "caption": "Lease Component"
52 }
53}
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
None |
Search Imports (With Tasks And Search)¶
HTTP Request
POST /api/v1/imports/tasks/search
📋 Description: Submits a search request for import tasks related to leases, contracts, and financial obligations within the Nakisa Lease Accounting Suite, enabling users to efficiently locate and manage accounting entries.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
object |
false |
Request body containing the search criteria for lease, contract, financial obligation, and accounting entry tasks to facilitate efficient data retrieval within the Nakisa Lease Accounting Suite. |
Body Parameters
1{}
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "totalElements": 10000001,
3 "totalPages": 100,
4 "pageable": {
5 "pageNumber": 0,
6 "unpaged": false,
7 "paged": true,
8 "pageSize": 100,
9 "offset": 0,
10 "sort": {
11 "unsorted": false,
12 "sorted": true,
13 "empty": false
14 }
15 },
16 "numberOfElements": 100,
17 "size": 100,
18 "content": [],
19 "number": 100,
20 "sort": {
21 "unsorted": false,
22 "sorted": true,
23 "empty": false
24 },
25 "first": false,
26 "last": false,
27 "empty": false
28}
Create New Import (With Sub Items)¶
HTTP Request
POST /api/v1/imports/sub-items
📋 Description: Imports sub-items related to leases and contracts into the Nakisa Lease Accounting Suite, facilitating the management of financial obligations and accounting entries.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
false |
Request body containing the sub-item data related to leases and contracts, including financial obligations and accounting entries for import into the Nakisa Lease Accounting Suite. |
Body Parameters
1{
2 "id": 10000001,
3 "taskCount": 100,
4 "failedTaskCount": 100,
5 "doneTaskCount": 100,
6 "inProgressTaskCount": 100,
7 "cancelledTaskCount": 100,
8 "errorMessage": "sample_errorMessage",
9 "queueTime": "2025-01-01T10:00:00Z",
10 "startTime": "2025-01-01T10:00:00Z",
11 "endTime": "2025-01-01T10:00:00Z",
12 "status": {
13 "name": "PROCESSING",
14 "captionKey": "enum.batchJobStatus.processing",
15 "caption": "Processing"
16 },
17 "batchSize": 1000,
18 "totalObjectCount": 100,
19 "fileStorageId": "sample_fileStorageId",
20 "importDocumentFileName": "sample_importDocumentFileName",
21 "version": 100,
22 "readOnly": false,
23 "importDocumentStoreId": 10000001,
24 "input": {
25 "erpSystemId": 10000001,
26 "principalPositionType": {
27 "name": "LESSEE",
28 "captionKey": "enum.principalpositiontype.lessee",
29 "caption": "Lessee"
30 },
31 "useMassWorkflowTransition": false,
32 "massWorkflowJobBatchSize": 100,
33 "terminalState": {
34 "name": "AG_ACTIVE",
35 "captionKey": "enum.entityStatus.agActive",
36 "caption": "Active"
37 },
38 "transitions": {
39 "name": "AG_DEFINE_TO_GENERATING",
40 "captionKey": "enum.workflowTransition.agDefineToGenerating",
41 "caption": "AG Define To Generating"
42 },
43 "useDefaultMassWorkflowWorkbookInput": false,
44 "leaseComponentRevisionId": 10000001
45 },
46 "requestReferences": [],
47 "sheetTypes": [],
48 "sheetGroupTypes": {
49 "name": "LEASE_COMPONENT",
50 "captionKey": "enum.SheetGroupTypes.leaseComponent",
51 "caption": "Lease Component"
52 }
53}
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Inline |
Example Responses
1[
2 {
3 "persistentId": "sample_persistentId",
4 "rowCaption": "sample_rowCaption",
5 "sheetGroupType": {
6 "name": "LEASE_COMPONENT",
7 "captionKey": "enum.SheetGroupTypes.leaseComponent",
8 "caption": "Lease Component"
9 },
10 "sheetCaption": "sample_sheetCaption",
11 "tabCaption": "sample_tabCaption",
12 "principalPositionMode": {
13 "name": "LESSEE",
14 "captionKey": "enum.principalPositionMode.lessee",
15 "caption": "Lessee"
16 },
17 "order": 100,
18 "name": "Sample Name"
19 }
20]
Response Schema
Status Code 200
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
anonymous |
false |
none |
[Data structure representing a lease sheet type within the Nakisa Lease Accounting Suite, encompassing essential details related to contracts, financial obligations, and accounting entries.] |
|
» persistentId |
string |
true |
none |
Unique identifier for the persistent |
» rowCaption |
string |
true |
none |
Text value for rowCaption in INfsSheetType |
» sheetGroupType |
true |
none |
Represents the type of entity or object in the system. |
|
»» name |
string |
false |
none |
Enum name representing the entity type. |
»» captionKey |
string |
false |
none |
Localization key for the entity type caption. |
»» caption |
string |
false |
none |
Localized caption of the entity type. |
» sheetCaption |
string |
true |
none |
Text value for sheetCaption in INfsSheetType |
» tabCaption |
string |
true |
none |
Text value for tabCaption in INfsSheetType |
» principalPositionMode |
true |
none |
Represents the principal position mode including lessee, lessor, or both. |
|
»» name |
string |
false |
none |
Enum name representing the principal position mode. |
»» captionKey |
string |
false |
none |
Localization key for the principal position mode caption. |
»» caption |
string |
false |
none |
Localized caption of the principal position mode. |
» order |
integer(int32) |
false |
none |
Numeric value representing order |
» name |
string |
true |
none |
Name of the resource |
Enumerated Values
Attribute |
Value |
|---|---|
name |
ACTIVATION_GROUP, CHARGE, CONTACT, CONTRACT, LEASE_COMPONENT, LESSEE, LESSEE_LESSOR, LESSOR, MASTER_AGREEMENT, NOT_AVAILABLE, SCHEDULE, UNIT |
Search Imports¶
HTTP Request
POST /api/v1/imports/search
📋 Description: Submits a request to import search criteria for leases, contracts, and financial obligations into the Nakisa Lease Accounting Suite, facilitating efficient accounting entry management.
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 the lease and contract details, including financial obligations and accounting entries, for processing import searches within the Nakisa Lease Accounting Suite. |
Default Values¶
Parameter |
Default |
Type |
|---|---|---|
sort |
|
query |
Body Parameters
1{
2 "idIn": [],
3 "idEqual": 10000001,
4 "idLike": "sample_idLike",
5 "createdAtGreaterThanOrEqual": "2025-01-01T10:00:00Z",
6 "createdAtLessThanOrEqual": "2025-01-01T10:00:00Z",
7 "createdByLike": "sample_createdByLike",
8 "createdByEqual": "sample_createdByEqual",
9 "modifiedAtGreaterThanOrEqual": "2025-01-01T10:00:00Z",
10 "modifiedAtLessThanOrEqual": "2025-01-01T10:00:00Z",
11 "modifiedByLike": "sample_modifiedByLike",
12 "modifiedByEqual": "sample_modifiedByEqual",
13 "sheetGroupTypeIn": {
14 "name": "LEASE_COMPONENT",
15 "captionKey": "enum.SheetGroupTypes.leaseComponent",
16 "caption": "Lease Component"
17 },
18 "requestReferencesEqual": []
19}
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "totalElements": 10000001,
3 "totalPages": 100,
4 "pageable": {
5 "pageNumber": 0,
6 "unpaged": false,
7 "paged": true,
8 "pageSize": 100,
9 "offset": 0,
10 "sort": {
11 "unsorted": false,
12 "sorted": true,
13 "empty": false
14 }
15 },
16 "numberOfElements": 100,
17 "size": 100,
18 "content": [],
19 "number": 100,
20 "sort": {
21 "unsorted": false,
22 "sorted": true,
23 "empty": false
24 },
25 "first": false,
26 "last": false,
27 "empty": false
28}
Search imports (with Reports, Details and Search)¶
HTTP Request
POST /api/v1/imports/reports/details/search
📋 Description: Submits a request to search for detailed reports related to leases, contracts, and financial obligations within the Nakisa Lease Accounting Suite, enabling users to efficiently access relevant accounting entries.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
object |
false |
Request body containing detailed search criteria for lease, contract, financial obligation, and accounting entry reports within the Nakisa Lease Accounting Suite. |
Body Parameters
1{}
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "totalElements": 10000001,
3 "totalPages": 100,
4 "pageable": {
5 "pageNumber": 0,
6 "unpaged": false,
7 "paged": true,
8 "pageSize": 100,
9 "offset": 0,
10 "sort": {
11 "unsorted": false,
12 "sorted": true,
13 "empty": false
14 }
15 },
16 "numberOfElements": 100,
17 "size": 100,
18 "content": [],
19 "number": 100,
20 "sort": {
21 "unsorted": false,
22 "sorted": true,
23 "empty": false
24 },
25 "first": false,
26 "last": false,
27 "empty": false
28}
Create New Import (With Number Of Filtered Entities)¶
HTTP Request
POST /api/v1/imports/number-of-filtered-entities
📋 Description: Submits a request to import the count of filtered entities related to leases, contracts, financial obligations, and accounting entries within the Nakisa Lease Accounting Suite.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
object |
false |
Request body containing the details of the lease, contract, financial obligation, and accounting entry to determine the number of filtered entities for import into the Nakisa Lease Accounting Suite. |
Body Parameters
1{}
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
integer |
Example Responses
10
Create A New Main Sheets¶
HTTP Request
POST /api/v1/imports/main-sheets
📋 Description: Uploads and processes main sheets for lease contracts, enabling the integration of financial obligations into the Nakisa Lease Accounting Suite for accurate accounting entries.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
principalPositionType |
query |
string |
false |
Type of the principal position |
body |
body |
array[string] |
false |
Request body containing the main sheets data for lease and contract management, including financial obligations and accounting entries. |
Body Parameters
1[
2 "string"
3]
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Inline |
Example Responses
1[
2 "string"
3]
Response Schema
Cancel Import¶
HTTP Request
POST /api/v1/imports/cancel/{id}
📋 Description: Cancels a specified import operation in the Nakisa Lease Accounting Suite, allowing users to manage lease and contract data effectively while ensuring accurate financial obligations and accounting entries.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
id |
path |
integer |
true |
Unique identifier for the resource |
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
None |
Bulk Cancel Imports¶
HTTP Request
POST /api/v1/imports/cancel/bulk
📋 Description: Cancels multiple lease import transactions in bulk within the Nakisa Lease Accounting Suite, ensuring accurate management of contracts and financial obligations in the accounting system.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
array[integer] |
false |
Request body containing an array of lease and contract identifiers to facilitate the bulk cancellation of financial obligations within the Nakisa Lease Accounting Suite. |
Body Parameters
1[
2 0
3]
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
None |
List All Imports¶
HTTP Request
GET /api/v1/imports
📋 Description: Retrieves a list of import records related to leases, contracts, and financial obligations within the Nakisa Lease Accounting Suite, enabling users to efficiently manage and review accounting entries.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
pageable |
query |
true |
Indicates whether the results of the lease import query should be returned in a paginated format, facilitating efficient data retrieval for financial obligations and accounting entries. |
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "totalElements": 10000001,
3 "totalPages": 100,
4 "pageable": {
5 "pageNumber": 0,
6 "unpaged": false,
7 "paged": true,
8 "pageSize": 100,
9 "offset": 0,
10 "sort": {
11 "unsorted": false,
12 "sorted": true,
13 "empty": false
14 }
15 },
16 "numberOfElements": 100,
17 "size": 100,
18 "content": [],
19 "number": 100,
20 "sort": {
21 "unsorted": false,
22 "sorted": true,
23 "empty": false
24 },
25 "first": false,
26 "last": false,
27 "empty": false
28}
Create A New Import¶
HTTP Request
POST /api/v1/imports
📋 Description: Imports lease contracts and associated financial obligations into the Nakisa Lease Accounting Suite, facilitating accurate accounting entries and streamlined lease management.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
object |
false |
Request body containing the lease and contract data, including financial obligations and accounting entries, for import into the Nakisa Lease Accounting Suite. |
Body Parameters
1{}
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "code": {
3 "name": "OK",
4 "captionKey": "enum.responseCode.ok",
5 "caption": "OK"
6 },
7 "errors": {
8 "all": []
9 },
10 "object": {
11 "id": 10000001,
12 "taskCount": 100,
13 "failedTaskCount": 100,
14 "doneTaskCount": 100,
15 "inProgressTaskCount": 100,
16 "cancelledTaskCount": 100,
17 "errorMessage": "sample_errorMessage",
18 "queueTime": "2025-01-01T10:00:00Z",
19 "startTime": "2025-01-01T10:00:00Z",
20 "endTime": "2025-01-01T10:00:00Z",
21 "status": {
22 "name": "PROCESSING",
23 "captionKey": "enum.batchJobStatus.processing",
24 "caption": "Processing"
25 },
26 "batchSize": 1000,
27 "totalObjectCount": 100,
28 "fileStorageId": "sample_fileStorageId",
29 "importDocumentFileName": "sample_importDocumentFileName",
30 "version": 100,
31 "readOnly": false,
32 "importDocumentStoreId": 10000001,
33 "input": {
34 "erpSystemId": 10000001,
35 "principalPositionType": {
36 "name": "LESSEE",
37 "captionKey": "enum.principalpositiontype.lessee",
38 "caption": "Lessee"
39 },
40 "useMassWorkflowTransition": false,
41 "massWorkflowJobBatchSize": 100,
42 "terminalState": {
43 "name": "AG_ACTIVE",
44 "captionKey": "enum.entityStatus.agActive",
45 "caption": "Active"
46 },
47 "transitions": {
48 "name": "AG_DEFINE_TO_GENERATING",
49 "captionKey": "enum.workflowTransition.agDefineToGenerating",
50 "caption": "AG Define To Generating"
51 },
52 "useDefaultMassWorkflowWorkbookInput": false,
53 "leaseComponentRevisionId": 10000001
54 },
55 "requestReferences": [],
56 "sheetTypes": [],
57 "sheetGroupTypes": {
58 "name": "LEASE_COMPONENT",
59 "captionKey": "enum.SheetGroupTypes.leaseComponent",
60 "caption": "Lease Component"
61 }
62 }
63}
Get Import By ID (With Permissible End States And Entity Type)¶
HTTP Request
GET /api/v1/imports/{entity_type}/permissible-end-states
📋 Description: Retrieves the permissible end states for specified entity types, such as leases, contracts, financial obligations, or accounting entries, within the Nakisa Lease Accounting Suite.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
entity_type |
path |
string |
true |
Specifies the type of entity—such as lease, contract, financial obligation, or accounting entry—whose permissible end states are being retrieved from the Nakisa Lease Accounting Suite. |
principalPositionType |
query |
string |
false |
Type of the principal position |
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Inline |
Example Responses
1[
2 "string"
3]
Response Schema
Get Import By ID (With Ordered Possible Terminal States And Entity Type)¶
HTTP Request
GET /api/v1/imports/{entity_type}/ordered-possible-terminal-states
📋 Description: Retrieves the ordered possible terminal states for a specified entity type, such as leases or contracts, within the Nakisa Lease Accounting Suite, facilitating informed decision-making for financial obligations and accounting entries.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
entity_type |
path |
string |
true |
Specifies the type of entity—such as lease, contract, financial obligation, or accounting entry—used to retrieve the ordered possible terminal states in the Nakisa Lease Accounting Suite. |
principalPositionType |
query |
string |
false |
Type of the principal position |
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Inline |
Example Responses
1[
2 "string"
3]
Response Schema
Get Import By ID (With Task And Task ID)¶
HTTP Request
GET /api/v1/imports/reports/task/{taskId}
📋 Description: Retrieves the detailed report for a specific import task identified by the taskId, providing insights into lease and contract financial obligations and their corresponding accounting entries within the Nakisa Lease Accounting Suite.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
taskId |
path |
integer |
true |
Unique identifier for the task |
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Inline |
Example Responses
1[
2 {
3 "id": 10000001,
4 "importTaskId": 10000001,
5 "sheetType": {
6 "persistentId": "sample_persistentId",
7 "rowCaption": "sample_rowCaption",
8 "sheetGroupType": {
9 "name": "LEASE_COMPONENT",
10 "captionKey": "enum.SheetGroupTypes.leaseComponent",
11 "caption": "Lease Component"
12 },
13 "sheetCaption": "sample_sheetCaption",
14 "tabCaption": "sample_tabCaption",
15 "principalPositionMode": {
16 "name": "LESSEE",
17 "captionKey": "enum.principalPositionMode.lessee",
18 "caption": "Lessee"
19 },
20 "order": 100,
21 "name": "Sample Name"
22 },
23 "startedAt": "2025-01-01T10:00:00Z",
24 "finishedAt": "2025-01-01T10:00:00Z",
25 "doneItemCount": 100,
26 "failedItemCount": 100,
27 "skippedItemCount": 100,
28 "cancelledItemCount": 100,
29 "totalItemCount": 100
30 }
31]
Response Schema
Status Code 200
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
anonymous |
false |
none |
[NfsImportItemDto is a data transfer object that encapsulates the details of a lease or contract-related financial obligation, facilitating the accurate recording and management of accounting entries within the Nakisa Lease Accounting Suite.] |
|
» id |
integer(int64) |
false |
none |
Unique identifier for the resource |
» importTaskId |
integer(int64) |
false |
none |
Unique identifier for the import task |
» sheetType |
false |
none |
Data structure representing a lease sheet type within the Nakisa Lease Accounting Suite, encompassing essential details related to contracts, financial obligations, and accounting entries. |
|
»» persistentId |
string |
true |
none |
Unique identifier for the persistent |
»» rowCaption |
string |
true |
none |
Text value for rowCaption in INfsSheetType |
»» sheetGroupType |
true |
none |
Represents the type of entity or object in the system. |
|
»»» name |
string |
false |
none |
Enum name representing the entity type. |
»»» captionKey |
string |
false |
none |
Localization key for the entity type caption. |
»»» caption |
string |
false |
none |
Localized caption of the entity type. |
»» sheetCaption |
string |
true |
none |
Text value for sheetCaption in INfsSheetType |
»» tabCaption |
string |
true |
none |
Text value for tabCaption in INfsSheetType |
»» principalPositionMode |
true |
none |
Represents the principal position mode including lessee, lessor, or both. |
|
»»» name |
string |
false |
none |
Enum name representing the principal position mode. |
»»» captionKey |
string |
false |
none |
Localization key for the principal position mode caption. |
»»» caption |
string |
false |
none |
Localized caption of the principal position mode. |
»» order |
integer(int32) |
false |
none |
Numeric value representing order |
»» name |
string |
true |
none |
Name of the resource |
» startedAt |
string(date-time) |
false |
none |
Text value for startedAt in NfsImportItemDto |
» finishedAt |
string(date-time) |
false |
none |
Text value for finishedAt in NfsImportItemDto |
» doneItemCount |
integer(int32) |
false |
none |
Count of done item |
» failedItemCount |
integer(int32) |
false |
none |
Count of failed item |
» skippedItemCount |
integer(int32) |
false |
none |
Count of skipped item |
» cancelledItemCount |
integer(int32) |
false |
none |
Count of cancelled item |
» totalItemCount |
integer(int32) |
false |
none |
Count of total item |
Enumerated Values
Attribute |
Value |
|---|---|
name |
ACTIVATION_GROUP, CHARGE, CONTACT, CONTRACT, LEASE_COMPONENT, LESSEE, LESSEE_LESSOR, LESSOR, MASTER_AGREEMENT, NOT_AVAILABLE, SCHEDULE, UNIT |
Get Import By ID¶
HTTP Request
GET /api/v1/imports/reports/job/{jobId}
📋 Description: Retrieves the import report for a specific job identified by {jobId}, providing insights into lease and contract data relevant to financial obligations and accounting entries within the Nakisa Lease Accounting Suite.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
jobId |
path |
integer |
true |
Unique identifier for the job |
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Inline |
Example Responses
1[
2 {
3 "ids": [],
4 "sheetType": {
5 "persistentId": "sample_persistentId",
6 "rowCaption": "sample_rowCaption",
7 "sheetGroupType": {
8 "name": "LEASE_COMPONENT",
9 "captionKey": "enum.SheetGroupTypes.leaseComponent",
10 "caption": "Lease Component"
11 },
12 "sheetCaption": "sample_sheetCaption",
13 "tabCaption": "sample_tabCaption",
14 "principalPositionMode": {
15 "name": "LESSEE",
16 "captionKey": "enum.principalPositionMode.lessee",
17 "caption": "Lessee"
18 },
19 "order": 100,
20 "name": "Sample Name"
21 },
22 "startedAt": "2025-01-01T10:00:00Z",
23 "finishedAt": "2025-01-01T10:00:00Z",
24 "doneItemCount": 100,
25 "failedItemCount": 100,
26 "skippedItemCount": 100,
27 "cancelledItemCount": 100,
28 "totalItemCount": 100
29 }
30]
Response Schema
Status Code 200
Name |
Type |
Required |
Restrictions |
Description |
|---|---|---|---|---|
anonymous |
false |
none |
[NfsJobImportItemDto is a data transfer object that encapsulates the details of lease-related job imports, including associated contracts and financial obligations, facilitating accurate accounting entries within the Nakisa Lease Accounting Suite.] |
|
» ids |
[integer] |
false |
none |
List of ids items |
» sheetType |
false |
none |
Data structure representing a lease sheet type within the Nakisa Lease Accounting Suite, encompassing essential details related to contracts, financial obligations, and accounting entries. |
|
»» persistentId |
string |
true |
none |
Unique identifier for the persistent |
»» rowCaption |
string |
true |
none |
Text value for rowCaption in INfsSheetType |
»» sheetGroupType |
true |
none |
Represents the type of entity or object in the system. |
|
»»» name |
string |
false |
none |
Enum name representing the entity type. |
»»» captionKey |
string |
false |
none |
Localization key for the entity type caption. |
»»» caption |
string |
false |
none |
Localized caption of the entity type. |
»» sheetCaption |
string |
true |
none |
Text value for sheetCaption in INfsSheetType |
»» tabCaption |
string |
true |
none |
Text value for tabCaption in INfsSheetType |
»» principalPositionMode |
true |
none |
Represents the principal position mode including lessee, lessor, or both. |
|
»»» name |
string |
false |
none |
Enum name representing the principal position mode. |
»»» captionKey |
string |
false |
none |
Localization key for the principal position mode caption. |
»»» caption |
string |
false |
none |
Localized caption of the principal position mode. |
»» order |
integer(int32) |
false |
none |
Numeric value representing order |
»» name |
string |
true |
none |
Name of the resource |
» startedAt |
string(date-time) |
false |
none |
Text value for startedAt in NfsJobImportItemDto |
» finishedAt |
string(date-time) |
false |
none |
Text value for finishedAt in NfsJobImportItemDto |
» doneItemCount |
integer(int32) |
false |
none |
Count of done item |
» failedItemCount |
integer(int32) |
false |
none |
Count of failed item |
» skippedItemCount |
integer(int32) |
false |
none |
Count of skipped item |
» cancelledItemCount |
integer(int32) |
false |
none |
Count of cancelled item |
» totalItemCount |
integer(int32) |
false |
none |
Count of total item |
Enumerated Values
Attribute |
Value |
|---|---|
name |
ACTIVATION_GROUP, CHARGE, CONTACT, CONTRACT, LEASE_COMPONENT, LESSEE, LESSEE_LESSOR, LESSOR, MASTER_AGREEMENT, NOT_AVAILABLE, SCHEDULE, UNIT |
Retrieve A Specific Download Xlsx Report¶
HTTP Request
GET /api/v1/imports/download_xlsx_report/{id}
📋 Description: Downloads the specified XLSX report for a lease or contract identified by the given ID, facilitating the review of financial obligations and accounting entries within the Nakisa Lease Accounting Suite.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
id |
path |
integer |
true |
Unique identifier for the resource |
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
None |
Retrieve A Specific Download Original¶
HTTP Request
GET /api/v1/imports/download_original/{id}
📋 Description: Downloads the original document associated with a specified lease or contract, facilitating access to essential financial obligation details for accounting entries within the Nakisa Lease Accounting Suite.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
id |
path |
integer |
true |
Unique identifier for the resource |
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
None |