Click or drag to resize

IItemAddNewItems Method

Adds new Items.

Namespace: Severa.API
Assembly: Severa.SOAP.API (in Severa.SOAP.API.dll) Version: 1.0.0+cc2a5357b8231e24c5fd7606bb1e71a1374ad1e9
Syntax
List<Item> AddNewItems(
	List<Item> items
)

Parameters

items  ListItem
List of Item objects.

Mandatory data members:

  • Either CaseGUID or CaseNumber. Identifies the case where item is added to.
  • Either ProductGUID or ProductCode, or UnitCost and UnitPrice. If GUID or code is given, information from product is used. Otherwise unit price and unit cost are required.
  • Quantity.
  • If UserGUID is given then TaskGUID is needed also. Item will be visible on work hour entry page, and needs to be associated with a phase.

Return Value

ListItem
List of Item objects.
Exceptions
ExceptionCondition
NotFoundExceptionCase or product could not be found.
AuthenticationFailureExceptionThe caller could not be authenticated.
GeneralFailureExceptionAny other fault.
See Also