Documentation

crm.documentgenerator.template.get

crm.documentgenerator.template.get(id)

The method returns information about a template by its identifier.

Parameters

Parameter Description
idTemplate ID

Example

"template": {
    "id": 1, // template id
    "name": "Invoice (Poland)", // name
    "region": "pl", // country
    "code": "INVOICE_PL", // code
    "download": '', // download link for the user
    "downloadMachine": '', // download link for the application
    "active": "Y", // active status 
    "moduleId": "crm", // module id
    "numeratorId": 1, // numerator id
    "withStamps": "Y", // enable stamps by default
    "isDeleted": "N" // deleted or not deleted
    "entityTypeId": [ // associated entities
        "0": "4",
        "1": "3",
        "2": "2_category_0",
        "3": "2_category_1",
        "4": "5",
        "5": "1",
        "6": "14",
        "7": "7"
    ],
    "users" [ // associated users
      "0": "PL"
    ],
    "sort": 500, // sorting index
}


© «Bitrix24», 2001-2024