API

RamBase REST APIs

GET system/users?search={search}

Resource for listing users in the system

HTTP method GET
URI https://api.rambase.net/system/users?search={search}
Supported formats Xml, Html, Json (ex. $format=json)
Maximum page size ($top) 80
Successful HTTP status code 200
API resource identifier 2169, version 58

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.

Format:
1
1

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.

search String, optional Provides a searchstring for users. Will search in Name, FirstName, Email and phone
$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]
$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
$expand String, optional Use to include output fields that are not returned by default in the response. Accepts a comma-separated list of expandable field names. See the Expand and Select page for more information.
$select String, optional Use to define the fields to return in the response. Accepts a comma-separated list of field names. See the Expand and select page for more information.
$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.
$format String, optional Set the format of the response to use for the request. Accepted values are "xml", "html", "jsonstream", "json"
$top String, optional Specifies number of rows to return in each page. Maximum limit is specific for each API resource. Default value is 10.
$pageKey String, optional Use to navigate to first, previous, next or last page in list. Add $expand=PagingDetails to add the different keys to the response.
$filter String, optional Use to filter the result list, see the Filtering and sorting page for more information.
$orderby String, optional Use to order the result list, see the Filtering and sorting page for more information.
$inlinecount String, optional Set to "allpages" to include total number of rows in the response. Possible values are: "allpages", "none"

Read more about filters and sorting on how to use filter parameters and named filters.

ActiveUsers() Named filter Filter only active users
InvitedUsers() Named filter Filters only invited users.
NotInvitedUsers() Named filter Newly created users that has not yet been invited. Edit mode.
OnLeaveUsers() Named filter Filters only users on leave
PartnerUsers() Named filter Filters only partner users for current system
ResignedUsers() Named filter Filters only resigned users.
Email String Users email address. Used to send change notifications and one time passwords.
FirstName String User identifier.
IsPortalUser Boolean Filter to exclude portal users..
LicensedRamBaseSystemName String The descriptive name of the system a user belogs to.
Name String User identifier.
PortalUser Boolean Filter to exclude portal users..
RamBasePartnerId Integer Unique identifier for a customers partner.
RamBasePartnerName String The name of a customers partner.
Status Integer Status of the user.
UserId Integer User identifier.

Read more about filters and sorting on how to use sortable parameters

Email String Users email address. Used to send change notifications and one time passwords
FirstName String User identifier
IsPortalUser Boolean Filter to exclude portal users.
LicensedRamBaseSystemName String The descriptive name of the system a user belogs to.
Name String User identifier
PortalUser Boolean Filter to exclude portal users.
RamBasePartnerId Integer Unique identifier for a customers partner
RamBasePartnerName String The name of a customers partner
Status Integer Status of the user
UserId Integer User identifier

Requesting this resource will yield the following response. Mouse over fieldnames (or fieldgroups) for descriptions and other useful information about the fields. Fields colored in grey is expandable fields.

Please note that some fields may be removed from the response, based on user roles/duties/permissions.

Format:
1
<Users>
2
     <User>
3
          <UserId
UserId

User identifier

>
{Integer}</UserId>
4
          <FirstName
FirstName

First name of the user

>
{String}</FirstName>
5
          <Name
Name

Name of the user

>
{String}</Name>
6
          <Status
Status

User status ID

Possible domain values can be found here

>
{Integer}</Status>
7
          <AdmittanceLevel
AdmittanceLevel

Accumulated admittance level for employee at given date.

This field is greyed out because it is an expandable field. You have to add $expand=User.AdmittanceLevel in your request URI to get this field

>
{Integer}</AdmittanceLevel>
8
          <PriceCategory
PriceCategory

The level a user has in regards to licensing. We have 4 price categories; Self service- (most basic), Single task-, Functional- and Cross functional user (most advanced). Calculated admittance level for a user will define the price category based on threshold values.

Possible domain values can be found here

This field is greyed out because it is an expandable field. You have to add $expand=User.PriceCategory in your request URI to get this field

>
{Integer}</PriceCategory>
9
          <LicensedRamBaseSystem
LicensedRamBaseSystem

This field is greyed out because it is an expandable field. You have to add $expand=User.LicensedRamBaseSystem in your request URI to get this field

>
10
               <RamBaseSystemId
RamBaseSystemId

The system identificator name of the system a user belogs to.

This field is greyed out because it is an expandable field. You have to add $expand=User.LicensedRamBaseSystem in your request URI to get this field

>
{Integer}</RamBaseSystemId>
11
               <Name
Name

The descriptive name of the system a user belogs to.

This field is greyed out because it is an expandable field. You have to add $expand=User.LicensedRamBaseSystem in your request URI to get this field

>
{String}</Name>
12
          </LicensedRamBaseSystem>
13
          <Authentication
Authentication

This field is greyed out because it is an expandable field. You have to add $expand=User.Authentication in your request URI to get this field

>
14
               <Username
Username

The users login name

This field is greyed out because it is an expandable field. You have to add $expand=User.Authentication in your request URI to get this field

>
{String}</Username>
15
               <OneTimePassword
OneTimePassword

This field is greyed out because it is an expandable field. You have to add $expand=User.Authentication in your request URI to get this field

>
16
                    <MobilePhone
MobilePhone

Users mobile number. Used to send one time passwords to user.

This field is greyed out because it is an expandable field. You have to add $expand=User.Authentication in your request URI to get this field

>
{String}</MobilePhone>
17
                    <Email
Email

Users email address. Used to send change notifications and one time passwords

This field is greyed out because it is an expandable field. You have to add $expand=User.Authentication in your request URI to get this field

>
{String}</Email>
18
                    <SendBy
SendBy

Domain value id for onetime password delivery type (email, sms)

Possible domain values can be found here

This field is greyed out because it is an expandable field. You have to add $expand=User.Authentication in your request URI to get this field

>
{Integer}</SendBy>
19
                    <Allow
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.

This field is greyed out because it is an expandable field. You have to add $expand=User.Authentication in your request URI to get this field

>
{Boolean}</Allow>
20
               </OneTimePassword>
21
               <OpenIdConnect
OpenIdConnect

This field is greyed out because it is an expandable field. You have to add $expand=User.Authentication in your request URI to get this field

>
22
                    <ExternalUserId
ExternalUserId

The single sign on global user id for active directory

This field is greyed out because it is an expandable field. You have to add $expand=User.Authentication in your request URI to get this field

>
{String}</ExternalUserId>
23
                    <TenantId
TenantId

Active directory tenant id

This field is greyed out because it is an expandable field. You have to add $expand=User.Authentication in your request URI to get this field

>
{String}</TenantId>
24
                    <Provider
Provider

The single sign on AD provider

Possible domain values can be found here

This field is greyed out because it is an expandable field. You have to add $expand=User.Authentication in your request URI to get this field

>
{String}</Provider>
25
               </OpenIdConnect>
26
          </Authentication>
27
          <ConsultantFor
ConsultantFor

This field is greyed out because it is an expandable field. You have to add $expand=User.ConsultantFor in your request URI to get this field

>
28
               <RamBasePartnerId
RamBasePartnerId

Unique identifier for a customers partner

This field is greyed out because it is an expandable field. You have to add $expand=User.ConsultantFor in your request URI to get this field

>
{Integer}</RamBasePartnerId>
29
               <Name
Name

The name of a customers partner

This field is greyed out because it is an expandable field. You have to add $expand=User.ConsultantFor in your request URI to get this field

>
{String}</Name>
30
          </ConsultantFor>
31
          <UserLink
UserLink

User reference

>
{String}</UserLink>
32
     </User>
33
     <Paging
Paging

Detailed paging information for this list.

>
34
          <PageSize
PageSize

Number of elements in the list, as defined in $top. Default is 10.

>
{Integer}</PageSize>
35
          <Position
Position

Position of the first element in the list

>
{Integer}</Position>
36
          <Page
Page

Page index

>
{Integer}</Page>
37
          <FirstPageKey
FirstPageKey

Page key to use for navigating to the first page in the list

This field is greyed out because it is an expandable field. You have to add $expand=PagingDetails in your request URI to get this field

>
{String}</FirstPageKey>
38
          <FirstPage
FirstPage

Link to the first page in the list. $pageKey is set to FirstPageKey.

>
{String}</FirstPage>
39
          <PreviousPageKey
PreviousPageKey

Page key to use for navigating to previous page in the list

This field is greyed out because it is an expandable field. You have to add $expand=PagingDetails in your request URI to get this field

>
{String}</PreviousPageKey>
40
          <PreviousPage
PreviousPage

Link to the previous page in the list. $pageKey is set to PreviousPageKey.

>
{String}</PreviousPage>
41
          <NextPageKey
NextPageKey

Page key to use for navigating to next page in the list

This field is greyed out because it is an expandable field. You have to add $expand=PagingDetails in your request URI to get this field

>
{String}</NextPageKey>
42
          <NextPage
NextPage

Link to the next page in the list. $pageKey is set to NextPageKey.

>
{String}</NextPage>
43
          <LastPageKey
LastPageKey

Page key to use for navigating to last page in the list

This field is greyed out because it is an expandable field. You have to add $expand=PagingDetails in your request URI to get this field

>
{String}</LastPageKey>
44
          <LastPage
LastPage

Link to the last page in the list. $pageKey is set to LastPageKey.

>
{String}</LastPage>
45
          <Size
Size

Total number of records in the list. Use $inlinecount=allpages in the request uri to include this

>
{Integer}</Size>
46
     </Paging>
47
</Users>
1
{
2
     "users": [
3
          {
4
               "userId
UserId

User identifier

":
"{Integer}",
5
               "firstName
FirstName

First name of the user

":
"{String}",
6
               "name
Name

Name of the user

":
"{String}",
7
               "status
Status

User status ID

Possible domain values can be found here

":
"{Integer}",
8
               "admittanceLevel
AdmittanceLevel

Accumulated admittance level for employee at given date.

This field is greyed out because it is an expandable field. You have to add $expand=User.AdmittanceLevel in your request URI to get this field

":
"{Integer}",
9
               "priceCategory
PriceCategory

The level a user has in regards to licensing. We have 4 price categories; Self service- (most basic), Single task-, Functional- and Cross functional user (most advanced). Calculated admittance level for a user will define the price category based on threshold values.

Possible domain values can be found here

This field is greyed out because it is an expandable field. You have to add $expand=User.PriceCategory in your request URI to get this field

":
"{Integer}",
10
               "licensedRamBaseSystem
LicensedRamBaseSystem

This field is greyed out because it is an expandable field. You have to add $expand=User.LicensedRamBaseSystem in your request URI to get this field

":
{
11
                    "ramBaseSystemId
RamBaseSystemId

The system identificator name of the system a user belogs to.

This field is greyed out because it is an expandable field. You have to add $expand=User.LicensedRamBaseSystem in your request URI to get this field

":
"{Integer}",
12
                    "name
Name

The descriptive name of the system a user belogs to.

This field is greyed out because it is an expandable field. You have to add $expand=User.LicensedRamBaseSystem in your request URI to get this field

":
"{String}"
13
               },
14
               "authentication
Authentication

This field is greyed out because it is an expandable field. You have to add $expand=User.Authentication in your request URI to get this field

":
{
15
                    "username
Username

The users login name

This field is greyed out because it is an expandable field. You have to add $expand=User.Authentication in your request URI to get this field

":
"{String}",
16
                    "oneTimePassword
OneTimePassword

This field is greyed out because it is an expandable field. You have to add $expand=User.Authentication in your request URI to get this field

":
{
17
                         "mobilePhone
MobilePhone

Users mobile number. Used to send one time passwords to user.

This field is greyed out because it is an expandable field. You have to add $expand=User.Authentication in your request URI to get this field

":
"{String}",
18
                         "email
Email

Users email address. Used to send change notifications and one time passwords

This field is greyed out because it is an expandable field. You have to add $expand=User.Authentication in your request URI to get this field

":
"{String}",
19
                         "sendBy
SendBy

Domain value id for onetime password delivery type (email, sms)

Possible domain values can be found here

This field is greyed out because it is an expandable field. You have to add $expand=User.Authentication in your request URI to get this field

":
"{Integer}",
20
                         "allow
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.

This field is greyed out because it is an expandable field. You have to add $expand=User.Authentication in your request URI to get this field

":
"{Boolean}"
21
                    },
22
                    "openIdConnect
OpenIdConnect

This field is greyed out because it is an expandable field. You have to add $expand=User.Authentication in your request URI to get this field

":
{
23
                         "externalUserId
ExternalUserId

The single sign on global user id for active directory

This field is greyed out because it is an expandable field. You have to add $expand=User.Authentication in your request URI to get this field

":
"{String}",
24
                         "tenantId
TenantId

Active directory tenant id

This field is greyed out because it is an expandable field. You have to add $expand=User.Authentication in your request URI to get this field

":
"{String}",
25
                         "provider
Provider

The single sign on AD provider

Possible domain values can be found here

This field is greyed out because it is an expandable field. You have to add $expand=User.Authentication in your request URI to get this field

":
"{String}"
26
                    }
27
               },
28
               "consultantFor
ConsultantFor

This field is greyed out because it is an expandable field. You have to add $expand=User.ConsultantFor in your request URI to get this field

":
{
29
                    "ramBasePartnerId
RamBasePartnerId

Unique identifier for a customers partner

This field is greyed out because it is an expandable field. You have to add $expand=User.ConsultantFor in your request URI to get this field

":
"{Integer}",
30
                    "name
Name

The name of a customers partner

This field is greyed out because it is an expandable field. You have to add $expand=User.ConsultantFor in your request URI to get this field

":
"{String}"
31
               },
32
               "userLink
UserLink

User reference

":
"{String}"
33
          }
34
     ],
35
     "paging
Paging

Detailed paging information for this list.

":
{
36
          "pageSize
PageSize

Number of elements in the list, as defined in $top. Default is 10.

":
"{Integer}",
37
          "position
Position

Position of the first element in the list

":
"{Integer}",
38
          "page
Page

Page index

":
"{Integer}",
39
          "firstPageKey
FirstPageKey

Page key to use for navigating to the first page in the list

This field is greyed out because it is an expandable field. You have to add $expand=PagingDetails in your request URI to get this field

":
"{String}",
40
          "firstPage
FirstPage

Link to the first page in the list. $pageKey is set to FirstPageKey.

":
"{String}",
41
          "previousPageKey
PreviousPageKey

Page key to use for navigating to previous page in the list

This field is greyed out because it is an expandable field. You have to add $expand=PagingDetails in your request URI to get this field

":
"{String}",
42
          "previousPage
PreviousPage

Link to the previous page in the list. $pageKey is set to PreviousPageKey.

":
"{String}",
43
          "nextPageKey
NextPageKey

Page key to use for navigating to next page in the list

This field is greyed out because it is an expandable field. You have to add $expand=PagingDetails in your request URI to get this field

":
"{String}",
44
          "nextPage
NextPage

Link to the next page in the list. $pageKey is set to NextPageKey.

":
"{String}",
45
          "lastPageKey
LastPageKey

Page key to use for navigating to last page in the list

This field is greyed out because it is an expandable field. You have to add $expand=PagingDetails in your request URI to get this field

":
"{String}",
46
          "lastPage
LastPage

Link to the last page in the list. $pageKey is set to LastPageKey.

":
"{String}",
47
          "size
Size

Total number of records in the list. Use $inlinecount=allpages in the request uri to include this

":
"{Integer}"
48
     }
49
}

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: