Click or drag to resize

IPhaseGetHourEntryPhasesByUserGUID Method

Gets a list of phase trees, where the user can enter work hours to.

Namespace: Severa.API
Assembly: Severa.SOAP.API (in Severa.SOAP.API.dll) Version: 1.0.0+9acb7434aeb2855fb928fe129dfe34575a6d8fd4
Syntax
ICollection<PhaseTreeNode> GetHourEntryPhasesByUserGUID(
	string userGUID
)

Parameters

userGUID  String
Identifies the user for which phases are retrieved.

Return Value

ICollectionPhaseTreeNode
List of available root phases, each containing own children of the same kind
Exceptions
ExceptionCondition
AuthenticationFailureExceptionThe caller could not be authenticated.
GeneralFailureExceptionAny other fault.
Remarks
User, which is given as parameter, can be different than API user. All cases, where the given user can work, are listed, even if API user does not have rights to enter work hours to them. PhaseTreeNode contains the part of phase data which is allowed to be seen. Note that also locked cases and phases, where entries can't be made to, are returned because the full hierarchy needs to be returned. Integration needs to take care that the phases, where entries can't be made to, aren't used.
See Also