Click or drag to resize

IResourceAllocationAddNewResourceAllocations Method

Adds a collection of Resource allocations.

Namespace: Severa.API
Assembly: Severa.SOAP.API (in Severa.SOAP.API.dll) Version: 1.0.0+cc2a5357b8231e24c5fd7606bb1e71a1374ad1e9
Syntax
ICollection<ResourceAllocation> AddNewResourceAllocations(
	ICollection<ResourceAllocation> resourceAllocations
)

Parameters

resourceAllocations  ICollectionResourceAllocation
Collection of ResourceAllocation objects.

Mandatory data members:

  • Either CaseGUID or PhaseGUID. Identifies the case and phase where the allocations are added to.
  • UserGUID. Identifies the user who gets the allocation.
  • AllocatedPercentage. Only mandatory if resource allocation method is currently set to percentage.
  • AllocatedHours. Only mandatory if resource allocation method is currently set to hours.

Return Value

ICollectionResourceAllocation
Collection of ResourceAllocation objects.
Exceptions
ExceptionCondition
AuthenticationFailureExceptionThe caller could not be authenticated.
NoPermissionExceptionAPI user does not have permission to perform the action.
ValidationExceptionInput data was not valid.
GeneralFailureExceptionAny other fault.
See Also