Document Storage

Document Storage - Get

HTTP Request

GET /api/v1/document-storage/{id}

📋 Description: Returns the single resource with the given ID.

Parameters

Name

In

Type

Required

Description

id

path

integer(int64)

true

Resource ID

Responses

Status

Meaning

Description

Schema

200

OK

OK

ResponseDocumentStorageDto

Document Storage - Update

HTTP Request

PUT /api/v1/document-storage/{id}

📋 Description: Fully replaces the resource with the given ID. All fields in the request body are applied.

Parameters

Name

In

Type

Required

Description

id

path

integer(int64)

true

Resource ID

body

body

DocumentStorageDto

true

none

Responses

Status

Meaning

Description

Schema

200

OK

OK

ResponseDocumentStorageDto

Document Storage - Delete

HTTP Request

DELETE /api/v1/document-storage/{id}

Parameters

Name

In

Type

Required

Description

id

path

integer(int64)

true

none

Responses

Status

Meaning

Description

Schema

200

OK

OK

ResponseVoid

Document Storage - Create Or Update Bulk

HTTP Request

PUT /api/v1/document-storage/createOrUpdate/bulk

📋 Description: Creates or updates multiple resources in a single request. Partial success: each item is processed independently. Items that pass validation are persisted; failed items are recorded in the response errors list. The response body always contains the successfully processed items alongside any per-item errors.

Parameters

Name

In

Type

Required

Description

body

body

DocumentStorageDto

true

none

Responses

Status

Meaning

Description

Schema

200

OK

OK

ResponseListDocumentStorageDto

Document Storage - Create Or Update

HTTP Request

PUT /api/v1/document-storage/createOrUpdate

📋 Description: Creates the resource if no matching record exists, or fully updates it if one is found. Idempotent: safe to call multiple times with the same payload.

Parameters

Name

In

Type

Required

Description

body

body

DocumentStorageDto

true

none

Responses

Status

Meaning

Description

Schema

200

OK

OK

ResponseDocumentStorageDto

Document Storage - Bulk Update

HTTP Request

PUT /api/v1/document-storage/bulk

📋 Description: Updates multiple resources in a single request. Partial success: each item is processed independently. Items that pass validation are updated; failed items are recorded in the response errors list. The response body always contains the successfully updated items alongside any per-item errors.

Parameters

Name

In

Type

Required

Description

body

body

DocumentStorageDto

true

none

Responses

Status

Meaning

Description

Schema

200

OK

OK

ResponseListDocumentStorageDto

Document Storage - Bulk Delete

HTTP Request

DELETE /api/v1/document-storage/bulk

Parameters

Name

In

Type

Required

Description

body

body

array[integer]

true

none

Responses

Status

Meaning

Description

Schema

200

OK

OK

ResponseVoid

Document Storage - Bulk Download

HTTP Request

POST /api/v1/document-storage/download/bulk

Parameters

Name

In

Type

Required

Description

body

body

array[integer]

true

none

Responses

Status

Meaning

Description

Schema

200

OK

OK

None

Document Storage - Search File Categories

HTTP Request

POST /api/v1/document-storage/document-storage-categories/search

Parameters

Name

In

Type

Required

Description

body

body

object

false

none

» filter

body

DocumentStorageCategoryDtoFilter

false

none

»» idIn

body

[integer]

false

none

»» idEqual

body

integer(int64)

false

none

»» idLike

body

string

false

none

»» createdAtGreaterThanOrEqual

body

string(date-time)

false

none

»» createdAtLessThanOrEqual

body

string(date-time)

false

none

»» createdByLike

body

string

false

none

»» createdByEqual

body

string

false

none

»» modifiedAtGreaterThanOrEqual

body

string(date-time)

false

none

»» modifiedAtLessThanOrEqual

body

string(date-time)

false

none

»» modifiedByLike

body

string

false

none

»» modifiedByEqual

body

string

false

none

»» uiSelector

body

string

false

none

»» nameLike

body

string

false

none

» pageable

body

Pageable

false

Data transfer object representing a paginated collection of lease-related records, including contracts, financial obligations, and accounting entries, facilitating efficient data retrieval and management within the Nakisa Lease Accounting Suite.

»» page

body

integer(int32)

true

Page number for pagination

»» size

body

integer(int32)

true

Number of items per page

»» sort

body

[string]

false

Sort order specification

Example Values

Parameter

Example

Type

»» page

0

body

»» size

10

body

»» sort

["id,asc","name,desc"]

body

Parameter Constraints

Parameter

Constraints

»» page

Min: 0

»» size

Min: 1

Responses

Status

Meaning

Description

Schema

200

OK

OK

PageDocumentStorageCategoryDto

Document Storage - Find All

HTTP Request

GET /api/v1/document-storage

📋 Description: Returns a paginated list of all accessible resources ordered by ID. Prefer POST /search for filtered queries.

Parameters

Name

In

Type

Required

Description

pageable

query

Pageable

true

none

Responses

Status

Meaning

Description

Schema

200

OK

OK

PageDocumentStorageDto

Document Storage - Upload

HTTP Request

POST /api/v1/document-storage

Parameters

Name

In

Type

Required

Description

body

body

object

false

none

» request

body

DocumentStorageDto

true

none

»» id

body

integer(int64)

false

none

»» name

body

string

true

none

»» description

body

string

false

none

»» category

body

string

false

none

»» fromDate

body

string(date)

false

none

»» toDate

body

string(date)

false

none

»» format

body

string

false

none

»» size

body

number(double)

false

none

»» uploadStatus

body

string

false

none

»» fileStorageId

body

string

false

none

»» unauthorized

body

boolean

false

none

» file

body

string(binary)

true

none

Enumerated Values

Attribute

Value

»» format

XLSB, ZIP

»» uploadStatus

FAILED, INVALID, IN_PROGRESS, UPLOADED

Responses

Status

Meaning

Description

Schema

200

OK

OK

DocumentStorageDto

Document Storage - Get Legacy Report Supported File Type

HTTP Request

GET /api/v1/document-storage/supported-file-extensions

Responses

Status

Meaning

Description

Schema

200

OK

OK

Inline

Response Schema

Document Storage - Download

HTTP Request

GET /api/v1/document-storage/download/{id}

Parameters

Name

In

Type

Required

Description

id

path

integer(int64)

true

none

Responses

Status

Meaning

Description

Schema

200

OK

OK

None