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+9acb7434aeb2855fb928fe129dfe34575a6d8fd4
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