NovatusListComboItem 

The NovatusListComboItem class contains the data for items from the List Admin service. The List Admin service does not work like the other services, instead it provides getList and setList methods. This is a recursive type via treeItems for values which are trees. 

Field Name

Type

Description

id

String

A unique identifier for this list item

name

String

The display name for this list item

description

String

A description of this list item

treeItems

List<NovatusListComboItem>

For tree values, the immediate children of this list item.


ListAdmin Service

The ListAdmin service does not have the usual createupdate, or query methods. Instead, it has List<NovatusListComboItem> getList(String name) and setList(String name, List<NovatusListComboItem> list) methods. The name field is the name that appears on the application under Admin 17#17 Lists. 

List<NovatusListComboItem> exampleComboValues =
   service.getList("Example Combo Value");
NovatusListComboItem newItem = new NovatusListComboItem();
newItem.setName("Combo Item Added With API");
newItem.setDescription("A description for the value");
exampleComboValues.add(newItem);
service.setList("Example Combo Values", exampleComboValues);		
CODE