Click or drag to resize

IPhaseDeletePhase Method

Deletes a Phase.

Namespace: Severa.API
Assembly: Severa.SOAP.API (in Severa.SOAP.API.dll) Version: 1.0.0+cc2a5357b8231e24c5fd7606bb1e71a1374ad1e9
Syntax
bool DeletePhase(
	string phaseGUID,
	string phaseGUIDToTransferItemsTo = null
)

Parameters

phaseGUID  String
Phase GUID, identifies the phase that is deleted.
phaseGUIDToTransferItemsTo  String  (Optional)
Phase GUID, identifies phase to which child phases, activities and other children of the phase should be transferred to. Defaults to the parent of the phase, which is being deleted, if not given.

Return Value

Boolean
True if phase was successfully deleted, otherwise false.
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.
Remarks
The root level phase for a case can not be deleted. The phase to transfer children to needs to belong to the same case.
See Also