Enrols the users to your MaivenPoint tenant as local users.
{
"Users": [
{
"Email": "testuser1@maivenpoint.com",
"UserName": "testuser1",
"UserCode": "001",
"Gender": 2,
"CountryCode": "SG",
"Handphone": "123456789",
"Products": [
{ "ProductType": 2, "Role": 2, "IsAppAdmin": false }
,
{ "ProductType": 3, "Role": 2, "IsAppAdmin": true }
],
"DeactivateTime": "637975106967818809"
},
{
"Email": "testuser2@maivenpoint.com",
"UserName": "testuser2",
"UserCode": "002",
"Gender": 2,
"CountryCode": "SG",
"Handphone": "987654321",
"Products": [
{ "ProductType": 2, "Role": 2, "IsAppAdmin": false }
,
{ "ProductType": 3, "Role": 2, "IsAppAdmin": true }
],
"DeactivateTime": "637975106967818809"
}
]
}
Represents the users’ properties as tenant user in your MaivenPoint tenant.
Attributes |
Description |
Required? | |
|
The email address of the user. |
Required | |
UserName |
The username. |
Required | |
Gender |
0 represents None. 1 represents Male. 2 represents Female. 3 represents Unknown. |
Required | |
CountryCode |
The country/region code of the user’s location. |
Optional | |
Handphone |
The mobile phone number. If you want to provide the phone number for this user, the CountryCode attribute is required. |
Optional | |
Products |
ProductType |
1 represents Curricula for Education. 2 represents Examena. 3 represents Curricula for Corporate Learning. 4 represents Vitae. |
Required |
Role |
0 represents None. 1 represents Student. 2 represents Staff. 4 represents Trainer (for Vitae). |
Required | |
IsAppAdmin |
If you want to assign this user as application administrator, set the value to true; otherwise, false. |
Required | |
DeactivateTime |
Enter the number of ticks that represents the date and time in UTC to deactivate this user. If you do not have a deactivation time, do not provide this attribute. |
Optional |
Check the response. If the value of the isSuccess attribute is true, it indicates that those users have been successfully enrolled. Otherwise, failed. Go to MaivenPoint Online Services > Account management page to check the user information.