System APIs
Creates a new user
HTTP method | POST |
URI | https://api.rambase.net/system/users |
Supported formats | Xml, Html, Json (ex. $format=json) |
Successful HTTP status code | 201 |
API resource identifier | 3267, version 32 |
The following body must be added to the request. Mouse over fieldnames for description and other useful information about the fields. Note that fields in bold are required/mandatory.
FirstName
First name of the user
This field is optional.
>{String}</FirstName>Name
Required/mandatory field
Name of the user
>{String}</Name>Username
The users login name
This field is optional.
>{String}</Username>MobilePhone
Users mobile number. Used to send one time passwords to user.
Input must match the following regular expression pattern: ^[0-9 \\+]{4,}$
This field is optional.
>{String}</MobilePhone>Required/mandatory field
Users email address. Used to send change notifications and one time passwords
Input must match the following regular expression pattern: ^\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$
>{String}</Email>SendBy
Domain value id for onetime password delivery type (email, sms)
Applicable domain values can be found here
Default value: 2
This field is optional.
>{Integer}</SendBy>Allow
Sets a flag if the user should be allowed to login to RamBase from other locations than the main office by two factor authentication.
Default value: False
This field is optional.
>{Boolean}</Allow>FirstName
First name of the user
This field is optional.
": "{String}",Name
Required/mandatory field
Name of the user
": "{String}",Username
The users login name
This field is optional.
": "{String}",MobilePhone
Users mobile number. Used to send one time passwords to user.
Input must match the following regular expression pattern: ^[0-9 \\+]{4,}$
This field is optional.
": "{String}",Required/mandatory field
Users email address. Used to send change notifications and one time passwords
Input must match the following regular expression pattern: ^\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$
": "{String}",SendBy
Domain value id for onetime password delivery type (email, sms)
Applicable domain values can be found here
Default value: 2
This field is optional.
": "{Integer}",Allow
Sets a flag if the user should be allowed to login to RamBase from other locations than the main office by two factor authentication.
Default value: False
This field is optional.
": "{Boolean}"The query string is placed after the resource URL, seperated with a questionmark (?). The query string is composed of a series of query parameters with values. See the page about query parameters on how to use these parameters.
$access_token String, optional | After successful login you get an access token which needs to be provided in all API requests. Even though it is possible to pass this token as query parameter, we recommended passing it using the HTTP request header as described in Authorization. Note that all access tokens have an expiration time. |
$db String, optional | Set the database/company for the request |
$useMinimumVersion Integer, optional | Used to run a new version of an API resource when your API client is running a deprecated API resource. See the Breaking changes page for more information. |
$showDomainDescriptions Boolean, optional | Set to "true" to include domain descriptions for fields using domain values. See the Domain values page for more information. Default value is false. |
$lang String, optional | Specifies the language used in the response, following the 3-letter ISO-639-1 [lll] |
Read more about filters and sorting on how to use filter parameters and named filters.
Read more about filters and sorting on how to use sortable parameters
Requesting this resource will yield the following response. Mouse over fieldnames (or fieldgroups) for descriptions and other useful information about the fields.
Please note that some fields may be removed from the response, based on user roles/duties/permissions.
UserId
User identifier
>{Integer}</UserId>FirstName
First name of the user
>{String}</FirstName>Name
Name of the user
>{String}</Name>UserLevel
Type of user: Administrator, Partner, User, PortalUser
Possible domain values can be found here
>RamBaseSystemId
The system identificator name of the system a user belogs to.
>{Integer}</RamBaseSystemId>Name
The descriptive name of the system a user belogs to.
>{String}</Name>Username
The users login name
>{String}</Username>MobilePhone
Users mobile number. Used to send one time passwords to user.
>{String}</MobilePhone>Users email address. Used to send change notifications and one time passwords
>{String}</Email>SendBy
Domain value id for onetime password delivery type (email, sms)
Possible domain values can be found here
>{Integer}</SendBy>Allow
Sets a flag if the user should be allowed to login to RamBase from other locations than the main office by two factor authentication.
>{Boolean}</Allow>ExternalUserId
The single sign on global user id for active directory
>{String}</ExternalUserId>TenantId
Active directory tenant id
>{String}</TenantId>Provider
The single sign on AD provider
Possible domain values can be found here
>{String}</Provider>UserId
User identifier
": "{Integer}",FirstName
First name of the user
": "{String}",Name
Name of the user
": "{String}",Status
User status ID
Possible domain values can be found here
": "{Integer}",UserLevel
Type of user: Administrator, Partner, User, PortalUser
Possible domain values can be found here
": {RamBaseSystemId
The system identificator name of the system a user belogs to.
": "{Integer}",Name
The descriptive name of the system a user belogs to.
": "{String}",Username
The users login name
": "{String}",MobilePhone
Users mobile number. Used to send one time passwords to user.
": "{String}",Users email address. Used to send change notifications and one time passwords
": "{String}",SendBy
Domain value id for onetime password delivery type (email, sms)
Possible domain values can be found here
": "{Integer}",Allow
Sets a flag if the user should be allowed to login to RamBase from other locations than the main office by two factor authentication.
": "{Boolean}"ExternalUserId
The single sign on global user id for active directory
": "{String}",TenantId
Active directory tenant id
": "{String}",Provider
The single sign on AD provider
Possible domain values can be found here
": "{String}"
List of available operations/actions for this resource.
See the operations documentation for more information about API operations.
Possible error codes the response might return: