| PortalCancelParticipant Method |
Cancels the Participant's registration for an Event.
Namespace: PortalServiceC#
public long CancelParticipant( string participantsIdList, bool isGroupCancel, out string failedParticipantIdList, out string error )
Parameters
- participantsIdList
- Type: SystemString
[in] This is an array of the ParticipantDetails structure that contains participation details of a Contact. - isGroupCancel
- Type: SystemBoolean
[in] Enables you to specify whether you want to cancel Contacts who have registered for the Event as a group or as individual Participants. You can specify one of the following values:- 0 - Specify this value to enable Contacts to register for an Event as individual Participants.
- 1 - Specify this value to enable Contacts to register for an Event as a group.
- failedParticipantIdList
- Type: SystemString
[out] The IDs of the Participants for who Event registration could not be canceled. - error
- Type: SystemString
[out] The error messages returned when the operation fails.
Return Value
Type: Int64The CancelParticipant method returns 0 if the operation is successful and a negative value if the operation fails.