User was created
Invalid emailId, Company, CompanyLocation, or Email
Insufficient user licences
email
{- "firstName": "Caleb",
- "lastName": "Carr",
- "email": "ccarr@smartapp.com",
- "phone": "555-123-4567",
- "fax": "1-555-9876543",
- "companyName": "smartapp.com",
- "companyLocationName": "headquarters",
- "licenceType": "LicencedUser",
- "metadata": {
- "Favorite employee": true
}, - "applicationRoles": [
- "string"
], - "groups": [
- "software developers",
- "interns"
], - "dashboardGroups": [
- "string"
]
}
{- "email": "jdoe@gmail.com",
- "userID": "00000000-0000-0000-0000-000000000000",
- "globalUserID": "00000000-0000-0000-0000-000000000000"
}
Retrieves the deatils of an existing user. You only need to supply the unique identifier that was returned upon user creation
company location was updated
{- "uniqueID": "00000000-0000-0000-0000-000000000000",
- "globalUserID": "00000000-0000-0000-0000-000000000000",
- "firstName": "Caleb",
- "lastName": "Carr",
- "displayName": "ccarr1",
- "email": "ccarr@smartapp.com",
- "status": "Active",
- "company": {
- "property1": { },
- "property2": { }
}, - "licenceType": "Licenced User",
- "metadata": { },
- "applicationRoles": [
- "intern",
- "software developer"
], - "groups": [
- "Smartapp1350 employee"
], - "dashboardGroups": [
- "string"
], - "fax": "string",
- "mobile": "982-482-5927",
- "phone": "123-456-7890",
- "userName": "ccarr1",
}
returned an array of user objects
{- "totalCount": 0,
- "users": {
- "uniqueID": "00000000-0000-0000-0000-000000000000",
- "globalUserID": "00000000-0000-0000-0000-000000000000",
- "firstName": "Caleb",
- "lastName": "Carr",
- "displayName": "ccarr1",
- "email": "ccarr@smartapp.com",
- "status": "Active",
- "company": {
- "property1": { },
- "property2": { }
}, - "licenceType": "Licenced User",
- "metadata": { },
- "applicationRoles": [
- "intern",
- "software developer"
], - "groups": [
- "Smartapp1350 employee"
], - "dashboardGroups": [
- "string"
], - "fax": "string",
- "mobile": "982-482-5927",
- "phone": "123-456-7890",
- "userName": "ccarr1",
}
}
Activates an existing user. You only need to supply the unique identifier that was returned upon user creation
A user was activated
invalid user Id
Insufficient licences to activate the user
Deactivates an existing user. You only need to supply the unique identifier that was returned upon user creation. On deactivation of a user, all the licences that are assigned to the user will be freed and could be assigned to other users from the admin console
A user was deactivated
Invalid User Id
Updates the specified user by setting the values of the parameters passes. Any parameters not provided will be left unchanged
user was updated
Invalid email id, company, user id, company location , or email
insufficient licences
email
{- "email": "jdoe@gmail.com",
- "userID": "00000000-0000-0000-0000-000000000000",
- "globalUserID": "00000000-0000-0000-0000-000000000000"
}
Success
Invalid group(s) or userId
Success
Invalid group(s) or userId
Success
Invalid group(s) or userId
{- "uniqueID": "00000000-0000-0000-0000-000000000000",
- "globalUserID": "00000000-0000-0000-0000-000000000000",
- "firstName": "Caleb",
- "lastName": "Carr",
- "displayName": "ccarr1",
- "email": "ccarr@smartapp.com",
- "status": "Active",
- "company": {
- "property1": { },
- "property2": { }
}, - "licenceType": "Licenced User",
- "metadata": { },
- "applicationRoles": [
- "intern",
- "software developer"
], - "groups": [
- "Smartapp1350 employee"
], - "dashboardGroups": [
- "string"
], - "fax": "string",
- "mobile": "982-482-5927",
- "phone": "123-456-7890",
- "userName": "ccarr1",
}