API Docs / Schemas / ExternalDocumentDto

ExternalDocumentDto

A file from the external storage provider, enriched with metadata from our DB
when the file is tracked. Untracked files (uploaded outside Sodium) have null
for DB-sourced fields like Code, Category, ReviewStatus, etc.

Properties

Name Type Description
externalFileIdstring

The platform-specific file identifier

The platform-specific file identifier

fileNamestring

File name from the external platform

File name from the external platform

fileSizeinteger

File size in bytes

File size in bytes

modifiedDatestring

Last modified date from the external platform

Last modified date from the external platform

externalUrlstring

URL to open/download the file from the provider

URL to open/download the file from the provider

isFolderboolean

Whether this file is tracked in our system. When false, the fields below
(Code, Title, Category, ReviewStatus, etc.) will be null.

Whether this file is tracked in our system. When false, the fields below
(Code, Title, Category, ReviewStatus, etc.) will be null.

isTrackedboolean
codestring

Our internal document code (null for untracked files)

Our internal document code (null for untracked files)

titlestring

Document title (null for untracked files)

Document title (null for untracked files)

summarystring

Document summary (null for untracked files)

Document summary (null for untracked files)

datestring

Document date (null for untracked files)

Document date (null for untracked files)

categoryCodeAndNameDto
reviewStatusenum

Approved PendingReview Rejected

Approved PendingReview Rejected

clientApprovalStatusenum

None Pending Approved Rejected

None Pending Approved Rejected

visibleInClientPortalboolean

Whether this document is visible in the client portal (null for untracked files)

Whether this document is visible in the client portal (null for untracked files)

uploadedByContactCodeAndNameDto
downloadUrlstring

Signed download URL via our streaming endpoint (null for untracked files)

Signed download URL via our streaming endpoint (null for untracked files)

documentRequestCodeAndNameDto
createdDatestring

When the document was created in our system (null for untracked files)

When the document was created in our system (null for untracked files)

JSON Example

{
  "externalFileId": "string",
  "fileName": "string",
  "fileSize": 0,
  "modifiedDate": "2024-01-01T00:00:00Z",
  "externalUrl": "string"
}

Contained in Schemas