post https://api.supportbench.com/fields
Return a user count for items related to a user.
Options to query the data
Name | Usage | Default | Description |
---|---|---|---|
location_id | 1 | required | The location of the fields you are looking for. The below fields are valid: 1 = case fields 2 = company fields 3 = contact fields 4 = article fields 5 = asset fields 6 = company linked asset fields 7 = customer survey fields |
category_id | 2 | 0 | The case category id. This is used to only return valid fields for a given category id. |
Returning fields object
Name | Description |
---|---|
id | The id of the customer field. |
name | The name of the customer field. |
label | The label of the custom field. |
type_id | The field type id. The current mapping is as follows: 1 = Text Box 2 = Dropdown list 3 = Checkbox 4 = Textbox (multi-row) 5 = URL |
type | The field type name. |