Fields

Return a user count for items related to a user.

Options to query the data

NameUsageDefaultDescription
location_id1requiredThe 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_id20The case category id. This is used to only return valid fields for a given category id.

Returning fields object

NameDescription
idThe id of the customer field.
nameThe name of the customer field.
labelThe label of the custom field.
type_idThe field type id. The current mapping is as follows:

1 = Text Box
2 = Dropdown list
3 = Checkbox
4 = Textbox (multi-row)
5 = URL
typeThe field type name.
Language
Authorization