Workspace¶
Cleanup¶
HTTP Request
POST /api/v1/workspaces/cleanup
📋 Description: Initiates a cleanup process for workspaces within the Nakisa Lease Accounting Suite, ensuring that obsolete lease and contract data is removed to maintain accurate financial obligations and accounting entries.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
message |
query |
string |
true |
Textual content detailing the specific cleanup instructions for lease and contract-related financial obligations within the Nakisa Lease Accounting Suite. |
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
None |
Create¶
HTTP Request
POST /api/v1/workspaces
📋 Description: Creates a new workspace within the Nakisa Lease Accounting Suite, enabling users to manage leases, contracts, and associated financial obligations effectively.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
body |
body |
object |
true |
Request body containing the workspace configuration data, including lease details, contract specifications, and associated financial obligations for accurate accounting entries. |
» request |
body |
true |
NfsImportJobDto is a data transfer object that encapsulates the details of a lease import job, including its status and associated metadata, facilitating the management of financial obligations and accounting entries within the Nakisa Lease Accounting Suite. |
|
»» id |
body |
integer(int64) |
false |
Unique identifier for the resource |
»» taskCount |
body |
integer(int32) |
false |
Count of task |
»» failedTaskCount |
body |
integer(int32) |
false |
Count of failed task |
»» doneTaskCount |
body |
integer(int32) |
false |
Count of done task |
»» inProgressTaskCount |
body |
integer(int32) |
false |
Count of in progress task |
»» cancelledTaskCount |
body |
integer(int32) |
false |
Count of cancelled task |
»» errorMessage |
body |
string |
false |
Text value for errorMessage in NfsImportJobDto |
»» queueTime |
body |
string(date-time) |
false |
Time of the queue |
»» startTime |
body |
string(date-time) |
false |
Time of the start |
»» endTime |
body |
string(date-time) |
false |
Time of the end |
»» status |
body |
false |
Represents the execution status of a batch job or task. |
|
»»» name |
body |
string |
false |
Enum name representing the batch job status. |
»»» captionKey |
body |
string |
false |
Localization key for the batch job status caption. |
»»» caption |
body |
string |
false |
Localized caption of the batch job status. |
»» batchSize |
body |
integer(int32) |
false |
Numeric value representing batchSize |
»» totalObjectCount |
body |
integer(int32) |
false |
Count of total object |
»» fileStorageId |
body |
string |
false |
Identifier of the associated file storage. |
»» importDocumentFileName |
body |
string |
false |
Name of the import document file |
»» version |
body |
integer(int32) |
false |
Numeric value representing version |
»» readOnly |
body |
boolean |
false |
Boolean flag indicating readOnly status |
»» importDocumentStoreId |
body |
integer(int64) |
false |
Unique identifier for the import document store |
»» input |
body |
false |
NfsImportJobInput is a data transfer object that encapsulates the parameters required for initiating an import job within the Nakisa Lease Accounting Suite, facilitating the integration of lease contracts and financial obligations into the accounting system. |
|
»»» erpSystemId |
body |
integer(int64) |
false |
Unique identifier for the erp system |
»»» principalPositionType |
body |
false |
Represents the type of principal position with localized captions. |
|
»»»» name |
body |
string |
false |
Enum name representing the principal position type. |
»»»» captionKey |
body |
string |
false |
Localization key for the principal position type caption. |
»»»» caption |
body |
string |
false |
Localized caption of the principal position type. |
»»» useMassWorkflowTransition |
body |
boolean |
false |
Boolean flag indicating useMassWorkflowTransition status |
»»» massWorkflowJobBatchSize |
body |
integer(int32) |
false |
Numeric value representing massWorkflowJobBatchSize |
»»» terminalState |
body |
false |
Represents the lifecycle status of various entities including Master Lease Agreements (MLA), Contracts, Lease Components (LC), Activation Groups (AG), and Units. |
|
»»»» name |
body |
string |
false |
Enum name representing the entity status. |
»»»» captionKey |
body |
string |
false |
Localization key for the entity status caption. |
»»»» caption |
body |
string |
false |
Localized caption of the entity status. |
»»» transitions |
body |
false |
Represents the workflow state transition for various entities including Master Lease Agreements (MLA), Contracts, Lease Components (LC), Activation Groups (AG), and Units. |
|
»»»» name |
body |
string |
false |
Enum name representing the workflow transition. |
»»»» captionKey |
body |
string |
false |
Localization key for the workflow transition caption. |
»»»» caption |
body |
string |
false |
Localized caption of the workflow transition. |
»»» useDefaultMassWorkflowWorkbookInput |
body |
boolean |
false |
Boolean flag indicating useDefaultMassWorkflowWorkbookInput status |
»»» leaseComponentRevisionId |
body |
integer(int64) |
false |
Unique identifier for the lease component revision |
»» requestReferences |
body |
false |
List of requestReferences items |
|
»»» key |
body |
string |
false |
Text value for key in NfsExcelRequestReference |
»»» value |
body |
string |
false |
Text value for value in NfsExcelRequestReference |
»» sheetTypes |
body |
false |
List of sheetTypes items |
|
»»» persistentId |
body |
string |
true |
Unique identifier for the persistent |
»»» rowCaption |
body |
string |
true |
Text value for rowCaption in INfsSheetType |
»»» sheetGroupType |
body |
true |
Represents the type of entity or object in the system. |
|
»»»» name |
body |
string |
false |
Enum name representing the entity type. |
»»»» captionKey |
body |
string |
false |
Localization key for the entity type caption. |
»»»» caption |
body |
string |
false |
Localized caption of the entity type. |
»»» sheetCaption |
body |
string |
true |
Text value for sheetCaption in INfsSheetType |
»»» tabCaption |
body |
string |
true |
Text value for tabCaption in INfsSheetType |
»»» principalPositionMode |
body |
true |
Represents the principal position mode including lessee, lessor, or both. |
|
»»»» name |
body |
string |
false |
Enum name representing the principal position mode. |
»»»» captionKey |
body |
string |
false |
Localization key for the principal position mode caption. |
»»»» caption |
body |
string |
false |
Localized caption of the principal position mode. |
»»» order |
body |
integer(int32) |
false |
Numeric value representing order |
»»» name |
body |
string |
true |
Name of the resource |
»» sheetGroupTypes |
body |
false |
Represents the type of entity or object in the system. |
|
» file |
body |
string(binary) |
true |
none |
Example Values¶
Parameter |
Example |
Type |
|---|---|---|
»» id |
|
body |
»» taskCount |
|
body |
»» failedTaskCount |
|
body |
»» doneTaskCount |
|
body |
»» inProgressTaskCount |
|
body |
»» cancelledTaskCount |
|
body |
»» errorMessage |
|
body |
»» queueTime |
|
body |
»» startTime |
|
body |
»» endTime |
|
body |
»»» name |
|
body |
»»» captionKey |
|
body |
»»» caption |
|
body |
»» batchSize |
|
body |
»» totalObjectCount |
|
body |
»» fileStorageId |
|
body |
»» importDocumentFileName |
|
body |
»» version |
|
body |
»» readOnly |
|
body |
»» importDocumentStoreId |
|
body |
»»» erpSystemId |
|
body |
»»»» name |
|
body |
»»»» captionKey |
|
body |
»»»» caption |
|
body |
»»» useMassWorkflowTransition |
|
body |
»»» massWorkflowJobBatchSize |
|
body |
»»»» name |
|
body |
»»»» captionKey |
|
body |
»»»» caption |
|
body |
»»»» name |
|
body |
»»»» captionKey |
|
body |
»»»» caption |
|
body |
»»» useDefaultMassWorkflowWorkbookInput |
|
body |
»»» leaseComponentRevisionId |
|
body |
»» requestReferences |
|
body |
»»» key |
|
body |
»»» value |
|
body |
»» sheetTypes |
|
body |
»»» persistentId |
|
body |
»»» rowCaption |
|
body |
»»»» name |
|
body |
»»»» captionKey |
|
body |
»»»» caption |
|
body |
»»» sheetCaption |
|
body |
»»» tabCaption |
|
body |
»»»» name |
|
body |
»»»» captionKey |
|
body |
»»»» caption |
|
body |
»»» order |
|
body |
»»» name |
|
body |
Enumerated Values
Attribute |
Value |
|---|---|
»»» name |
CANCELLED, CANCELLING, CREATED, CREATING, DONE, FAILED, INTERRUPTED, INTERRUPTING, KILLING, PENDING, PROCESSING, SCHEDULED |
»»»» name |
ACTIVATION_GROUP, AG_ACTIVATING, AG_ACTIVATING_TO_ACTIVE, AG_ACTIVE, AG_ACTIVE_TO_LEASE_ENDING, AG_CLASSIFIED, AG_CLASSIFIED_TO_ACTIVATING, AG_CLASSIFIED_TO_DEFINE, AG_CLASSIFIED_TO_REJECTED, AG_CLOSED, AG_CLOSING, AG_CLOSING_TO_CLOSE, AG_DEFINE, AG_DEFINE_TO_GENERATING, AG_DEFINE_TO_GENERATING_2, AG_GENERATING_SCHEDULE, AG_GENERATING_SCHEDULE_2, AG_GENERATING_TO_DEFINE, AG_GENERATING_TO_PENDING_ASSESSMENT, AG_INACTIVE, AG_LEASE_END, AG_LEASE_ENDING, AG_LEASE_ENDING_TO_LEASE_END, AG_LEASE_END_TO_CLOSING, AG_PENDING_ASSESSMENT, AG_PENDING_ASSESSMENT_TO_DEFINE, AG_PENDING_ASSESSMENT_TO_PENDING_CLASSIFICATION, AG_PENDING_CLASSIFICATION, AG_PENDING_CLASSIFICATION_TO_CLASSIFIED, AG_PENDING_CLASSIFICATION_TO_DEFINE, AG_RECLOSE, AG_RECLOSE_TO_CLOSING, AG_REJECTED, AG_REPROCESS, AG_REPROCESS_TO_ACTIVATING, AG_REPROCESS_TO_REVERSING, AG_REVERSING, AG_REVERSING_TO_DEFINE, AG_REVERTED, AG_REVERTING, AG_REVISION, AG_SPLITTING, AG_SPLITTING_TO_UNKNOWN, CHARGE, CONTACT, CONTRACT, CONTRACT_ACTIVE, CONTRACT_ACTIVE_TO_CLOSE, CONTRACT_ACTIVE_TO_DEFINE, CONTRACT_ACTIVE_TO_REJECTED, CONTRACT_CLOSED, CONTRACT_DEFINE, CONTRACT_DEFINE_TO_WAITING_FOR_APPROVAL, CONTRACT_REJECTED, CONTRACT_REVISION, CONTRACT_WAITING_FOR_APPROVAL, CONTRACT_WAITING_FOR_APPROVAL_TO_APPROVED, CONTRACT_WAITING_FOR_APPROVAL_TO_DEFINE, LC_ACTIVATING, LC_ACTIVATING_TO_APPROVED, LC_ACTIVE, LC_ACTIVE_TO_CLOSE, LC_ACTIVE_TO_DEFINE, LC_ACTIVE_TO_REJECTED, LC_CLOSED, LC_DEFINE, LC_DEFINE_TO_WAITING_FOR_APPROVAL, LC_REJECTED, LC_REVISION, LC_WAITING_FOR_APPROVAL, LC_WAITING_FOR_APPROVAL_TO_ACTIVATING, LC_WAITING_FOR_APPROVAL_TO_DEFINE, LEASE_COMPONENT, LESSEE, LESSEE_LESSOR, LESSOR, MASTER_AGREEMENT, MLA_ACTIVE, MLA_ACTIVE_TO_CLOSED, MLA_ACTIVE_TO_DEFINE, MLA_CLOSED, MLA_DEFINE, MLA_DEFINE_TO_WAITING_FOR_APPROVAL, MLA_DISCARDED, MLA_WAITING_FOR_APPROVAL, MLA_WAITING_FOR_APPROVAL_TO_ACTIVE, MLA_WAITING_FOR_APPROVAL_TO_DEFINE, MLA_WAITING_FOR_APPROVAL_TO_DISCARDED, NOT_AVAILABLE, SCHEDULE, UNIT, UNIT_ACTIVE, UNIT_ACTIVE_TO_CLOSED, UNIT_CASUALTY, UNIT_DELIVERED, UNIT_DELIVERED_TO_REACQUIRED, UNIT_DELIVERED_TO_RELINQUISHED, UNIT_DRAFT, UNIT_DRAFT_TO_INITIAL, UNIT_INITIAL, UNIT_INITIAL_TO_RECEIVED, UNIT_INITIAL_TO_SHIPPED, UNIT_PURCHASED, UNIT_REACQUIRED, UNIT_RECEIVED, UNIT_RECEIVED_TO_ACTIVE, UNIT_RELINQUISHED, UNIT_RETURNED, UNIT_SHIPPED, UNIT_SHIPPED_TO_DELIVERED |
Parameter Constraints¶
Parameter |
Constraints |
|---|---|
»» batchSize |
Min: 1000, Max: 15000 |
Body Parameters
1{
2 "file": "string",
3 "request": {
4 "batchSize": 1000,
5 "cancelledTaskCount": 100,
6 "doneTaskCount": 100,
7 "endTime": "2025-01-01 10:00:00+00:00",
8 "errorMessage": "sample_errorMessage",
9 "failedTaskCount": 100,
10 "fileStorageId": "sample_fileStorageId",
11 "id": 10000001,
12 "importDocumentFileName": "sample_importDocumentFileName",
13 "importDocumentStoreId": 10000001,
14 "inProgressTaskCount": 100,
15 "input": {
16 "erpSystemId": 10000001,
17 "leaseComponentRevisionId": 10000001,
18 "massWorkflowJobBatchSize": 100,
19 "principalPositionType": {
20 "caption": "Lessee",
21 "captionKey": "enum.principalpositiontype.lessee",
22 "name": "LESSEE"
23 },
24 "terminalState": {
25 "caption": "Active",
26 "captionKey": "enum.entityStatus.agActive",
27 "name": "AG_ACTIVE"
28 },
29 "transitions": {
30 "caption": "AG Define To Generating",
31 "captionKey": "enum.workflowTransition.agDefineToGenerating",
32 "name": "AG_DEFINE_TO_GENERATING"
33 },
34 "useDefaultMassWorkflowWorkbookInput": false,
35 "useMassWorkflowTransition": false
36 },
37 "queueTime": "2025-01-01 10:00:00+00:00",
38 "readOnly": false,
39 "requestReferences": [],
40 "sheetGroupTypes": {
41 "caption": "Lease Component",
42 "captionKey": "enum.SheetGroupTypes.leaseComponent",
43 "name": "LEASE_COMPONENT"
44 },
45 "sheetTypes": [],
46 "startTime": "2025-01-01 10:00:00+00:00",
47 "status": {
48 "caption": "Processing",
49 "captionKey": "enum.batchJobStatus.processing",
50 "name": "PROCESSING"
51 },
52 "taskCount": 100,
53 "totalObjectCount": 100,
54 "version": 100
55 }
56}
Responses
Status |
Meaning |
Description |
Schema |
|---|---|---|---|
200 |
OK |
Example Responses
1{
2 "id": 0,
3 "name": "string",
4 "comments": [
5 {
6 "id": 0,
7 "comment": "string"
8 }
9 ],
10 "actions": [
11 {
12 "id": 0,
13 "actionType": "MASS_IMPORT",
14 "interventionType": "MANUAL",
15 "correspondingTaskId": 0,
16 "authorizedUsers": [
17 "string"
18 ],
19 "actionStatus": "PENDING",
20 "comments": [
21 {
22 "id": 0,
23 "comment": "string"
24 }
25 ],
26 "history": [
27 {
28 "id": 0,
29 "actionTaken": "APPROVED",
30 "comments": [
31 {
32 "id": 0,
33 "comment": "string"
34 }
35 ],
36 "workspaceActionId": 0
37 }
38 ],
39 "workspaceId": 0
40 }
41 ]
42}
Get¶
HTTP Request
GET /api/v1/workspaces/{id}
📋 Description: Retrieves detailed information about a specific workspace identified by its unique ID, facilitating effective management of leases, contracts, and associated financial obligations within the Nakisa Lease Accounting Suite.
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 "id": 0,
3 "name": "string",
4 "comments": [
5 {
6 "id": 0,
7 "comment": "string"
8 }
9 ],
10 "actions": [
11 {
12 "id": 0,
13 "actionType": "MASS_IMPORT",
14 "interventionType": "MANUAL",
15 "correspondingTaskId": 0,
16 "authorizedUsers": [
17 "string"
18 ],
19 "actionStatus": "PENDING",
20 "comments": [
21 {
22 "id": 0,
23 "comment": "string"
24 }
25 ],
26 "history": [
27 {
28 "id": 0,
29 "actionTaken": "APPROVED",
30 "comments": [
31 {
32 "id": 0,
33 "comment": "string"
34 }
35 ],
36 "workspaceActionId": 0
37 }
38 ],
39 "workspaceId": 0
40 }
41 ]
42}