API

System APIs

GET system/users/{userId}/system-permissions/current

Gets permission info for the system you are currently logged into.

HTTP method GET
URI https://api.rambase.net/system/users/{userId}/system-permissions/current
Supported formats Xml, Html, Json (ex. $format=json)
- URI parameter {userId} User identifier
Integer, minimum 100
Successful HTTP status code 200
API resource identifier 3677, version 4

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.

$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
$format String, optional Set the format of the response to use for the request. Accepted values are "xml", "html", "jsonstream", "json"
$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.
$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.

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. 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
<SystemPermission>
2
     <SystemPermissionId
SystemPermissionId

RamBase system identifier

>
{Integer}</SystemPermissionId>
3
     <Status
Status

A description of the permissions to the rambasesystem

Possible domain values can be found here

>
{Integer}</Status>
4
     <CreatedAt
CreatedAt

Date when the system permission was created

>
{Datetime}</CreatedAt>
5
     <Reason
Reason

A reason for granting a systempermission to production systems must be given.

>
{String}</Reason>
6
     <LoginCompany
LoginCompany

User main company name in database format

>
7
          <Database
Database

Abbreviation/code to identify the company

>
{String}</Database>
8
     </LoginCompany>
9
     <CreatedBy>
10
          <UserId
UserId

User identifier

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

First name of the user

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

Name of the user

>
{String}</Name>
13
          <UserLink
UserLink

User reference

>
{String}</UserLink>
14
     </CreatedBy>
15
     <RamBaseSystem>
16
          <RamBaseSystemId
RamBaseSystemId

RamBase system identifier

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

The name of the rambasesystem.

>
{String}</Name>
18
          <Description
Description

Description of the rambasesytem.

>
{String}</Description>
19
          <IsTestSystem
IsTestSystem

A boolean that indicates if the system is a test-system.

>
{Boolean}</IsTestSystem>
20
     </RamBaseSystem>
21
     <Portal>
22
          <Contact>
23
               <ContactId
ContactId

Contact identifier

>
{Integer}</ContactId>
24
               <ContactLink
ContactLink

Contact reference

>
{String}</ContactLink>
25
          </Contact>
26
          <Representing
Representing

The customer or supplier represented by the portal user.

>
27
               <ObjectId
ObjectId

Identifier of the object

>
{Integer}</ObjectId>
28
               <ObjectType
ObjectType

Type of object

>
{String}</ObjectType>
29
               <RamBaseKey
RamBaseKey

Internal RamBase identifier of the object/item

>
{String}</RamBaseKey>
30
               <ObjectLink
ObjectLink

API reference to the object

>
{String}</ObjectLink>
31
          </Representing>
32
     </Portal>
33
</SystemPermission>
1
{
2
     "systemPermission": {
3
          "systemPermissionId
SystemPermissionId

RamBase system identifier

":
"{Integer}",
4
          "status
Status

A description of the permissions to the rambasesystem

Possible domain values can be found here

":
"{Integer}",
5
          "createdAt
CreatedAt

Date when the system permission was created

":
"{Datetime}",
6
          "reason
Reason

A reason for granting a systempermission to production systems must be given.

":
"{String}",
7
          "loginCompany
LoginCompany

User main company name in database format

":
{
8
               "database
Database

Abbreviation/code to identify the company

":
"{String}"
9
          },
10
          "createdBy": {
11
               "userId
UserId

User identifier

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

First name of the user

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

Name of the user

":
"{String}",
14
               "userLink
UserLink

User reference

":
"{String}"
15
          },
16
          "ramBaseSystem": {
17
               "ramBaseSystemId
RamBaseSystemId

RamBase system identifier

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

The name of the rambasesystem.

":
"{String}",
19
               "description
Description

Description of the rambasesytem.

":
"{String}",
20
               "isTestSystem
IsTestSystem

A boolean that indicates if the system is a test-system.

":
"{Boolean}"
21
          },
22
          "portal": {
23
               "contact": {
24
                    "contactId
ContactId

Contact identifier

":
"{Integer}",
25
                    "contactLink
ContactLink

Contact reference

":
"{String}"
26
               },
27
               "representing
Representing

The customer or supplier represented by the portal user.

":
{
28
                    "objectId
ObjectId

Identifier of the object

":
"{Integer}",
29
                    "objectType
ObjectType

Type of object

":
"{String}",
30
                    "ramBaseKey
RamBaseKey

Internal RamBase identifier of the object/item

":
"{String}",
31
                    "objectLink
ObjectLink

API reference to the object

":
"{String}"
32
               }
33
          }
34
     }
35
}

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: