Absorb Integration API (v2)
Download OpenAPI specification:Download
Get a user's management settings.
Authorizations:
path Parameters
userId required | string <guid> The user ID. |
header Parameters
x-api-key | string |
x-api-version | string 2 |
Responses
Response Schema: application/json
userTypes | Array of strings (UserType) Items Enum: "Learner" "Instructor" "Admin" "Manager" The user's types. |
userManagementType | integer Enum: 0 1 2 3 The types of users that can be managed. Possible Enum Values: |
managedGroupId | string <guid> The ID of the group the user is managing. Only applicable, when UserTypes includes Admin and UserManagementType is Group. |
Array of objects (DepartmentSelectionDefinition) The list of departments the user is managing. Only applicable, when UserTypes includes Admin and UserManagementType is Department. |
Response samples
- 200
- 404
{- "userTypes": [
- "Learner"
], - "userManagementType": 0,
- "managedGroupId": "string",
- "managedDepartments": [
- {
- "departmentId": "string",
- "includeSubDepartments": true
}
]
}
Update user management settings.
Authorizations:
path Parameters
userId required | string <guid> The user ID. |
header Parameters
x-api-key | string |
x-api-version | string 2 |
Request Body schema: application/json
The request to update the user's management settings.
userTypes | Array of strings (UserType) Items Enum: "Learner" "Instructor" "Admin" "Manager" The user's types. |
userManagementType | integer Enum: 0 1 2 3 The type of admin the user should be updated to. Only applicable, but required, when UserTypes includes Admin. Possible Enum Values: |
managedGroupId | string <guid> The ID of the group the user should manage. Only applicable, but required, when UserTypes includes Admin and UserManagementType is Group. |
Array of objects (DepartmentSelectionDefinition) The list of departments the user should manage. Only applicable, but required, when UserTypes includes Admin and UserManagementType is Department. |
Responses
Request samples
- Payload
{- "userTypes": [
- "Learner"
], - "userManagementType": 0,
- "managedGroupId": "string",
- "managedDepartments": [
- {
- "departmentId": "string",
- "includeSubDepartments": true
}
]
}
Response samples
- 400
- 403
- 404
- 422
{- "validations": [
- "string"
], - "code": 0,
- "message": "string",
- "term": "string",
- "_meta": {
- "property1": "string",
- "property2": "string"
}
}
List users.
Lists all selected LMS users that are available to the current, authenticated administrator.
Authorizations:
query Parameters
string (Deprecated) The specified email to filter by. | |
username | string (Deprecated) The specified username to filter by. |
modifiedSince | string <date-time> (Deprecated) The specified date for filtering users that were edited after this date. |
externalId | string (Deprecated) The specified external ID to filter by. |
limit | string (Deprecated) The maximum number of items to return in the current page of the collection. |
offset | string (Deprecated) The number of pages to offset into the collection. |
_filter | string One or more filter operations to be performed on the collection. The referenced fields must allow filtering. See the respective report's schema for which fields can be filtered. Supports most of the OData filter syntax. Supported operations: * eq, * ne, * gt, * ge, * lt, * le, * and, * or, * not, * () Supported functions: * substringof('value',fieldName), * endswith(fieldName,'value'), * startswith(fieldName,'value'), * tolower(fieldName), * toupper(fieldName) Examples:
|
_sort | string Optional list of comma-separated fields to sort the collection by. The referenced fields must allow sorting. See the respective report's schema for which fields can be sorted. If not specified, all report fields are returned. To sort in a descending manner, prefix the field name with |
_limit | string The maximum number of items to return in the current page of the collection. |
_offset | string The number of pages to offset into the collection. |
header Parameters
x-api-key | string |
x-api-version | string 2 |
Responses
Response Schema: application/json
totalItems | integer <int32> The total number of items returned |
limit | integer <int32> The page size. |
offset | integer <int32> The page number. |
returnedItems | integer <int32> The number of items returned. |
Array of objects (UserResource) The paged collection of resources. |
Response samples
- 200
- 422
{- "totalItems": 0,
- "limit": 0,
- "offset": 0,
- "returnedItems": 0,
- "users": [
- {
- "id": "string",
- "departmentId": "string",
- "firstName": "string",
- "middleName": "string",
- "lastName": "string",
- "username": "string",
- "password": "string",
- "emailAddress": "string",
- "externalId": "string",
- "ccEmailAddresses": [
- "string"
], - "languageId": 0,
- "gender": 0,
- "address": "string",
- "address2": "string",
- "city": "string",
- "provinceId": "string",
- "countryId": "string",
- "postalCode": "string",
- "phone": "string",
- "employeeNumber": "string",
- "location": "string",
- "jobTitle": "string",
- "referenceNumber": "string",
- "dateHired": "2019-08-24T14:15:22Z",
- "dateTerminated": "2019-08-24T14:15:22Z",
- "dateEdited": "2019-08-24T14:15:22Z",
- "dateAdded": "2019-08-24T14:15:22Z",
- "lastLoginDate": "2019-08-24T14:15:22Z",
- "notes": "string",
- "customFields": {
- "decimal1": 0,
- "decimal2": 0,
- "decimal3": 0,
- "decimal4": 0,
- "decimal5": 0,
- "string1": "string",
- "string2": "string",
- "string3": "string",
- "string4": "string",
- "string5": "string",
- "string6": "string",
- "string7": "string",
- "string8": "string",
- "string9": "string",
- "string10": "string",
- "string11": "string",
- "string12": "string",
- "string13": "string",
- "string14": "string",
- "string15": "string",
- "string16": "string",
- "string17": "string",
- "string18": "string",
- "string19": "string",
- "string20": "string",
- "string21": "string",
- "string22": "string",
- "string23": "string",
- "string24": "string",
- "string25": "string",
- "string26": "string",
- "string27": "string",
- "string28": "string",
- "string29": "string",
- "string30": "string",
- "datetime1": "2019-08-24T14:15:22Z",
- "datetime2": "2019-08-24T14:15:22Z",
- "datetime3": "2019-08-24T14:15:22Z",
- "datetime4": "2019-08-24T14:15:22Z",
- "datetime5": "2019-08-24T14:15:22Z",
- "bool1": true,
- "bool2": true,
- "bool3": true,
- "bool4": true,
- "bool5": true
}, - "roleIds": [
- "string"
], - "activeStatus": 0,
- "isLearner": true,
- "isAdmin": true,
- "isInstructor": true,
- "isManager": true,
- "supervisorId": "string",
- "hasUsername": true
}
]
}
Upsert user if the username or external ID matches.
Authorizations:
query Parameters
key | integer Enum: 0 1 The identifier used to locate the user. Possible Enum Values: |
header Parameters
x-api-key | string |
x-api-version | string 2 |
Request Body schema: application/json
The request body specifying the properties to update.
username required | string [ 0 .. 255 ] characters The user's username. |
password | string [ 0 .. 255 ] characters The user's password. |
departmentId required | string <guid> non-empty The user's department ID. |
firstName required | string [ 0 .. 255 ] characters The user's first name. |
lastName required | string [ 0 .. 255 ] characters The user's last name. |
middleName | string [ 0 .. 255 ] characters The user's middle name. |
address | string [ 0 .. 4000 ] characters The user's address. |
address2 | string [ 0 .. 4000 ] characters The user's second address. |
city | string [ 0 .. 255 ] characters The user's city. |
postalCode | string [ 0 .. 255 ] characters The user's postal code. |
provinceId | string <guid> The user's province ID. |
countryId | string <guid> The user's country ID. |
location | string [ 0 .. 255 ] characters The user's location |
dateHired | string <date-time> The date the user was hired. |
dateTerminated | string <date-time> The date the user was terminated. |
emailAddress | string [ 0 .. 255 ] characters ^[a-zA-Z0-9!#$%&'*+\/=?^_`{|}~-]+(\.[a-zA-Z0-... The user's email address. |
ccEmailAddresses | Array of strings The user's cc email addresses. |
employeeNumber | string [ 0 .. 255 ] characters The user's employee number. |
supervisorId | string <guid> The user's supervisor's ID. |
externalId | string [ 0 .. 255 ] characters The user's external ID. |
languageId | integer <int32> The user's default language ID. |
gender | integer Enum: 0 1 2 The user's gender. Possible Enum Values: |
activeStatus | integer Enum: 0 1 The user's active status. Possible Enum Values: |
jobTitle | string [ 0 .. 255 ] characters The user's job title. |
notes | string Notes about the user. |
phone | string [ 0 .. 255 ] characters The user's phone number. |
referenceNumber | string [ 0 .. 255 ] characters The user's reference number. |
roleIds | Array of strings <guid> [ items <guid > ] The user's associated role IDs. |
isLearner | boolean True if the user is a learner, otherwise false. |
isInstructor | boolean True if the user is an instructor, otherwise false. |
isAdmin | boolean True if the user is an admin, otherwise false. |
hasUsername | boolean True if the user has a username, otherwise false. |
object The user's custom fields. |
Responses
Response Schema: application/json
id | string <guid> The user's ID. |
username | string [ 0 .. 255 ] characters The user's username. |
Response Schema: application/json
id | string <guid> The user's ID. |
username | string [ 0 .. 255 ] characters The user's username. |
Request samples
- Payload
{- "username": "string",
- "password": "string",
- "departmentId": "string",
- "firstName": "string",
- "lastName": "string",
- "middleName": "string",
- "address": "string",
- "address2": "string",
- "city": "string",
- "postalCode": "string",
- "provinceId": "string",
- "countryId": "string",
- "location": "string",
- "dateHired": "2019-08-24T14:15:22Z",
- "dateTerminated": "2019-08-24T14:15:22Z",
- "emailAddress": "string",
- "ccEmailAddresses": [
- "string"
], - "employeeNumber": "string",
- "supervisorId": "string",
- "externalId": "string",
- "languageId": 0,
- "gender": 0,
- "activeStatus": 0,
- "jobTitle": "string",
- "notes": "string",
- "phone": "string",
- "referenceNumber": "string",
- "roleIds": [
- "string"
], - "isLearner": true,
- "isInstructor": true,
- "isAdmin": true,
- "hasUsername": true,
- "customFields": {
- "decimal1": 0,
- "decimal2": 0,
- "decimal3": 0,
- "decimal4": 0,
- "decimal5": 0,
- "string1": "string",
- "string2": "string",
- "string3": "string",
- "string4": "string",
- "string5": "string",
- "string6": "string",
- "string7": "string",
- "string8": "string",
- "string9": "string",
- "string10": "string",
- "string11": "string",
- "string12": "string",
- "string13": "string",
- "string14": "string",
- "string15": "string",
- "string16": "string",
- "string17": "string",
- "string18": "string",
- "string19": "string",
- "string20": "string",
- "string21": "string",
- "string22": "string",
- "string23": "string",
- "string24": "string",
- "string25": "string",
- "string26": "string",
- "string27": "string",
- "string28": "string",
- "string29": "string",
- "string30": "string",
- "datetime1": "2019-08-24T14:15:22Z",
- "datetime2": "2019-08-24T14:15:22Z",
- "datetime3": "2019-08-24T14:15:22Z",
- "datetime4": "2019-08-24T14:15:22Z",
- "datetime5": "2019-08-24T14:15:22Z",
- "bool1": true,
- "bool2": true,
- "bool3": true,
- "bool4": true,
- "bool5": true
}
}
Response samples
- 200
- 201
- 400
- 404
- 422
{- "id": "string",
- "username": "string"
}
Get User.
Authorizations:
path Parameters
userId required | string <guid> The user ID. |
header Parameters
x-api-key | string |
x-api-version | string 2 |
Responses
Response Schema: application/json
id | string <guid> The unique user identifier. |
departmentId | string <guid> The user's department ID. |
firstName | string The first name. |
middleName | string The middle name. |
lastName | string The last name. |
username | string The unique username. |
password | string [ 0 .. 255 ] characters Password Required for User Creation. |
emailAddress | string The user contact email address. |
externalId | string The external ID used for integrations with external systems. |
ccEmailAddresses | Array of strings List of email addresses, maximum 5 (MaxCcEmailSize) |
languageId | integer <int32> The language id. |
gender | integer Enum: 0 1 2 The gender. Possible Enum Values: |
address | string The mailing address. |
address2 | string The mailing address, part two. |
city | string The city. |
provinceId | string <guid> The province id. |
countryId | string <guid> The country id. |
postalCode | string The postal/zip code. |
phone | string The phone number. |
employeeNumber | string The employee number. |
location | string The location. |
jobTitle | string The job title. |
referenceNumber | string The reference number. |
dateHired | string <date-time> If applicable, the date the user was hired. |
dateTerminated | string <date-time> If applicable, the date the user's employment was terminated. |
dateEdited | string <date-time> The date the user is edited. |
dateAdded | string <date-time> The date the user was added. |
lastLoginDate | string <date-time> The last date the user successfully logged in. |
notes | string The notes. |
object The custom fields. | |
roleIds | Array of strings <guid> [ items <guid > ] The role ids. |
activeStatus | integer Enum: 0 1 The user's active status as UserActiveStatus . Possible Enum Values: |
isLearner | boolean True if the user is a learner, otherwise false. |
isAdmin | boolean True if the user is an administrator, otherwise false. |
isInstructor | boolean True if the user is an instructor, otherwise false. |
isManager | boolean True if the user is a manager, otherwise false. |
supervisorId | string <guid> The supervisor id. |
hasUsername | boolean Determines whether the user has a username or not. |
Response samples
- 200
- 404
{- "id": "string",
- "departmentId": "string",
- "firstName": "string",
- "middleName": "string",
- "lastName": "string",
- "username": "string",
- "password": "string",
- "emailAddress": "string",
- "externalId": "string",
- "ccEmailAddresses": [
- "string"
], - "languageId": 0,
- "gender": 0,
- "address": "string",
- "address2": "string",
- "city": "string",
- "provinceId": "string",
- "countryId": "string",
- "postalCode": "string",
- "phone": "string",
- "employeeNumber": "string",
- "location": "string",
- "jobTitle": "string",
- "referenceNumber": "string",
- "dateHired": "2019-08-24T14:15:22Z",
- "dateTerminated": "2019-08-24T14:15:22Z",
- "dateEdited": "2019-08-24T14:15:22Z",
- "dateAdded": "2019-08-24T14:15:22Z",
- "lastLoginDate": "2019-08-24T14:15:22Z",
- "notes": "string",
- "customFields": {
- "decimal1": 0,
- "decimal2": 0,
- "decimal3": 0,
- "decimal4": 0,
- "decimal5": 0,
- "string1": "string",
- "string2": "string",
- "string3": "string",
- "string4": "string",
- "string5": "string",
- "string6": "string",
- "string7": "string",
- "string8": "string",
- "string9": "string",
- "string10": "string",
- "string11": "string",
- "string12": "string",
- "string13": "string",
- "string14": "string",
- "string15": "string",
- "string16": "string",
- "string17": "string",
- "string18": "string",
- "string19": "string",
- "string20": "string",
- "string21": "string",
- "string22": "string",
- "string23": "string",
- "string24": "string",
- "string25": "string",
- "string26": "string",
- "string27": "string",
- "string28": "string",
- "string29": "string",
- "string30": "string",
- "datetime1": "2019-08-24T14:15:22Z",
- "datetime2": "2019-08-24T14:15:22Z",
- "datetime3": "2019-08-24T14:15:22Z",
- "datetime4": "2019-08-24T14:15:22Z",
- "datetime5": "2019-08-24T14:15:22Z",
- "bool1": true,
- "bool2": true,
- "bool3": true,
- "bool4": true,
- "bool5": true
}, - "roleIds": [
- "string"
], - "activeStatus": 0,
- "isLearner": true,
- "isAdmin": true,
- "isInstructor": true,
- "isManager": true,
- "supervisorId": "string",
- "hasUsername": true
}
Update user.
Authorizations:
path Parameters
userId required | string <guid> The user ID. |
header Parameters
x-api-key | string |
x-api-version | string 2 |
Request Body schema: application/json
The request body to update a user.
username required | string [ 0 .. 255 ] characters The user's username. |
password | string [ 0 .. 255 ] characters The user's password. |
departmentId required | string <guid> non-empty The user's department ID. |
firstName required | string [ 0 .. 255 ] characters The user's first name. |
lastName required | string [ 0 .. 255 ] characters The user's last name. |
middleName | string [ 0 .. 255 ] characters The user's middle name. |
address | string [ 0 .. 4000 ] characters The user's address. |
address2 | string [ 0 .. 4000 ] characters The user's second address. |
city | string [ 0 .. 255 ] characters The user's city. |
postalCode | string [ 0 .. 255 ] characters The user's postal code. |
provinceId | string <guid> The user's province ID. |
countryId | string <guid> The user's country ID. |
location | string [ 0 .. 255 ] characters The user's location |
dateHired | string <date-time> The date the user was hired. |
dateTerminated | string <date-time> The date the user was terminated. |
emailAddress | string [ 0 .. 255 ] characters ^[a-zA-Z0-9!#$%&'*+\/=?^_`{|}~-]+(\.[a-zA-Z0-... The user's email address. |
ccEmailAddresses | Array of strings The user's cc email addresses. |
employeeNumber | string [ 0 .. 255 ] characters The user's employee number. |
supervisorId | string <guid> The user's supervisor's ID. |
externalId | string [ 0 .. 255 ] characters The user's external ID. |
languageId | integer <int32> The user's default language ID. |
gender | integer Enum: 0 1 2 The user's gender. Possible Enum Values: |
activeStatus | integer Enum: 0 1 The user's active status. Possible Enum Values: |
jobTitle | string [ 0 .. 255 ] characters The user's job title. |
notes | string Notes about the user. |
phone | string [ 0 .. 255 ] characters The user's phone number. |
referenceNumber | string [ 0 .. 255 ] characters The user's reference number. |
roleIds | Array of strings <guid> [ items <guid > ] The user's associated role IDs. |
isLearner | boolean True if the user is a learner, otherwise false. |
isInstructor | boolean True if the user is an instructor, otherwise false. |
isAdmin | boolean True if the user is an admin, otherwise false. |
hasUsername | boolean True if the user has a username, otherwise false. |
object The user's custom fields. |
Responses
Response Schema: application/json
id | string <guid>
The unique user identifier. |
departmentId | string <guid>
The user's department ID. |
firstName | string
The first name. |
middleName | string
The middle name. |
lastName | string
The last name. |
username | string
The unique username. |
password | string [ 0 .. 255 ] characters Password Required for User Creation. |
emailAddress | string
The user contact email address. |
externalId | string
The external ID used for integrations with external systems. |
ccEmailAddresses | Array of strings
List of email addresses, maximum 5 (MaxCcEmailSize) |
languageId | integer <int32>
The language id. |
gender | integer Enum: 0 1 2
The gender. Possible Enum Values: |
address | string
The mailing address. |
address2 | string
The mailing address, part two. |
city | string
The city. |
provinceId | string <guid>
The province id. |
countryId | string <guid>
The country id. |
postalCode | string
The postal/zip code. |
phone | string
The phone number. |
employeeNumber | string
The employee number. |
location | string
The location. |
jobTitle | string
The job title. |
referenceNumber | string
The reference number. |
dateHired | string <date-time>
If applicable, the date the user was hired. |
dateTerminated | string <date-time>
If applicable, the date the user's employment was terminated. |
dateEdited | string <date-time>
The date the user is edited. |
dateAdded | string <date-time>
The date the user was added. |
lastLoginDate | string <date-time>
The last date the user successfully logged in. |
notes | string
The notes. |
object
The custom fields. | |
roleIds | Array of strings <guid> [ items <guid > ]
The role ids. |
activeStatus | integer Enum: 0 1
The user's active status as UserActiveStatus . Possible Enum Values: |
isLearner | boolean
True if the user is a learner, otherwise false. |
isAdmin | boolean
True if the user is an administrator, otherwise false. |
isInstructor | boolean
True if the user is an instructor, otherwise false. |
isManager | boolean
True if the user is a manager, otherwise false. |
supervisorId | string <guid>
The supervisor id. |
hasUsername | boolean Determines whether the user has a username or not. |
Request samples
- Payload
{- "username": "string",
- "password": "string",
- "departmentId": "string",
- "firstName": "string",
- "lastName": "string",
- "middleName": "string",
- "address": "string",
- "address2": "string",
- "city": "string",
- "postalCode": "string",
- "provinceId": "string",
- "countryId": "string",
- "location": "string",
- "dateHired": "2019-08-24T14:15:22Z",
- "dateTerminated": "2019-08-24T14:15:22Z",
- "emailAddress": "string",
- "ccEmailAddresses": [
- "string"
], - "employeeNumber": "string",
- "supervisorId": "string",
- "externalId": "string",
- "languageId": 0,
- "gender": 0,
- "activeStatus": 0,
- "jobTitle": "string",
- "notes": "string",
- "phone": "string",
- "referenceNumber": "string",
- "roleIds": [
- "string"
], - "isLearner": true,
- "isInstructor": true,
- "isAdmin": true,
- "hasUsername": true,
- "customFields": {
- "decimal1": 0,
- "decimal2": 0,
- "decimal3": 0,
- "decimal4": 0,
- "decimal5": 0,
- "string1": "string",
- "string2": "string",
- "string3": "string",
- "string4": "string",
- "string5": "string",
- "string6": "string",
- "string7": "string",
- "string8": "string",
- "string9": "string",
- "string10": "string",
- "string11": "string",
- "string12": "string",
- "string13": "string",
- "string14": "string",
- "string15": "string",
- "string16": "string",
- "string17": "string",
- "string18": "string",
- "string19": "string",
- "string20": "string",
- "string21": "string",
- "string22": "string",
- "string23": "string",
- "string24": "string",
- "string25": "string",
- "string26": "string",
- "string27": "string",
- "string28": "string",
- "string29": "string",
- "string30": "string",
- "datetime1": "2019-08-24T14:15:22Z",
- "datetime2": "2019-08-24T14:15:22Z",
- "datetime3": "2019-08-24T14:15:22Z",
- "datetime4": "2019-08-24T14:15:22Z",
- "datetime5": "2019-08-24T14:15:22Z",
- "bool1": true,
- "bool2": true,
- "bool3": true,
- "bool4": true,
- "bool5": true
}
}
Response samples
- 201
- 404
- 422
{- "id": "string",
- "departmentId": "string",
- "firstName": "string",
- "middleName": "string",
- "lastName": "string",
- "username": "string",
- "password": "string",
- "emailAddress": "string",
- "externalId": "string",
- "ccEmailAddresses": [
- "string"
], - "languageId": 0,
- "gender": 0,
- "address": "string",
- "address2": "string",
- "city": "string",
- "provinceId": "string",
- "countryId": "string",
- "postalCode": "string",
- "phone": "string",
- "employeeNumber": "string",
- "location": "string",
- "jobTitle": "string",
- "referenceNumber": "string",
- "dateHired": "2019-08-24T14:15:22Z",
- "dateTerminated": "2019-08-24T14:15:22Z",
- "dateEdited": "2019-08-24T14:15:22Z",
- "dateAdded": "2019-08-24T14:15:22Z",
- "lastLoginDate": "2019-08-24T14:15:22Z",
- "notes": "string",
- "customFields": {
- "decimal1": 0,
- "decimal2": 0,
- "decimal3": 0,
- "decimal4": 0,
- "decimal5": 0,
- "string1": "string",
- "string2": "string",
- "string3": "string",
- "string4": "string",
- "string5": "string",
- "string6": "string",
- "string7": "string",
- "string8": "string",
- "string9": "string",
- "string10": "string",
- "string11": "string",
- "string12": "string",
- "string13": "string",
- "string14": "string",
- "string15": "string",
- "string16": "string",
- "string17": "string",
- "string18": "string",
- "string19": "string",
- "string20": "string",
- "string21": "string",
- "string22": "string",
- "string23": "string",
- "string24": "string",
- "string25": "string",
- "string26": "string",
- "string27": "string",
- "string28": "string",
- "string29": "string",
- "string30": "string",
- "datetime1": "2019-08-24T14:15:22Z",
- "datetime2": "2019-08-24T14:15:22Z",
- "datetime3": "2019-08-24T14:15:22Z",
- "datetime4": "2019-08-24T14:15:22Z",
- "datetime5": "2019-08-24T14:15:22Z",
- "bool1": true,
- "bool2": true,
- "bool3": true,
- "bool4": true,
- "bool5": true
}, - "roleIds": [
- "string"
], - "activeStatus": 0,
- "isLearner": true,
- "isAdmin": true,
- "isInstructor": true,
- "isManager": true,
- "supervisorId": "string",
- "hasUsername": true
}
Upsert user if the username or external ID matches.
Authorizations:
query Parameters
key | integer Enum: 0 1 The identifier used to locate the user. Possible Enum Values: |
header Parameters
x-api-key | string |
x-api-version | string 2 |
Request Body schema: application/json
The request body specifying the properties to update.
username required | string [ 0 .. 255 ] characters The user's username. |
password | string [ 0 .. 255 ] characters The user's password. |
departmentId required | string <guid> non-empty The user's department ID. |
firstName required | string [ 0 .. 255 ] characters The user's first name. |
lastName required | string [ 0 .. 255 ] characters The user's last name. |
middleName | string [ 0 .. 255 ] characters The user's middle name. |
address | string [ 0 .. 4000 ] characters The user's address. |
address2 | string [ 0 .. 4000 ] characters The user's second address. |
city | string [ 0 .. 255 ] characters The user's city. |
postalCode | string [ 0 .. 255 ] characters The user's postal code. |
provinceId | string <guid> The user's province ID. |
countryId | string <guid> The user's country ID. |
location | string [ 0 .. 255 ] characters The user's location |
dateHired | string <date-time> The date the user was hired. |
dateTerminated | string <date-time> The date the user was terminated. |
emailAddress | string [ 0 .. 255 ] characters ^[a-zA-Z0-9!#$%&'*+\/=?^_`{|}~-]+(\.[a-zA-Z0-... The user's email address. |
ccEmailAddresses | Array of strings The user's cc email addresses. |
employeeNumber | string [ 0 .. 255 ] characters The user's employee number. |
supervisorId | string <guid> The user's supervisor's ID. |
externalId | string [ 0 .. 255 ] characters The user's external ID. |
languageId | integer <int32> The user's default language ID. |
gender | integer Enum: 0 1 2 The user's gender. Possible Enum Values: |
activeStatus | integer Enum: 0 1 The user's active status. Possible Enum Values: |
jobTitle | string [ 0 .. 255 ] characters The user's job title. |
notes | string Notes about the user. |
phone | string [ 0 .. 255 ] characters The user's phone number. |
referenceNumber | string [ 0 .. 255 ] characters The user's reference number. |
roleIds | Array of strings <guid> [ items <guid > ] The user's associated role IDs. |
isLearner | boolean True if the user is a learner, otherwise false. |
isInstructor | boolean True if the user is an instructor, otherwise false. |
isAdmin | boolean True if the user is an admin, otherwise false. |
hasUsername | boolean True if the user has a username, otherwise false. |
object The user's custom fields. |
Responses
Response Schema: application/json
id | string <guid> The user's ID. |
username | string [ 0 .. 255 ] characters The user's username. |
Response Schema: application/json
id | string <guid> The user's ID. |
username | string [ 0 .. 255 ] characters The user's username. |
Request samples
- Payload
{- "username": "string",
- "password": "string",
- "departmentId": "string",
- "firstName": "string",
- "lastName": "string",
- "middleName": "string",
- "address": "string",
- "address2": "string",
- "city": "string",
- "postalCode": "string",
- "provinceId": "string",
- "countryId": "string",
- "location": "string",
- "dateHired": "2019-08-24T14:15:22Z",
- "dateTerminated": "2019-08-24T14:15:22Z",
- "emailAddress": "string",
- "ccEmailAddresses": [
- "string"
], - "employeeNumber": "string",
- "supervisorId": "string",
- "externalId": "string",
- "languageId": 0,
- "gender": 0,
- "activeStatus": 0,
- "jobTitle": "string",
- "notes": "string",
- "phone": "string",
- "referenceNumber": "string",
- "roleIds": [
- "string"
], - "isLearner": true,
- "isInstructor": true,
- "isAdmin": true,
- "hasUsername": true,
- "customFields": {
- "decimal1": 0,
- "decimal2": 0,
- "decimal3": 0,
- "decimal4": 0,
- "decimal5": 0,
- "string1": "string",
- "string2": "string",
- "string3": "string",
- "string4": "string",
- "string5": "string",
- "string6": "string",
- "string7": "string",
- "string8": "string",
- "string9": "string",
- "string10": "string",
- "string11": "string",
- "string12": "string",
- "string13": "string",
- "string14": "string",
- "string15": "string",
- "string16": "string",
- "string17": "string",
- "string18": "string",
- "string19": "string",
- "string20": "string",
- "string21": "string",
- "string22": "string",
- "string23": "string",
- "string24": "string",
- "string25": "string",
- "string26": "string",
- "string27": "string",
- "string28": "string",
- "string29": "string",
- "string30": "string",
- "datetime1": "2019-08-24T14:15:22Z",
- "datetime2": "2019-08-24T14:15:22Z",
- "datetime3": "2019-08-24T14:15:22Z",
- "datetime4": "2019-08-24T14:15:22Z",
- "datetime5": "2019-08-24T14:15:22Z",
- "bool1": true,
- "bool2": true,
- "bool3": true,
- "bool4": true,
- "bool5": true
}
}
Response samples
- 200
- 201
- 400
- 404
- 422
{- "id": "string",
- "username": "string"
}
Creates and/or updates Users from a List of Users.
A maximum of 200 users can be uploaded per request.
Authorizations:
query Parameters
key | integer Enum: 0 1 The identifier used to locate the user. Possible Enum Values: |
header Parameters
x-api-key | string |
x-api-version | string 2 |
Request Body schema: application/json
The request body which lists users.
username required | string [ 0 .. 255 ] characters The user's username. |
password | string [ 0 .. 255 ] characters The user's password. |
departmentId required | string <guid> non-empty The user's department ID. |
firstName required | string [ 0 .. 255 ] characters The user's first name. |
lastName required | string [ 0 .. 255 ] characters The user's last name. |
middleName | string [ 0 .. 255 ] characters The user's middle name. |
address | string [ 0 .. 4000 ] characters The user's address. |
address2 | string [ 0 .. 4000 ] characters The user's second address. |
city | string [ 0 .. 255 ] characters The user's city. |
postalCode | string [ 0 .. 255 ] characters The user's postal code. |
provinceId | string <guid> The user's province ID. |
countryId | string <guid> The user's country ID. |
location | string [ 0 .. 255 ] characters The user's location |
dateHired | string <date-time> The date the user was hired. |
dateTerminated | string <date-time> The date the user was terminated. |
emailAddress | string [ 0 .. 255 ] characters ^[a-zA-Z0-9!#$%&'*+\/=?^_`{|}~-]+(\.[a-zA-Z0-... The user's email address. |
ccEmailAddresses | Array of strings The user's cc email addresses. |
employeeNumber | string [ 0 .. 255 ] characters The user's employee number. |
supervisorId | string <guid> The user's supervisor's ID. |
externalId | string [ 0 .. 255 ] characters The user's external ID. |
languageId | integer <int32> The user's default language ID. |
gender | integer Enum: 0 1 2 The user's gender. Possible Enum Values: |
activeStatus | integer Enum: 0 1 The user's active status. Possible Enum Values: |
jobTitle | string [ 0 .. 255 ] characters The user's job title. |
notes | string Notes about the user. |
phone | string [ 0 .. 255 ] characters The user's phone number. |
referenceNumber | string [ 0 .. 255 ] characters The user's reference number. |
roleIds | Array of strings <guid> [ items <guid > ] The user's associated role IDs. |
isLearner | boolean True if the user is a learner, otherwise false. |
isInstructor | boolean True if the user is an instructor, otherwise false. |
isAdmin | boolean True if the user is an admin, otherwise false. |
hasUsername | boolean True if the user has a username, otherwise false. |
object The user's custom fields. |
Responses
Response Schema: application/json
key | string The user's unique ID. |
value | string The user property (key/correlation) used to create/update a user. |
Response Schema: application/json
key | string The user's unique ID. |
value | string The user property (key/correlation) used to create/update a user. |
Request samples
- Payload
[- {
- "username": "string",
- "password": "string",
- "departmentId": "string",
- "firstName": "string",
- "lastName": "string",
- "middleName": "string",
- "address": "string",
- "address2": "string",
- "city": "string",
- "postalCode": "string",
- "provinceId": "string",
- "countryId": "string",
- "location": "string",
- "dateHired": "2019-08-24T14:15:22Z",
- "dateTerminated": "2019-08-24T14:15:22Z",
- "emailAddress": "string",
- "ccEmailAddresses": [
- "string"
], - "employeeNumber": "string",
- "supervisorId": "string",
- "externalId": "string",
- "languageId": 0,
- "gender": 0,
- "activeStatus": 0,
- "jobTitle": "string",
- "notes": "string",
- "phone": "string",
- "referenceNumber": "string",
- "roleIds": [
- "string"
], - "isLearner": true,
- "isInstructor": true,
- "isAdmin": true,
- "hasUsername": true,
- "customFields": {
- "decimal1": 0,
- "decimal2": 0,
- "decimal3": 0,
- "decimal4": 0,
- "decimal5": 0,
- "string1": "string",
- "string2": "string",
- "string3": "string",
- "string4": "string",
- "string5": "string",
- "string6": "string",
- "string7": "string",
- "string8": "string",
- "string9": "string",
- "string10": "string",
- "string11": "string",
- "string12": "string",
- "string13": "string",
- "string14": "string",
- "string15": "string",
- "string16": "string",
- "string17": "string",
- "string18": "string",
- "string19": "string",
- "string20": "string",
- "string21": "string",
- "string22": "string",
- "string23": "string",
- "string24": "string",
- "string25": "string",
- "string26": "string",
- "string27": "string",
- "string28": "string",
- "string29": "string",
- "string30": "string",
- "datetime1": "2019-08-24T14:15:22Z",
- "datetime2": "2019-08-24T14:15:22Z",
- "datetime3": "2019-08-24T14:15:22Z",
- "datetime4": "2019-08-24T14:15:22Z",
- "datetime5": "2019-08-24T14:15:22Z",
- "bool1": true,
- "bool2": true,
- "bool3": true,
- "bool4": true,
- "bool5": true
}
}
]
Response samples
- 200
- 201
- 400
- 422
- 500
[- {
- "key": "string",
- "value": "string"
}
]
Get currently authenticated User's details.
Authorizations:
header Parameters
x-api-key | string |
x-api-version | string 2 |
Responses
Response Schema: application/json
id | string <guid> The unique user identifier. |
departmentId | string <guid> The user's department ID. |
firstName | string The first name. |
middleName | string The middle name. |
lastName | string The last name. |
username | string The unique username. |
password | string [ 0 .. 255 ] characters Password Required for User Creation. |
emailAddress | string The user contact email address. |
externalId | string The external ID used for integrations with external systems. |
ccEmailAddresses | Array of strings List of email addresses, maximum 5 (MaxCcEmailSize) |
languageId | integer <int32> The language id. |
gender | integer Enum: 0 1 2 The gender. Possible Enum Values: |
address | string The mailing address. |
address2 | string The mailing address, part two. |
city | string The city. |
provinceId | string <guid> The province id. |
countryId | string <guid> The country id. |
postalCode | string The postal/zip code. |
phone | string The phone number. |
employeeNumber | string The employee number. |
location | string The location. |
jobTitle | string The job title. |
referenceNumber | string The reference number. |
dateHired | string <date-time> If applicable, the date the user was hired. |
dateTerminated | string <date-time> If applicable, the date the user's employment was terminated. |
dateEdited | string <date-time> The date the user is edited. |
dateAdded | string <date-time> The date the user was added. |
lastLoginDate | string <date-time> The last date the user successfully logged in. |
notes | string The notes. |
object The custom fields. | |
roleIds | Array of strings <guid> [ items <guid > ] The role ids. |
activeStatus | integer Enum: 0 1 The user's active status as UserActiveStatus . Possible Enum Values: |
isLearner | boolean True if the user is a learner, otherwise false. |
isAdmin | boolean True if the user is an administrator, otherwise false. |
isInstructor | boolean True if the user is an instructor, otherwise false. |
isManager | boolean True if the user is a manager, otherwise false. |
supervisorId | string <guid> The supervisor id. |
hasUsername | boolean Determines whether the user has a username or not. |
Response samples
- 200
- 404
{- "id": "string",
- "departmentId": "string",
- "firstName": "string",
- "middleName": "string",
- "lastName": "string",
- "username": "string",
- "password": "string",
- "emailAddress": "string",
- "externalId": "string",
- "ccEmailAddresses": [
- "string"
], - "languageId": 0,
- "gender": 0,
- "address": "string",
- "address2": "string",
- "city": "string",
- "provinceId": "string",
- "countryId": "string",
- "postalCode": "string",
- "phone": "string",
- "employeeNumber": "string",
- "location": "string",
- "jobTitle": "string",
- "referenceNumber": "string",
- "dateHired": "2019-08-24T14:15:22Z",
- "dateTerminated": "2019-08-24T14:15:22Z",
- "dateEdited": "2019-08-24T14:15:22Z",
- "dateAdded": "2019-08-24T14:15:22Z",
- "lastLoginDate": "2019-08-24T14:15:22Z",
- "notes": "string",
- "customFields": {
- "decimal1": 0,
- "decimal2": 0,
- "decimal3": 0,
- "decimal4": 0,
- "decimal5": 0,
- "string1": "string",
- "string2": "string",
- "string3": "string",
- "string4": "string",
- "string5": "string",
- "string6": "string",
- "string7": "string",
- "string8": "string",
- "string9": "string",
- "string10": "string",
- "string11": "string",
- "string12": "string",
- "string13": "string",
- "string14": "string",
- "string15": "string",
- "string16": "string",
- "string17": "string",
- "string18": "string",
- "string19": "string",
- "string20": "string",
- "string21": "string",
- "string22": "string",
- "string23": "string",
- "string24": "string",
- "string25": "string",
- "string26": "string",
- "string27": "string",
- "string28": "string",
- "string29": "string",
- "string30": "string",
- "datetime1": "2019-08-24T14:15:22Z",
- "datetime2": "2019-08-24T14:15:22Z",
- "datetime3": "2019-08-24T14:15:22Z",
- "datetime4": "2019-08-24T14:15:22Z",
- "datetime5": "2019-08-24T14:15:22Z",
- "bool1": true,
- "bool2": true,
- "bool3": true,
- "bool4": true,
- "bool5": true
}, - "roleIds": [
- "string"
], - "activeStatus": 0,
- "isLearner": true,
- "isAdmin": true,
- "isInstructor": true,
- "isManager": true,
- "supervisorId": "string",
- "hasUsername": true
}
Lists the competencies for a user.
Authorizations:
path Parameters
userId required | string <guid> The user ID. |
query Parameters
_filter | string One or more filter operations to be performed on the collection. The referenced fields must allow filtering. See the respective report's schema for which fields can be filtered. Supports most of the OData filter syntax. Supported operations: * eq, * ne, * gt, * ge, * lt, * le, * and, * or, * not, * () Supported functions: * substringof('value',fieldName), * endswith(fieldName,'value'), * startswith(fieldName,'value'), * tolower(fieldName), * toupper(fieldName) Examples:
|
_sort | string Optional list of comma-separated fields to sort the collection by. The referenced fields must allow sorting. See the respective report's schema for which fields can be sorted. If not specified, all report fields are returned. To sort in a descending manner, prefix the field name with |
_limit | string The maximum number of items to return in the current page of the collection. |
_offset | string The number of pages to offset into the collection. |
header Parameters
x-api-key | string |
x-api-version | string 2 |
Responses
Response Schema: application/json
totalItems | integer <int32> The total number of items in the unbounded collection |
returnedItems | integer <int32> The number of items in the bound collection being returned |
limit | integer <int32> The current page size for the collection |
offset | integer <int32> The current offset for the collection |
Array of objects (CompetencyResource) A list of CompetencyResources. |
Response samples
- 200
- 404
- 422
{- "totalItems": 0,
- "returnedItems": 0,
- "limit": 0,
- "offset": 0,
- "competencies": [
- {
- "id": "string",
- "name": "string",
- "competencyLevel": 0,
- "categoryName": "string",
- "dateAcquired": "2019-08-24T14:15:22Z"
}
]
}