Objective:
- Returning more Custom Fields than are in my account
Environment:
- Clio Manage
- Clio Manage API
Additional Information:
Custom fields can be Soft-Deleted, which keeps the data intact for those custom fields but prevents the custom filed from being used moving forward. By default, even soft-deleted custom fields are returned when requesting all custom fields from an account.
If you wish to only return a list of active custom fields, you can use the "deleted" query parameter and set it equal to "false"
Procedure:
The following custom field Get requests will return a different set of custom fields if there are any soft-deleted custom fields:
Will return all matter custom fields
https:app.clio.com/api/v4/custom_fields?fields=id,name&parent_type=matter
Will return only non-deleted matter custom fields
https:app.clio.com/api/v4/custom_fields?fields=id,name&parent_type=matter&deleted=false