Zum Inhalt

AddClassRegistration (Opus Funktion)

Beschreibung

Registers one or more persons for a class and assigns them to the specified class groups. Returns the newly created PersonClass IDs.

Argumente

Name

Typ

Beschreibung

AddressRoles

integer[]

list of address role IDs of the persons to register

ClassID

integer

ID of the class to register for

ClassGroupList

integer[]

list of class group IDs to assign the persons to

MasterClassID

integer

(optional) ID of the master class for combined registrations; 0 = none

TransferFromWaitingList

integer

(optional) 1 = move the person from the waiting list to the class

Reallocation

integer

(optional) 1 = treat as a reallocation from another class

OldPersonClassIDs

integer[]

(optional) list of old PersonClass IDs to replace during reallocation

Silent

integer

(optional) 1 = suppress confirmation dialogs (default); 0 = show dialogs

VoucherCode

string

(optional) voucher code applied to the registration

Rückgabewertinteger[]

list of newly created PersonClass IDs

Beispiel

xxx

Siehe auch