Generating a Simple Document
We are still updating this page
Some data may be missing here — we will complete it soon
If the document needs to include only simple text data, you should pass an array values with text values to the method documentgenerator.document.add:
$data = [
'templateId' => 203,
'providerClassName' => 'Bitrix\\DocumentGenerator\\DataProvider\\Rest',
'value' => 1,
'values' => [
'SomeDate' => '02/14/2018',
'SomeName' => 'Vladislav Gorelkin',
],
];
$url = $webHookUrl.$prefix.'.document.add/';
Copied