Contract Event

Retrieves A Contract Revision

HTTP Request

GET /api/v1/events/contract-revisions/{id}

📋 Description: Retrieves detailed information about a specific contract revision identified by the provided ID.

Parameters

Name

In

Type

Required

Description

id

path

integer

true

The unique identifier of the contract event to retrieve.

Example Values

Parameter

Example

Type

id

10000001

path

Responses

Status

Meaning

Description

Schema

200

OK

Successfully retrieved contract revision

ResponseContractRevisionDto

Update A Contract Revision

HTTP Request

PUT /api/v1/events/contract-revisions/{id}

📋 Description: Updates the specified contract revision in the Nakisa Lease Accounting Suite

Parameters

Name

In

Type

Required

Description

id

path

integer

true

Unique identifier of the contract revision to update.

body

body

ContractRevisionDto

false

none

Example Values

Parameter

Example

Type

id

10000001

path

Responses

Status

Meaning

Description

Schema

200

OK

Contract revision successfully updated.

ResponseContractRevisionDto

Delete Contract Revision

HTTP Request

DELETE /api/v1/events/contract-revisions/{id}

📋 Description: Deletes a specified contract revision from the Nakisa Lease Accounting Suite

Parameters

Name

In

Type

Required

Description

id

path

integer

true

Unique identifier of the Contract Revision to delete.

Example Values

Parameter

Example

Type

id

10000001

path

Responses

Status

Meaning

Description

Schema

200

OK

Contract Revision successfully deleted.

ResponseVoid

Patches Contract Revision

HTTP Request

PATCH /api/v1/events/contract-revisions/{id}

📋 Description: Patches the specified contract revision in the Nakisa Lease Accounting Suite

Parameters

Name

In

Type

Required

Description

id

path

integer

true

Unique identifier of the contract revision to patch.

body

body

JsonPatch

false

none

Example Values

Parameter

Example

Type

id

10000001

path

body

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

body

Responses

Status

Meaning

Description

Schema

200

OK

Successfully patched contract revision.

ResponseContractRevisionDto

Update Contracts Revisions In Bulk

HTTP Request

PUT /api/v1/events/contract-revisions/bulk

📋 Description: Updates multiple contract revisions in bulk within the Nakisa Lease Accounting Suite.

Parameters

Name

In

Type

Required

Description

body

body

ContractRevisionDto

false

none

Responses

Status

Meaning

Description

Schema

200

OK

All contract revisions successfully updated.

ResponseListContractRevisionDto

Search Contract Revisions

HTTP Request

POST /api/v1/events/contract-revisions/search

📋 Description: Performs a filtered search and returns paginated results.

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

body

body

ContractRevisionDtoFilter

false

none

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.

PageContractRevisionDto

Modify Contract Revision (After Being Approved)

HTTP Request

POST /api/v1/events/contract-revisions/modification

📋 Description: Modify contract revision (after being approved)

Parameters

Name

In

Type

Required

Description

body

body

ContractModificationRequest

false

none

Responses

Status

Meaning

Description

Schema

200

OK

Modification successfully done.

ResponseContractRevisionDto

List All Contracts Events

HTTP Request

GET /api/v1/events/contract-revisions

📋 Description: Returns a paginated list of all Contract events.

Parameters

Name

In

Type

Required

Description

pageable

query

Pageable

false

Pagination parameters including page, size, and sort.

Responses

Status

Meaning

Description

Schema

200

OK

Successfully retrieved list of Contracts.

PageContractRevisionDto

Get Contract Revision

HTTP Request

GET /api/v1/events/contract-revisions/contract/{contractId}

📋 Description: Retrieves a contract revision by contractId

Parameters

Name

In

Type

Required

Description

id

path

integer

true

The unique identifier of the contract to retrieve contract event

pageable

query

Pageable

false

Pagination parameters including page, size, and sort.

Example Values

Parameter

Example

Type

id

10000004

path

Responses

Status

Meaning

Description

Schema

200

OK

Successfully retrieved list of revisions.

PageContractRevisionDto