Skip to main content

Document

Entity›Document

A generated document created by rendering a Template_Document with data from a specific CRM record. Represents the output of a document generation operation — for example, a PDF invoice or a signed contract. Stores the rendered content and the source template reference.

Endpoints​

List​

GET/v1/odata/Document

Get by ID​

GET/v1/odata/Document({id})

Create​

POST/v1/odata/Document

Update​

PUT/v1/odata/Document({id})

Delete​

DELETE/v1/odata/Document({id})

Fields​

FieldTypeDescription
NameStringName
VersionDoubleVersion

Relationships​

RelationshipTarget EntityCardinalityDescription
EmailsActivity_Email1:NEmails
DigitalSignaturesDigitalSignature1:NDigital Signatures
FinalizedDocumentFileN:1Finalized Document

Expanding Relationships​

GET/v1/odata/Document({id})?$expand=Emails
GET/v1/odata/Document({id})/Emails

Custom Query​

Build your own OData query against Document. Open Run and edit the whole request inline — swap the entity set, change the $filter, or add $expand, $select, $orderby, $top, $skip. Type $ for suggestions; use ↺ Reset to restore this example.

GET/v1/odata/Document?$top=10