Custom fields
Create Custom Field Definition
Accès
Membre de l’organisation avec cette autorisation :
custom-fields:manage
Une clé API avec des scopes doit aussi avoir l’autorisation dans ses scopes.
POST
Adds a custom field to an entity. The key is immutable afterwards.
ApiKeyAuthheader
x-api-key<token>API key for authentication
organizationId*stringThe ID or slug of the organization
application/json- body
entity*stringValue in
"CUSTOMER""TERRAIN""OCCUPATION""METER""TASK""PRODUCT""DOCUMENT""RESERVATION""ACCESS_METHOD"definition*||||||||||||readAccess?Default
{}writeAccess?Default
{}OK
application/json- response
curl -X POST 'https://api.tillor.eu/orgs//custom-fields/definitions' \ -H 'Content-Type: application/json' \ -d '{ "entity": "CUSTOMER", "definition": { "key": "string", "label": "string", "required": true, "type": "TEXT", "config": {} }}'Example Response
null