Newer Version Available
VPL360_NewUserRegistration
-
Checks if the email ID is already associated with an active user.
-
Creates a consumer account and returns the account ID.
-
Creates a customer community user and returns the user ID.
-
Assigns a vlocity_cmt license to the customer (if a license is available) and reports the result in the license assignment parameter.
-
Signs in as the newly created user ad
-
Checks if the email ID is already associated with an active user.
-
Creates a consumer account and returns the account ID.
-
Creates a customer community user and returns the user ID.
-
Assigns a vlocity_cmt license to the customer (if a license is available) and reports the result in the license assignment parameter.
-
Signs in as the newly created user and returns the session details in the sign in parameters.
If any error occurs during user creation, all the actions are rolled back.
Sample Input
1{
2 "Email": "jsmith@example.com",
3 "FirstName": "Joan",
4 "LastName": "Smith",
5 "Password": "Nov2020!",
6 "ConfirmPassword": "Nov2020!"
7}|
Parameter |
Required/Optional |
|---|---|
|
ConfirmPassword |
Required |
|
|
Required |
|
FirstName |
Required |
|
LastName |
Required |
|
Password |
Required |
Sample Output
1{
2 "LicenseAssignment": true,
3 "accId": "0014W00002AFmxqQAD",
4 "encryptedAccountId": "r_1-6GWCMN7yKTyETgAU7SD3CrnyKaU9teXYG0sddUk.mCCshe4i5uuR8xbgPGaqq4Ez-aT-JIwLrRFmYrB5hf_iVt9DoIEiRqexv6ouT6Rz",
5 "isDuplicateEmail": false,
6 "userId": "0054W00000CS3BuQAL",
7 "DoSignIn": {
8 "msg": "Login Succesfull",
9 "redirectUrl": "https://subscriber360qe1-1747625e2b9-17592236fb9.f…K5FcG4TQNhDKnspp0_QqsSSBzRmMAmCMCleCI&untethered="
10 }
11}Calls
-
Remote Action: DuplicateEmailCheck
-
Class: MediaCmexAppHandler
-
Method: checkDuplicateEmail
-
-
Remote Action: createCustomerCommunityUser
-
Class: MediaCmexAppHandler
-
Method: createCustomerCommunityUser
-
-
Remote Action: createCustomerCommunityUser
-
Class: MediaCmexAppHandler
-
Method: assignPackageLicense
-
-
Remote Action: createCustomerCommunityUser
-
Class: MediaCmexAppHandler
-
Method: doSignIn
-