Add a category list item
Some tooltip text!
• Less than 1 minute to read
• Less than 1 minute to read
var item = {}
item.Id = 0;
item.Name = "Created by unit test";
item.Tooltip = "Unit Tests FTW";
item.UdListDefinitionId = -64 // Category list ID
item = Post("api/v1/Agents/List/SaveListItemEntity", item)
The list item will be added - we can get the whole list here:
req = { UdListDefinitionName: "category", IncludeDeleted: true }
items = Post("api/v1/Agents/List/GetAllFromListName", req)
Note
The examples are given in JavaScripty pseudocode.