Update Template documentgenerator.template.update

We are still updating this page

Some data may be missing here — we will complete it shortly.

Scope: documentgenerator

Who can execute the method: any user

The method documentgenerator.template.update updates an existing template.

Parameter

Description

id*

Template identifier.

fields

Array of fields.

Required parameters are marked with *

Fields Parameters

Parameter

Description

name

Template name.

file

File content, encoded in base64 (required). Alternatively, the file content can be sent in multipart/form-data. In this case, it should not be encoded in base64.

code

Symbolic code of the template.

numeratorId

Identifier of the numerator.

region

Country.

users

Visibility array. Defaults to empty.

active

Y/N active flag. Defaults to Y.

withStamps

Y/N apply stamps and signatures. Defaults to N.

sort

Sorting index.

All parameters are optional.

Success Response

Returns the same data as when calling documentgenerator.template.get().