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 | ID of the class to register for | |
ClassGroupList | integer[] | list of class group IDs to assign the persons to |
MasterClassID | (optional) ID of the master class for combined registrations; 0 = none | |
TransferFromWaitingList | (optional) 1 = move the person from the waiting list to the class | |
Reallocation | (optional) 1 = treat as a reallocation from another class | |
OldPersonClassIDs | integer[] | (optional) list of old PersonClass IDs to replace during reallocation |
Silent | (optional) 1 = suppress confirmation dialogs (default); 0 = show dialogs | |
VoucherCode | (optional) voucher code applied to the registration |
Rückgabewertinteger[]¶
list of newly created PersonClass IDs
Beispiel¶
xxx