POST system/users/{userId}/system-permissions

Creates a new system permission for the user

Note: Log in to check if your API client have access to run this resource
Version: 3
Success HTTP Status Code: 201

Uri parameters

{userId} Integer User identifier

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 is required/mandatory.

Format:
1
<SystemPermission>
2
     <Reason
Reason

Required/mandatory field

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

>
{String}</Reason>
3
     <RamBaseSystem>
4
          <RamBaseSystemId
RamBaseSystemId

Required/mandatory field

A rambase system id

Minimum value: 1

>
{Integer}</RamBaseSystemId>
5
     </RamBaseSystem>
6
     <LoginCompany
LoginCompany

User main company name in database format

This field is optional.

>
7
          <Database
Database

Abbreviation/code to identify the company

This field is optional.

>
{String}</Database>
8
     </LoginCompany>
9
</SystemPermission>
1
{
2
     "systemPermission": {
3
          "reason
Reason

Required/mandatory field

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

":
"{String}",
4
          "ramBaseSystem": {
5
               "ramBaseSystemId
RamBaseSystemId

Required/mandatory field

A rambase system id

Minimum value: 1

":
"{Integer}"
6
          },
7
          "loginCompany
LoginCompany

User main company name in database format

This field is optional.

":
{
8
               "database
Database

Abbreviation/code to identify the company

This field is optional.

":
"{String}"
9
          }
10
     }
11
}

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 Use to show an additional descriptional field for fields that are using Domain Values.
$db String, optional Set the database to use for the request
$format String, optional Set the format of the response to use for the request. Accepted values are "xml", "json"
$lang String, optional Use to get localized responses. Supported formats are 3-letter ISO-639-1 [lll], 2-letter ISO-639-2 [ll], or a combination of a two-letter language code and a two-letter country code ISO-639-2 and ISO-3166-1 [ll_CC], [ll-CC]
$useMinimumVersion Integer, optional This can be used to test a new version of a resource when your ApiClient is running an older, deprecated, version of a resource. $useminimumversion can be used to test against a newer version of the resource. See the Deprecated APIs page for more information about this.

See the page about filters and sorting on how to use filter parameters and named filters.

See the page 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.

Format:
1
<SystemPermission>
2
     <SystemPermissionId
SystemPermissionId

Unique identifier for a users system permission

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

A description of the permissions to the rambasesystem

Possible domain values can be found here when logged in

>
{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

A rambase system id

>
{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

Unique identifier for a users system permission

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

A description of the permissions to the rambasesystem

Possible domain values can be found here when logged in

":
"{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

A rambase system id

":
"{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: