Click or drag to resize

IActivityTypeAddNewActivityType Method

Adds an Activity type.

Namespace: Severa.API
Assembly: Severa.SOAP.API (in Severa.SOAP.API.dll) Version: 1.0.0+e98ed9fa86c8385bc0e531f978079d90e20e81a6
Syntax
ActivityType AddNewActivityType(
	ActivityType activityTypeInfo
)

Parameters

activityTypeInfo  ActivityType
ActivityType object.

Mandatory data members:

  • Name.
  • Category.
  • Icon.

Default values for optional members:

  • IsActive: True by default, cannot be disabled.

Return Value

ActivityType
ActivityType 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
Name is unique, two activity types can't have the same name.
See Also