ClientDocumentDto
Represents a document associated with a client, such as letters, engagement letters, proposals, or other correspondence.
Documents may be stored in blob storage or an external platform (e.g., Google Drive).
The two things a document is "waiting on" are deliberately separate objects: SodiumHQ.DTOs.ClientDocument.ClientDocumentDto.File
for the bytes, and SodiumHQ.DTOs.ClientDocument.ClientDocumentDto.Approval for the client's sign-off. The practice's own internal
check stays at the top level as ReviewStatus — it is a different vocabulary from the client's
approval and the two are easily confused when they sit side by side.
Properties
| Name | Type | Description |
|---|---|---|
| code | string | The unique code for this document |
The unique code for this document | ||
| client | CodeAndNameDto | |
| category | CodeAndNameDto | |
| title | string | The title of the document |
The title of the document | ||
| summary | string | A brief summary or description of the document |
A brief summary or description of the document | ||
| date | string | The date the document is dated (not the creation date) |
The date the document is dated (not the creation date) | ||
| file | ClientDocumentFileDto | |
| approval | ClientDocumentApprovalDto | |
| reviewStatus | enum | Approved PendingReview Rejected |
Approved PendingReview Rejected | ||
| uploadedByContact | CodeAndNameDto | |
| reviewedByUser | CodeAndNameDto | |
| reviewedDate | string | When this document was reviewed |
When this document was reviewed | ||
| visibleInClientPortal | boolean | Whether this document is visible to the client in the portal. |
Whether this document is visible to the client in the portal. | ||
| portalFolderPath | string | Folder path controlling where this document appears in the client portal. |
Folder path controlling where this document appears in the client portal. | ||
| createdDate | string | When the document record was created in the system |
When the document record was created in the system | ||
| updatedDate | string | When the document record was last updated |
When the document record was last updated | ||
| clientNotifiedDate | string | When the client was last notified about this document. Null if never notified. |
When the client was last notified about this document. Null if never notified. | ||
| clientNotifiedByUser | CodeAndNameDto | |
| documentRequest | CodeAndNameDto | |
| task | CodeAndNameDto | |
| taskCategory | CodeAndNameDto | |
JSON Example
{
"code": "string",
"client": {
"code": "string",
"name": "string"
},
"category": {
"code": "string",
"name": "string"
},
"title": "string",
"summary": "string"
}
Used By Operations
-
POST
Create Document for Client
/tenants/{tenant}/clients/{client}/clientdocument
-
GET
Get Document for Client
/tenants/{tenant}/clients/{client}/clientdocument/{code}
-
PUT
Update Document for Client
/tenants/{tenant}/clients/{client}/clientdocument/{code}
-
PUT
Review Document
/tenants/{tenant}/clients/{client}/clientdocument/{code}/review
-
PUT
Cancel Client Approval Request
/tenants/{tenant}/clients/{client}/clientdocument/{code}/cancel-approval
-
POST
Create Document from Template
/tenants/{tenant}/clients/{client}/clientdocument/from-template
-
POST
Track External File
/tenants/{tenant}/clients/{client}/clientdocument/track-external
Contained in Schemas
- ClientDocumentDtoPagedResult
- ClientDocumentPortalViewResult Paginated list of client documents with portal folder navigation, as seen by the client. Used by the...
- DocumentRequestDetailDto Detailed response DTO for a document request, including documents and responses
- DocumentUploadResultDto The outcome of uploading a single file within a batch upload.