This method creates a resource assignment on an item. The method returns the string ID of the assignment that is created. The parameters for the AddWorkItemAssignment method are:

Parameter Datatype Description
token string The token returned by the Connect method.
workItemId integer The ID if the item to assign.
resourceName string The user name of the resource to assign.
attributes attribute[] The key/value pairs of the attributes to associate with the new task assignment.