Creates custom document fields in an existing template document.

Request

HTTP request

POST /v2/accounts/{accountId}/templates/{templateId}/custom_fields

Parameters

Parameter NameValueDescription
Path Parameters
accountIdstring

The external account number (int) or account ID Guid.

templateIdstring

The ID of the template being accessed.

Responses

CodeDescriptionReference
201

Successful response.

TemplateCustomFields
400

Error encountered.

errorDetails

SDK Method

Templates::createCustomFields

Definitions

errorDetails
listCustomField
templateCustomFields
textCustomField
TemplateCustomFields

Examples

Generic JSON Request/Response
Generic XML Request/Response