PortalRegisterParticipantsToRecurrenceEvent Method
Register a specific contact to a recurring event and also update the database with changes made to the contact and/or participant object items.

Namespace:  PortalService
 

Syntax
C#
public long RegisterParticipantsToRecurrenceEvent(
	long lPortalID,
	ref ArrayList arrObjInst,
	ref RLData[] arrRLData,
	ref ArrayList arrRelation,
	ref AttachmentFile[] arrAttachedFiles,
	ref AttachmentComments[] arrAttachedComments,
	ref CommentsTab[] arrCommentsTabs,
	ref ParticipantDetails[] participantsList,
	ref ArrayList arrUpdateData,
	bool refreshAfterUpdate,
	out string error,
	long eventId,
	long contactid,
	bool isEventGroupRegistration,
	ref ArrayList BaseRelationshipInfo,
	ref ArrayList recurrEventIds,
	ref ArrayList recurrParticipantIds,
	out bool isSeatAvailable
)

Parameters

lPortalID
Type: SystemInt64
[in]Pass the value -1 as a Portal instance will not be available.
arrObjInst
Type: System.CollectionsArrayList
[ref]ArrayList of the ObjInstanceData structure that contains information of the contact and/or participant object items.
arrRLData
Type: RLData
[ref]Array of the RLData structure that contains information from a RecordList tab of the contact and/or participant object items.
arrRelation
Type: System.CollectionsArrayList
[ref]ArrayList of the RelationshipData structure that contains information about the relationship between objects.
arrAttachedFiles
Type: AttachmentFile
[ref]Array of the AttachmentFile structure that contains details of attachments.
arrAttachedComments
Type: AttachmentComments
[ref]Array of the AttachedComments structure that contains information about comments for attachment files.
arrCommentsTabs
Type: CommentsTab
[ref]Array of the CommentsTab structure that contains information from the Comments Tab of the contact and/or participant object items.
participantsList
Type: ParticipantDetails
[ref]Array of the ParticipantDetails structure that contains participation details of a contact.
arrUpdateData
Type: System.CollectionsArrayList
[ref]ArrayList of the PORInstanceData structure that contains information about the relationship properties of a configured object.
refreshAfterUpdate
Type: SystemBoolean
[in]Always FALSE because it’s not required to refresh information with latest updates as no Portal instance will be available.
error
Type: SystemString
[out]The error message returned if the operation fails.
eventId
Type: SystemInt64
[in]The ID of the required event.
contactid
Type: SystemInt64
[in]The ID of the contact you want to register for the recurring event.
isEventGroupRegistration
Type: SystemBoolean
[in]Enables contacts to register for the event as a group or as individual participants. Specify one of the following values:
  • 0 - Enables contacts to register as individual participants.
  • 1 - Enables contacts to register as a group.
BaseRelationshipInfo
Type: System.CollectionsArrayList
[ref]ArrayList of the ObjInstanceData structure that contains information about the related object item.
recurrEventIds
Type: System.CollectionsArrayList
[ref]ArrayList of recurring event IDs.
recurrParticipantIds
Type: System.CollectionsArrayList
[ref]ArrayList of registered participant IDs in the recurring events.
isSeatAvailable
Type: SystemBoolean
[out]Indicates whether seats are available for contacts to register for the event. This parameter returns one of the following values:
  • 0 - Sufficient seats are not available.
  • 1 - Sufficient seats are available.

Return Value

Type: Int64
This method returns 0 if the operation is successful and a negative value if the operation fails.
See Also