This method retrieves the complete list of custom labels defined in the system.
Custom fields can be defined for various entities in the system. For example, to get all project labels, look at the records where LabelCategory equals "Project".
The token obtained on connection
Returns a list of ApiCustomLabel records. Each record has these fields:
The object to which this custom field is attached. This can be any of:
he globally unique ID of the label.
Used for sorting fields in user interfaces.
The name of the label as provided by the administrator.
True if the label is always shown or false if the label needs to be attached to an object explicitly by the user.
A list of all label options/colors:
DBCode: A code identifying this specific label option. This code uniquely identifies a specific label and option.
Name: The administrator given name of the option
Color: The color of the label option
Value: the integer value of the label option