Document For Partner Contracts

Update Document

HTTP Request

PUT /api/documents/{documentId}

📋 Description: Updates the specified document identified by {documentId}, allowing users to modify its content and metadata to ensure that the information remains current and relevant.

Parameters

Name

In

Type

Required

Description

documentId

path

integer(int64)

true

Unique identifier for the document

body

body

DocumentDto

true

Request body containing the updated document details, including title, content, and associated metadata for effective document management.

Responses

Status

Meaning

Description

Schema

200

OK

OK

DocumentDto

Get Documents For Lease

HTTP Request

GET /api/{owningType}/{entityId}/documents

📋 Description: Fetches documents associated with a specified entity, allowing users to access relevant information for effective decision-making and record management.

Parameters

Name

In

Type

Required

Description

owningType

path

string

true

Type of the owning

entityId

path

integer(int64)

true

Unique identifier for the entity

Responses

Status

Meaning

Description

Schema

200

OK

OK

PagedResponseDocumentDto

Upload Documents For Lease

HTTP Request

POST /api/{owningType}/{entityId}/documents

📋 Description: Uploads a new document associated with the specified entity, enabling efficient document management and record-keeping within the system.

Parameters

Name

In

Type

Required

Description

owningType

path

string

true

Type of the owning

entityId

path

integer(int64)

true

Unique identifier for the entity

body

body

object

false

Request body containing the document details, including metadata and content, necessary for associating the document with the specified entity in the system.

» document

body

DocumentDto

true

Data transfer object representing a document within the system, encapsulating essential attributes such as title, content, and metadata to facilitate efficient document management and retrieval in business processes.

»» createdBy

body

string

false

Username of who created this resource

»» lastModifiedBy

body

string

false

Username of who last modified this resource

»» createdDate

body

string(date-time)

false

Date of the created

»» lastModifiedDate

body

string(date-time)

false

Date of the last modified

»» archived

body

boolean

false

Indicates whether the document has been archived, reflecting its current status within the document management lifecycle.

»» externalId

body

string

false

Unique identifier for the external

»» id

body

integer(int64)

false

Unique identifier for the resource

»» name

body

string

false

Name of the resource

»» title

body

string

false

Title of the resource

»» type

body

string

false

Type of the resource

»» description

body

string

false

Description of the resource

»» link

body

string

false

URL link to access the associated document within the system.

»» signedDate

body

string(date)

false

Date of the signed

»» documentTypeId

body

integer(int64)

false

Unique identifier for the document type

»» statusId

body

integer(int64)

false

Unique identifier for the status

»» shareable

body

boolean

false

Indicates whether the document is shareable with external stakeholders, facilitating collaboration and information dissemination.

»» size

body

integer(int64)

false

Number of items per page

»» documentType

body

PickListOptionDto

false

Data transfer object representing an option within a pick list, utilized for categorizing and selecting predefined values in business processes, enhancing data consistency and user experience.

»»» createdBy

body

string

false

Username of who created this resource

»»» lastModifiedBy

body

string

false

Username of who last modified this resource

»»» createdDate

body

string(date-time)

false

Date of the created

»»» lastModifiedDate

body

string(date-time)

false

Date of the last modified

»»» archived

body

boolean

false

Indicates whether the pick list option has been archived, allowing for effective management of active and inactive options within the system.

»»» externalId

body

string

false

Unique identifier for the external

»»» id

body

integer(int64)

false

Unique identifier for the resource

»»» priority

body

integer(int64)

false

Priority of the resource

»»» internalId

body

integer(int64)

false

Unique identifier for the internal

»»» pickListCode

body

string

false

Code for the pick list

»»» pickListLabel

body

string

false

Label for the pick list

»»» label

body

string

false

Label for the resource

»»» cultureId

body

integer(int64)

false

Unique identifier for the culture

»»» labelDtos

body

[LabelDto]

false

An array of pick list options that allows users to select and categorize relevant data points within the application.

»»»» createdBy

body

string

false

Username of who created this resource

»»»» lastModifiedBy

body

string

false

Username of who last modified this resource

»»»» createdDate

body

string(date-time)

false

Date of the created

»»»» lastModifiedDate

body

string(date-time)

false

Date of the last modified

»»»» archived

body

boolean

false

Indicates whether the label has been archived, reflecting its current status within the system.

»»»» externalId

body

string

false

Unique identifier for the external

»»»» id

body

integer(int64)

false

Unique identifier for the resource

»»»» cultureId

body

integer(int64)

false

Unique identifier for the culture

»»»» value

body

string

true

Represents the textual value associated with the label, providing essential context for categorization and identification within the system.

»» status

body

PickListOptionDto

false

Data transfer object representing an option within a pick list, utilized for categorizing and selecting predefined values in business processes, enhancing data consistency and user experience.

» file

body

string(binary)

false

none

Responses

Status

Meaning

Description

Schema

200

OK

OK

DocumentDto

Download Document

HTTP Request

GET /api/{owningType}/{entityId}/documents/{documentId}/download

📋 Description: Downloads the specified document associated with the given entity, allowing users to access important files relevant to their business operations.

Parameters

Name

In

Type

Required

Description

owningType

path

string

true

Type of the owning

entityId

path

integer(int64)

true

Unique identifier for the entity

documentId

path

integer(int64)

true

Unique identifier for the document

Responses

Status

Meaning

Description

Schema

200

OK

OK

Inline

Response Schema

Delete Document

HTTP Request

DELETE /api/{owningType}/{entityId}/documents/{id}

📋 Description: Deletes a specified document associated with a particular entity, allowing for effective document management and maintenance of data integrity within the system.

Parameters

Name

In

Type

Required

Description

owningType

path

string

true

Type of the owning

entityId

path

integer(int64)

true

Unique identifier for the entity

id

path

integer(int64)

true

Unique identifier for the resource

Responses

Status

Meaning

Description

Schema

200

OK

OK

None