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+d0bf05dcd8855b3363476bb1c84ab29c9a1ec66b
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