Documentation

crm.documentgenerator.document.get

crm.documentgenerator.document.get(id)

The method returns information about a document by its ID.

Parameters

Parameter Description
idDocument ID

Example

"document": {
    "id": 1, // document id
    "title": "Invoice (Poland) 1", // name
    "number": "1", // number
    "createTime": "2018-06-05T16:04:40+02:00", // date of creation
    "stampsEnabled": true // enabled stamps and signatures
    "createdBy": "1", // Created by ID
    "updatedBy": "1", // Updated by ID
    "downloadUrl": "", // docx file download link for the user 
    "downloadUrlMachine": "", // docx file download link for the application
    "imageUrl": "", // image download link for the user  
    "imageUrlMachine": "", //  image download link for the application  
    "pdfUrl": "", // pdf file download link for the user
    "pdfUrlMachine": "", //  pdf file download link for the application
    "publicUrl": "" // public link (if available)
    "isTransformationError": false, // conversion error 
    "templateId": "1", // template ID
    "entityTypeId": 1, // ID of CRM entity type
    "entityId": "1", // CRM entity ID
    "values": {},// array of additional values
}


© «Bitrix24», 2001-2024