...
To assist in building the API a number of standard Field types are provided.
TextArgField
A simple text field.
CheckboxArgField
CheckboxArgField(String label)
Displays a checkbox. Retrive its value using getArgAsBoolean(String label).
DropListArgField
DropListArgField(String label, Collection<String> values)
...
values - a collection of values which are to be displayed in the droplist.
AccountDropListArgField
AccountDropListArgField(String propertyName);
Displays a list of Accounts
HandsetDropListArgField
HandsetDropListArgField(String propertyName);
...
Handset handset = getHandsetFromId(handsetId);
TrunkDropListArgField
TrunkDropListArgField(String propertyName);
...
You should only use a Trunk if you want to by pass Trunk Groups which should be a fairly rare occurance.