Contracts

Get Contract By ID

HTTP Request

GET /api/v1/contracts/{id}

📋 Description: Fetches detailed information about a specific lease contract identified by its unique ID, providing essential data for 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

Example Values

Parameter

Example

Type

id

10000004

path

Responses

Status

Meaning

Description

Schema

200

OK

Successfully retrieved contract

ResponseContractDto

Update Contract

HTTP Request

PUT /api/v1/contracts/{id}

📋 Description: Updates an existing lease contract identified by the specified ID, allowing for modifications to 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

body

body

ContractDto

false

Request body containing the updated contract details, including lease terms, financial obligations, and accounting entries, for the specified contract ID.

Example Values

Parameter

Example

Type

id

10000004

path

Responses

Status

Meaning

Description

Schema

200

OK

Contract successfully updated.

ResponseContractDto

Delete A Contract

HTTP Request

DELETE /api/v1/contracts/{id}

📋 Description: Deletes a specified lease contract from the Nakisa Lease Accounting Suite, thereby removing the associated financial obligations and accounting entries from the system.

Parameters

Name

In

Type

Required

Description

id

path

integer

true

Unique identifier for the resource

Example Values

Parameter

Example

Type

id

10000004

path

Responses

Status

Meaning

Description

Schema

200

OK

Contract successfully deleted.

ResponseVoid

Partially Update Contract

HTTP Request

PATCH /api/v1/contracts/{id}

📋 Description: Updates the specified lease contract in the Nakisa Lease Accounting Suite, allowing for modifications to financial obligations and accounting entries associated with the contract.

Parameters

Name

In

Type

Required

Description

id

path

integer

true

Unique identifier for the resource

body

body

JsonPatch

false

Request body containing the updated contract details, including lease terms, financial obligations, and accounting entry adjustments for the specified contract ID.

Example Values

Parameter

Example

Type

id

10000048

path

body

{"op":"replace","path":"/name","value":"patched contract"}

body

Responses

Status

Meaning

Description

Schema

200

OK

Successfully patched contract.

ResponseContractDto

Create Or Update A Contract

HTTP Request

PUT /api/v1/contracts/createOrUpdate

📋 Description: Updates or creates a lease contract within the Nakisa Lease Accounting Suite, ensuring accurate financial obligations and accounting entries are maintained in compliance with organizational standards.

Parameters

Name

In

Type

Required

Description

body

body

ContractDto

false

Request body containing the lease contract details, including financial obligations and accounting entries, for creating or updating a contract in the Nakisa Lease Accounting Suite.

Responses

Status

Meaning

Description

Schema

200

OK

Successfully created or updated the contract.

ResponseContractDto

Create Or Update Contracts In Bulk

HTTP Request

PUT /api/v1/contracts/createOrUpdate/bulk

📋 Description: Updates or creates multiple lease contracts in the Nakisa Lease Accounting Suite, facilitating efficient management of financial obligations and accounting entries in bulk. This operation streamlines the contract lifecycle by ensuring timely adjustments to lease agreements.

Parameters

Name

In

Type

Required

Description

body

body

ContractDto

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.

Responses

Status

Meaning

Description

Schema

200

OK

Successfully processed all contracts.

ResponseListContractDto

Update Contracts In Bulk

HTTP Request

PUT /api/v1/contracts/bulk

📋 Description: Updates multiple lease contracts in bulk within the Nakisa Lease Accounting Suite, ensuring accurate financial obligations and accounting entries are reflected in the system.

Parameters

Name

In

Type

Required

Description

body

body

ContractDto

false

Request body containing an array of contract data for bulk updates, including lease terms, financial obligations, and associated accounting entries.

Responses

Status

Meaning

Description

Schema

200

OK

All contracts successfully updated.

ResponseListContractDto

Bulk Create Contract

HTTP Request

POST /api/v1/contracts/bulk

📋 Description: Submits multiple lease contracts in bulk to the Nakisa Lease Accounting Suite, facilitating efficient management of financial obligations and accounting entries.

Parameters

Name

In

Type

Required

Description

body

body

ContractDto

false

Request body containing bulk contract data, including lease details, financial obligations, and accounting entries for streamlined processing within the Nakisa Lease Accounting Suite.

Responses

Status

Meaning

Description

Schema

200

OK

Contracts successfully created.

ResponseListContractDto

Delete Contracts In Bulk

HTTP Request

DELETE /api/v1/contracts/bulk

📋 Description: Deletes multiple contracts in bulk from the Nakisa Lease Accounting Suite, effectively managing lease-related financial obligations and ensuring accurate accounting entries.

Parameters

Name

In

Type

Required

