This method creates an item under the item identified by parentId. The integer value returned is the ID of the newly created item. The parameters for the CreateWorkItem method are:

Parameter Datatype Description
token string The token returned by the Connect method.
name string The name for the item to create.
parentId integer The ID of the item where the item should be created.
fields attribute[] The key/value pairs of the attributes associated with the new item.