v1

latestOpenAPI 3.0.02026-07-2418630310.7 KB
Templates

Create a new account template

Create a new account template. <br> <b>Required scope(s):</b> administration:write

post/api/v4/f/{firm_id}/account_templates

Path parameters

firm_idinteger required

Headers

Acceptstring

Request body

name_nlstring required
name_enstring
name_frstring
account_rangestring
text_configurationstring
textstring
externally_managedboolean

When this value is set to true the shared parts are not allowed to be edited via the web interface, only via API.

Example request

{
  "name_nl": "Account Template Name",
  "name_en": "Account Template Name",
  "name_fr": "Account Template Name",
  "text_parts": [
    {
      "name": "part_name",
      "content": "{% comment %}liquid code in part{% endcomment %}"
    }
  ]
}

Response

Successful response

name_nlstring required
name_enstring
name_frstring
account_rangestring
text_configurationstring
textstring
externally_managedboolean

When this value is set to true the shared parts are not allowed to be edited via the web interface, only via API.

idinteger

Example response

{
  "name_nl": "Account Template Name",
  "name_en": "Account Template Name",
  "name_fr": "Account Template Name",
  "text_parts": [
    {
      "name": "part_name",
      "content": "{% comment %}liquid code in part{% endcomment %}"
    }
  ],
  "id": 1977
}