Click or drag to resize

IResourceAllocationAddNewResourceAllocation Method

Adds a new Resource allocation.

Namespace: Severa.API
Assembly: Severa.SOAP.API (in Severa.SOAP.API.dll) Version: 1.0.0+e7e3767923adbb9f0ecdf32b953b5fcc84ef0a32
Syntax
ResourceAllocation AddNewResourceAllocation(
	ResourceAllocation resourceAllocationInfo
)

Parameters

resourceAllocationInfo  ResourceAllocation
ResourceAllocation object.

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

ResourceAllocation
ResourceAllocation object.
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