UserRecord

object

A wrapper object containing a user and supplemental hypermedia links.

userobject

A REVEAL user record.

Show Child Parameters
_linksobject

The links provided enable the integration user to gather additional meta data for a User record. The groups link provides details on which groups the User record belongs to within the REVEAL account.

Show Child Parameters
Example

UserInput

object

The request body fields provided when creating (POST) or editing (PUT) a user record.

FirstNamestringrequired

The first name of the user.

Example:Lonny

LastNamestringrequired

The last name of the user.

Example:Arking

EmailAddressstringrequired

The email address for the user. The email address is also the REVEAL username login and is mandatory when creating a user record.

Example:user@example.com

EmployeeIdintegerrequired

Employee ID is the unique identifier for the user within REVEAL. Not a mandatory field within the REVEAL account, but required for the API.

Example:777099

MobileNumberstring

The phone number for the user.

IsAdministratorboolean

Boolean field for true or false. Default is false. True indicates that the user is an Administrator for the referenced REVEAL account.

Default:false

Example:true

IsRegionalAdministratorboolean

Boolean field for true or false. Default is false. Can only be set to true if the corresponding REVEAL account is enabled with Regional Administration permission.

Default:false

Rolestring

The name of the role applied to the user. Required when creating a user: it must match the name of an existing role in the REVEAL account, including for Administrators and Regional Administrators.

Example:Demo

TimeZonestring

The time zone selection for the user. Follows ISO time zone abbreviations. If NULL, defaults to the Account Preferences selection.

Regionstring

The Region selection for the user. Follows ISO alpha 3 country codes.

Languagestring

The Language selection for the user. Follows IETF language tags.

IsDriverboolean

Boolean field for true or false. Default is false. If the user should also be a Driver, a unique Driver Number must also be provided.

Default:false

DriverNumberstring

The Driver Number is the unique identifier used to reference the driver within the API. Required for the API when the user is a Driver.

Example

UserLinks

object

The links provided enable the integration user to gather additional meta data for a User record. The groups link provides details on which groups the User record belongs to within the REVEAL account.

selfobject
Show Child Parameters
groupsobject
Show Child Parameters
Example

HyperlinkRef

object
hrefstring

The hyperlink reference URL.

Example

ExternalUserInput

object

The request body fields provided when creating (POST) or editing (PUT) an external user record. Same fields as a user, plus the required ExternalId.

FirstNamestringrequired

The first name of the user.

Example:Lonny

LastNamestringrequired

The last name of the user.

Example:Arking

EmailAddressstringrequired

The email address for the user. The email address is also the REVEAL username login and is mandatory when creating a user record.

Example:user@example.com

EmployeeIdstringrequired

Employee ID is the unique identifier for the user within REVEAL. Not a mandatory field within the REVEAL account, but required for the API.

Example:777099

MobileNumberstring

The phone number for the user.

IsAdministratorboolean

Boolean field for true or false. Default is false. True indicates that the user is an Administrator for the referenced REVEAL account.

Default:false

Example:true

IsRegionalAdministratorboolean

Boolean field for true or false. Default is false. Can only be set to true if the corresponding REVEAL account is enabled with Regional Administration permission.

Default:false

Rolestring

The name of the role applied to the user. Can be NULL if the user is an Administrator or a Regional Admin.

Example:Demo

TimeZonestring

The time zone selection for the user. Follows ISO time zone abbreviations. If NULL, defaults to the Account Preferences selection.

Regionstring

The Region selection for the user. Follows ISO alpha 3 country codes.

Languagestring

The Language selection for the user. Follows IETF language tags.

IsDriverboolean

Boolean field for true or false. Default is false. If the user should also be a Driver, a unique Driver Number must also be provided.

Default:false

DriverNumberstring

The Driver Number is the unique identifier used to reference the driver within the API. Required for the API when the user is a Driver.

ExternalIdstringrequired

The unique identifier for the user in the external system, in the format scope:value. 3 to 96 characters; the scope and the value may contain letters, digits, underscore and hyphen.

Match pattern:^(?=.{3,96}$)[a-zA-Z0-9_-]+:[a-zA-Z0-9_-]+$

>= 3 characters<= 96 characters

Example:hr_system:emp-1042

Example