Custom fields
Convert Custom Field Type
Toegang
Lid van de organisatie met dit recht:
custom-fields:manage
Een API-sleutel met scopes heeft het recht ook in zijn scopes nodig.
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