Enum[('EnumType as String')]: Object
Enum[?$Select=Value as String]: Object
Enum Web Services function returns a JSON object containing a set of Enum text values.
There are several ways to use the Enum function. See Web Service Functions for sample code to access Web Services.
To return all Enum values as a JSON object:
Response = MakeCall("Enum")
To return a list of available Enum Types as a JSON Object:
Response = MakeCall("Enum?$Select=EnumType")
To return the Enum values for a specified Enum Type, for example CompanyType, as a JSON object:
Response = MakeCall("Enum('CompanyType')")