Description

body

body

array[integer]

false

Request body containing an array of contract identifiers to facilitate the bulk deletion of lease agreements and associated financial obligations within the Nakisa Lease Accounting Suite.

Responses

Status

Meaning

Description

Schema

200

OK

Contracts successfully deleted.

ResponseVoid

List All Contracts

HTTP Request

GET /api/v1/contracts

📋 Description: Retrieves a list of contracts associated with leases, providing essential details for financial obligations and accounting entries within the Nakisa Lease Accounting Suite.

Parameters

Name

In

Type

Required

Description

pageable

query

Pageable

false

Indicates whether the results of the lease contract retrieval should be paginated, facilitating efficient management of financial obligations and accounting entries.

Responses

Status

Meaning

Description

Schema

200

OK

Successfully retrieved list of contracts.

PageContractDto

Creates A Contract

HTTP Request

POST /api/v1/contracts

📋 Description: Creates a new lease contract within the Nakisa Lease Accounting Suite, establishing a financial obligation and generating the necessary accounting entries for accurate financial reporting.

Parameters

Name

In

Type

Required

Description

body

body

ContractDto

false

Request body containing the lease contract details, including financial obligations and accounting entries necessary for processing within the Nakisa Lease Accounting Suite.

Responses

Status

Meaning

Description

Schema

200

OK

Contract created.

ResponseContractDto

Searches Contracts

HTTP Request

POST /api/v1/contracts/search

📋 Description: Submits a search request for contracts within the Nakisa Lease Accounting Suite, allowing users to identify specific lease agreements and associated financial obligations for streamlined accounting entries.

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

ContractDtoFilter

false

Request body containing search criteria and filters for retrieving lease contract information, including relevant financial obligations and accounting entries.

Default Values

Parameter

Default

Type

page

0

query

size

100

query

sort

["createdAt,ASC"]

query

Parameter Constraints

Parameter

Constraints

page

Min: 0

size

Min: 1

Responses

Status

Meaning

Description

Schema

200

OK

Search results successfully returned.

PageContractDto

Clone A Contract

HTTP Request

POST /api/v1/contracts/clone/{id}

📋 Description: Clones an existing contract identified by the specified ID, enabling users to efficiently replicate lease agreements and associated financial obligations within the Nakisa Lease Accounting Suite.

Parameters

Name

In

Type

Required

Description

id

path

integer

true

Unique identifier for the resource

body

body

ContractCloneRequest

false

Request body containing the contract details to be cloned, including lease terms, financial obligations, and relevant accounting entries.

Example Values

Parameter

Example

Type

id

10000004

path

Responses

Status

Meaning

Description

Schema

200

OK

Contract successfully cloned.

ResponseContractDto

Clone Multiple Contracts In Batch

HTTP Request

POST /api/v1/contracts/batch-clone

📋 Description: Creates multiple cloned lease contracts in a single operation, facilitating efficient management of financial obligations and accounting entries within the Nakisa Lease Accounting Suite.

Parameters

Name

In

Type

Required

Description

body

body

ContractBatchCloneRequest

false

Request body containing an array of lease contract details to facilitate the batch cloning of financial obligations and accounting entries within the Nakisa Lease Accounting Suite.

Responses

Status

Meaning

Description

Schema

200

OK

Contracts successfully cloned.

ResponseListContractDto

Get Contract Revisions

HTTP Request

GET /api/v1/contracts/{id}/revisions

📋 Description: Retrieves the revision history for a specific contract identified by its unique ID, providing insights into changes made over time that impact lease management and financial obligations within the Nakisa Lease Accounting Suite.

Parameters

Name

In

Type

Required

Description

id

path

integer

true

Unique identifier for the resource

pageable

query

Pageable

false

Indicates whether the response should be paginated, allowing users to efficiently retrieve multiple revisions of a contract within the Nakisa Lease Accounting Suite.

Example Values

Parameter

Example

Type

id

10000004

path

Responses

Status

Meaning

Description

Schema

200

OK

Successfully retrieved list of revisions.

PageContractRevisionDto

Get Contract By ID (With Revision And Revision ID)

HTTP Request

GET /api/v1/contracts/revision/{revisionId}

📋 Description: Retrieves the details of a specific contract revision identified by the provided revision ID, facilitating effective management of lease agreements and associated financial obligations within the Nakisa Lease Accounting Suite.

Parameters

Name

In

Type

Required

Description

revisionId

path

integer

true

Unique identifier for the revision

Example Values

Parameter

Example

Type

revisionId

10000004

path

Responses

Status

Meaning

Description

Schema

200

OK

Successfully retrieved contract

ResponseContractDto