Click or drag to resize

IWorkTypeAddNewWorkType Method

Adds a new Work type.

Namespace: Severa.API
Assembly: Severa.SOAP.API (in Severa.SOAP.API.dll) Version: 1.0.0+d4fb723f4ad0e9e30f6b55b897e9801518fd56bb
Syntax
WorkType AddNewWorkType(
	WorkType workTypeInfo
)

Parameters

workTypeInfo  WorkType
WorkType object.

Mandatory data members:

  • Name.

Default values for optional members:

  • IsActive: True by default, cannot be disabled.

Return Value

WorkType
WorkType 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.
Remarks
Inactive Work type can not be set as Default.
See Also