API

System APIs

POST system/extensions

Create new extension

HTTP method POST
URI https://api.rambase.net/system/extensions
Supported formats Xml, Html, Json (ex. $format=json)
Successful HTTP status code 201
API resource identifier 3764, version 8

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
<Extension>
2
     <Name
Name

Required/mandatory field

Extension name

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

Extension description

This field is optional.

>
{String}</Description>
4
     <TermsAndConditions
TermsAndConditions

Terms and condition for using the extension

This field is optional.

>
{String}</TermsAndConditions>
5
     <Publisher
Publisher

This field is optional.

>
6
          <PublisherId
PublisherId

Publisher identifier

Minimum value: 100000

This field is optional.

>
{Integer}</PublisherId>
7
     </Publisher>
8
</Extension>
1
{
2
     "extension": {
3
          "name
Name

Required/mandatory field

Extension name

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

Extension description

This field is optional.

":
"{String}",
5
          "termsAndConditions
TermsAndConditions

Terms and condition for using the extension

This field is optional.

":
"{String}",
6
          "publisher
Publisher

This field is optional.

":
{
7
               "publisherId
PublisherId

Publisher identifier

Minimum value: 100000

This field is optional.

":
"{Integer}"
8
          }
9
     }
10
}

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.

Format:
1
<Extension>
2
     <ExtensionId
ExtensionId

Extension identifier

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

Extension status

Possible domain values can be found here

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

Extension name

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

Extension description

>
{String}</Description>
6
     <TermsAndConditions
TermsAndConditions

Terms and condition for using the extension

>
{String}</TermsAndConditions>
7
     <IsActivated
IsActivated

True if extension is activated for current company

>
{Boolean}</IsActivated>
8
     <ActivatedAt
ActivatedAt

Date of activation for extension

>
{Datetime}</ActivatedAt>
9
     <MainImage>
10
          <MediumId
MediumId

Identifier of media

>
{Integer}</MediumId>
11
          <Url
Url

Url to media

>
{String}</Url>
12
          <Description
Description

Description of media. Typically used in html img alt-attribute.

>
{String}</Description>
13
          <MediumLink
MediumLink

Reference to document

>
{String}</MediumLink>
14
          <ExtensionVersionId
ExtensionVersionId

Unique identifier for extension version

>
{Integer}</ExtensionVersionId>
15
          <Version
Version

Version number for extension version (ex "1.0.0")

>
{String}</Version>
16
          <Description
Description

Description of what changes has been done in extension version

>
{String}</Description>
17
          <ReleasedAt
ReleasedAt

Release date and time of given extension version

>
{Datetime}</ReleasedAt>
18
          <ExtensionVersionLink
ExtensionVersionLink

Extension version reference

>
{String}</ExtensionVersionLink>
19
          <PublisherId
PublisherId

Publisher identifier

>
{Integer}</PublisherId>
20
          <Name
Name

Publisher name

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

Publisher description

>
{String}</Description>
22
          <LogoUrl
LogoUrl

Url to publisher logo

>
{String}</LogoUrl>
23
          <Email
Email

Email to the publisher

>
{String}</Email>
24
          <Prefix
Prefix

Unique prefix used for extension objects created by the publisher, e.g. custom fields.

>
{String}</Prefix>
25
          <PublisherLink
PublisherLink

Publisher reference

>
{String}</PublisherLink>
26
     </MainImage>
27
     <Repository>
28
          <Scope
Scope

Scope of the object. GLOBAL objects is available in all RamBase systems. LOCAL objects is only available in current RamBase system.

Possible domain values can be found here

>
{String}</Scope>
29
          <IsChanged
IsChanged

Tells whether this object has been changed locally and are ready to be committed to the Repository

>
{Boolean}</IsChanged>
30
          <ChangedBy
ChangedBy

EmployeeId of the employee making the change

>
31
               <UserId
UserId

User identifier

>
{Integer}</UserId>
32
               <Name
Name

Name of the user

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

First name of the user

>
{String}</FirstName>
34
               <UserLink
UserLink

User reference

>
{String}</UserLink>
35
          </ChangedBy>
36
          <IsPendingDeployment
IsPendingDeployment

Tells whether this object has been changed locally and is ready to be deployed from the Repository

>
{Boolean}</IsPendingDeployment>
37
     </Repository>
38
</Extension>
1
{
2
     "extension": {
3
          "extensionId
ExtensionId

Extension identifier

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

Extension status

Possible domain values can be found here

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

Extension name

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

Extension description

":
"{String}",
7
          "termsAndConditions
TermsAndConditions

Terms and condition for using the extension

":
"{String}",
8
          "isActivated
IsActivated

True if extension is activated for current company

":
"{Boolean}",
9
          "activatedAt
ActivatedAt

Date of activation for extension

":
"{Datetime}",
10
          "mainImage": {
11
               "mediumId
MediumId

Identifier of media

":
"{Integer}",
12
               "url
Url

Url to media

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

Description of media. Typically used in html img alt-attribute.

":
"{String}",
14
               "mediumLink
MediumLink

Reference to document

":
"{String}",
15
               "extensionVersionId
ExtensionVersionId

Unique identifier for extension version

":
"{Integer}",
16
               "version
Version

Version number for extension version (ex "1.0.0")

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

Description of what changes has been done in extension version

":
"{String}",
18
               "releasedAt
ReleasedAt

Release date and time of given extension version

":
"{Datetime}",
19
               "extensionVersionLink
ExtensionVersionLink

Extension version reference

":
"{String}",
20
               "publisherId
PublisherId

Publisher identifier

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

Publisher name

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

Publisher description

":
"{String}",
23
               "logoUrl
LogoUrl

Url to publisher logo

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

Email to the publisher

":
"{String}",
25
               "prefix
Prefix

Unique prefix used for extension objects created by the publisher, e.g. custom fields.

":
"{String}",
26
               "publisherLink
PublisherLink

Publisher reference

":
"{String}"
27
          },
28
          "repository": {
29
               "scope
Scope

Scope of the object. GLOBAL objects is available in all RamBase systems. LOCAL objects is only available in current RamBase system.

Possible domain values can be found here

":
"{String}",
30
               "isChanged
IsChanged

Tells whether this object has been changed locally and are ready to be committed to the Repository

":
"{Boolean}",
31
               "changedBy
ChangedBy

EmployeeId of the employee making the change

":
{
32
                    "userId
UserId

User identifier

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

Name of the user

":
"{String}",
34
                    "firstName
FirstName

First name of the user

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

User reference

":
"{String}"
36
               },
37
               "isPendingDeployment
IsPendingDeployment

Tells whether this object has been changed locally and is ready to be deployed from the Repository

":
"{Boolean}"
38
          }
39
     }
40
}

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:

Error 104746 HTTP 404 Publisher not found