To be able to add custom properties to an Entity, you first need to create a custom property definition for the specific Entity type. This tutorial will walk you through the flow for an Employee, but the process is similar for other Entity types.Documentation Index
Fetch the complete documentation index at: https://developers.techwolf.ai/llms.txt
Use this file to discover all available pages before exploring further.
Allowed Types
Custom property definitions ensure that a custom property is consistent over all entities of that type. Using an inconsistent data type will result in aHTTP 400: Bad Request.
An Employee can have custom properties of the following types:
number: Must be an integer or float (without double quotes)text: Must be an empty or non-empty stringboolean: Must be a Boolean value true or false (without double quotes)datetime: Must be an ISO8601-formatted datetime string (supported formats:["%Y-%m-%dT%H:%M:%S.%f", "%Y-%m-%d"]).list[text]: Must be a list of strings
Example
If you want for example to indicate that an Employee is a freelancer, you can create a Boolean custom property definitionfreelancer.
/employees/custom_properties. For more details on
how to do this, please head over to the API Reference.