Custom fields
Preview Custom Field Type Conversion
Toegang
Lid van de organisatie met dit recht:
custom-fields:manage
Een API-sleutel met scopes heeft het recht ook in zijn scopes nodig.
GET
Counts how the stored values would convert to another type, groups the values that would not, and lists the fields whose conditions read this one. Writes nothing.
ApiKeyAuthheader
x-api-key<token>API key for authentication
organizationId*stringThe ID or slug of the organization
id*stringmemberPath?stringMatch
^[a-z][A-Za-z0-9]{0,63}(\.[a-z][A-Za-z0-9]{0,63}){0,3}$type*stringValue in
"TEXT""LONG_TEXT""NUMBER""CURRENCY""BOOLEAN""DATE""SELECT""MULTI_SELECT""REFERENCE""GROUP""LIST""FILE""JSON"enumId?stringLength
1 <= lengthcreateEnumFromValues?boolean|string|number|nullOK
application/json- response
curl -X GET 'https://api.tillor.eu/orgs//custom-fields/definitions/string/convert/preview?type=TEXT'Example Response
nullDelete Custom Field Definition DELETE
Removes a custom field. Stored values stay in the entities' JSON but are hidden.
Convert Custom Field Type POST
Changes the field's type and rewrites every stored value in one transaction. Text, numbers, amounts, yes/no, dates and pick lists convert into each other; a value that does not fit refuses the change (409) unless clearUnconvertible clears it.