Click or drag to resize

IActivityAddNewActivityUserParticipant Method

Adds a User participant to an Activity.

Namespace: Severa.API
Assembly: Severa.SOAP.API (in Severa.SOAP.API.dll) Version: 1.0.0+9acb7434aeb2855fb928fe129dfe34575a6d8fd4
Syntax
bool AddNewActivityUserParticipant(
	string activityGUID,
	string userGUID,
	byte memberStatus
)

Parameters

activityGUID  String
Activity GUID, identifies the activity to add the user participant to.
userGUID  String
User GUID, Identifies the user to add to the activity.
memberStatus  Byte
Status of the activity members.

  • 0 = Unknown
  • 1 = Invited
  • 2 = Accepted
  • 3 = Tentative
  • 4 = Declined

Return Value

Boolean
True if participant was successfully added, 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.
See Also