Lease Document

Lease Document - Get

HTTP Request

GET /api/v1/lease-document/{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

ResponseLeaseDocumentDto

Lease Document - Update

HTTP Request

PUT /api/v1/lease-document/{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

LeaseDocumentDto

true

none

Responses

Status

Meaning

Description

Schema

200

OK

OK

ResponseLeaseDocumentDto

Lease Document - Delete

HTTP Request

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

Parameters

Name

In

Type

Required

Description

id

path

integer(int64)

true

none

Responses

Status

Meaning

Description

Schema

200

OK

OK

ResponseVoid

Lease Document - Create Or Update Bulk

HTTP Request

PUT /api/v1/lease-document/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

LeaseDocumentDto

true

none

Responses

Status

Meaning

Description

Schema

200

OK

OK

ResponseListLeaseDocumentDto

Lease Document - Create Or Update

HTTP Request

PUT /api/v1/lease-document/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

LeaseDocumentDto

true

none

Responses

Status

Meaning

Description

Schema

200

OK

OK

ResponseLeaseDocumentDto

Lease Document - Bulk Update

HTTP Request

PUT /api/v1/lease-document/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

LeaseDocumentDto

true

none

Responses

Status

Meaning

Description

Schema

200

OK

OK

ResponseListLeaseDocumentDto

Lease Document - Bulk Upload

HTTP Request

POST /api/v1/lease-document/bulk

Parameters

Name

In

Type

Required

Description

body

body

object

false

none

» request

body

LeaseDocumentRequestDto

true

none

»» id

body

integer(int64)

false

none

»» objectType

body

string

true

none

»» objectId

body

integer(int64)

false

none

»» displayId

body

string

true

none

»» description

body

string

false

none

» files

body

[string]

true

none

Enumerated Values

Attribute

Value

»» objectType

ACTIVATION_GROUP, CONTRACT, LEASE_COMPONENT, MASTER_AGREEMENT

Responses

Status

Meaning

Description

Schema

200

OK

OK

Inline

Response Schema

Status Code 200

Name

Type

Required

Restrictions

Description

anonymous

[LeaseDocumentDto]

false

none

none

» id

integer(int64)

false

none

none

» objectType

string

true

none

none

» objectId

integer(int64)

false

none

none

» displayId

string

true

none

none

» description

string

false

none

none

» fileName

string

false

none

none

» fileFormat

string

false

none

none

» historical

boolean

false

none

none

» fileStorageId

string

false

none

none

» uploadStatus

string

false

none

none

Enumerated Values

Attribute

Value

objectType

ACTIVATION_GROUP, CONTRACT, LEASE_COMPONENT, MASTER_AGREEMENT

uploadStatus

FAILED, INVALID, IN_PROGRESS, UPLOADED

Lease Document - Bulk Delete

HTTP Request

DELETE /api/v1/lease-document/bulk

Parameters

Name

In

Type

Required

Description

body

body

array[integer]

true

none

Responses

Status

Meaning

Description

Schema

200

OK

OK

ResponseVoid

Lease Document - Fetch All Documents

HTTP Request

POST /api/v1/lease-document/fetch-all-documents

Parameters

Name

In

Type

Required

Description

body

body

LeaseDocumentRequestDto

true

none

Responses

Status

Meaning

Description

Schema

200

OK

OK

Inline

Response Schema

Status Code 200

Name

Type

Required

Restrictions

Description

anonymous

[LeaseDocumentDto]

false

none

none

» id

integer(int64)

false

none

none

» objectType

string

true

none

none

» objectId

integer(int64)

false

none

none

» displayId

string

true

none

none

» description

string

false

none

none

» fileName

string

false

none

none

» fileFormat

string

false

none

none

» historical

boolean

false

none

none

» fileStorageId

string

false

none

none

» uploadStatus

string

false

none

none

Enumerated Values

Attribute

Value

objectType

ACTIVATION_GROUP, CONTRACT, LEASE_COMPONENT, MASTER_AGREEMENT

uploadStatus

FAILED, INVALID, IN_PROGRESS, UPLOADED

Lease Document - Find All

HTTP Request

GET /api/v1/lease-document

📋 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

PageLeaseDocumentDto

Lease Document - Upload

HTTP Request

POST /api/v1/lease-document

Parameters

Name

In

Type

Required

Description

body

body

object

false

none

» request

body

LeaseDocumentRequestDto

true

none

»» id

body

integer(int64)

false

none

»» objectType

body

string

true

none

»» objectId

body

integer(int64)

false

none

»» displayId

body

string

true

none

»» description

body

string

false

none

» file

body

string(binary)

true

none

Enumerated Values

Attribute

Value

»» objectType

ACTIVATION_GROUP, CONTRACT, LEASE_COMPONENT, MASTER_AGREEMENT

Responses

Status

Meaning

Description

Schema

200

OK

OK

LeaseDocumentDto

Lease Document - Get Supported Files

HTTP Request

GET /api/v1/lease-document/supported-files

Responses

Status

Meaning

Description

Schema

200

OK

OK

Inline

Response Schema

Lease Document - Download File

HTTP Request

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

Parameters

Name

In

Type

Required

Description

id

path

integer(int64)

true

none

Responses

Status

Meaning

Description

Schema

200

OK

OK

None