Usage

Use SessionRegAction to register or unregister invitees and/or guests based on the provided action.

Basic Steps

  1. Determine the ID of the product (session) for which you want to register or unregister an invitee or guest.
  2. Construct an ID array and populate it with the IDs of each invitee and/or guest record you want to register or unregister.
  3. Optionally, specify the MessageId if you need to track the result of each record. Message IDs can represent unique identifiers from your system. Message IDs will be returned as Reference IDs in the result array for your tracking purposes.
  4. Call SessionRegAction by specifying the ID array, the action you want to take on invitee and/or guest and the product ID.

General Syntax

SessionRegActionResultArray = cventapi. SessionRegAction (CvObjectArray CvObjects, SessionRegActionType SessionRegAction, ID ProductId)

Input

NameTypeDescription
ProductIdIDSession from which invitee(s) are getting registered or unregistered. Prod_stub for prod_type_id = 30 (sessions)
SessionRegActionTypeSessionRegActionTypeThe action you are taking on the invitees or guests. Valid SessionRegActionType values are Register and Unregister.
InviteeId (CvObject Array)IDArray of Invitee ID to perform an action on. No more than 200 in an array.

Output

NameTypeDescription
IdIDID of the invitee to Register or Unregister.
ReferenceIdStringMessageId input.
SuccessBooleanIndicates whether the action taken was successful (True) or not (False) for the object instance.
ErrorsError ArrayIf an error occurred when the action was taken, an array of one or more Error objects providing the error code and description.

Notes

Take into account the following notes when using the SessionRegAction call:

  • Call Limit: Action can only be taken on up to 200 invitees or guests per call.
  • Visibility: API user must have visibility to Manage Invitee to make this call.
  • Invitee/Guest Status*: Invitee or guest must be in Accepted status.
  • Event Status: Event must be in Test Mode, Active, Closed, or Completed status.

Validation Rules

The following validation rules should be applied to the SessionRegAction call:

Validation RuleDescription
Registration ActionsSession must belong to an event that the invitee or guest is registered for.
Last updated on