Template Object


A predefined format for logging activities. Instead of a free-text message, a template defines the wording, with placeholders for the relevant details, optional links, and an icon. Activities logged from the same template produce consistent messages and can be filtered by category.

Properties
activityDescriptionstringmaxLength 1000

Translated description of what the template records, without parameter placeholders. Returned in the language specified by the language parameter.

Not present for all templates.


activityParamsArray <ActivityParam>maxItems 50

Parameters that define what values are used to compose the activity's message. Each parameter key corresponds to a key in activity.params for activities created from this template.


categoryIdstringformat GUID

ID of the category this template belongs to.


iconIcon

Template icon. Use icon.url to display the icon image.


idstringformat GUID

Template ID.


linksArray <Link>maxItems 2

Optional structured links associated with the template. A link's key can appear as a Mustache-style placeholder in the template's message, embedding the link in the rendered activity message.


namestringminLength 1maxLength 100

Template display name. Not translated.


updatedDatestringformat date-time

Date and time the template was last updated.

Did this help?