Custom fields
Convert Custom Field Type
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
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.
ApiKeyAuthheader
x-api-key<token>API key for authentication
organizationId*stringThe ID or slug of the organization
id*stringapplication/json- body
memberPath?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?booleanDefault
falseclearUnconvertible?booleanDefault
falseOK
application/json- response
curl -X POST 'https://api.tillor.eu/orgs//custom-fields/definitions/string/convert' \ -H 'Content-Type: application/json' \ -d '{ "type": "TEXT"}'Example Response
null