API

Collaboration APIs

POST collaboration/file-folders

Creates a new file folder

HTTP method POST
URI https://api.rambase.net/collaboration/file-folders
Supported formats Xml, Html, Json (ex. $format=json)
Successful HTTP status code 201
API resource identifier 3990, version 5

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

Verbose folder text in english.

This field is optional.

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

Required/mandatory field

The type of folder. Folder types differs in system owned which are read only, and work folders. Work folders are the type of open folders for temporary storing files in.

>
4
          <FileFolderTypeId
FileFolderTypeId

Required/mandatory field

Unique identificator for a folder type

Minimum value: 100000

>
{Integer}</FileFolderTypeId>
5
     </FileFolderType>
6
     <ParentFileFolder
ParentFileFolder

This field is optional.

>
7
          <FileFolderId
FileFolderId

File folders can be nested. The parent folderid is used to place the current folder in relation to its parent.

Minimum value: 100000

This field is optional.

>
{Integer}</FileFolderId>
8
     </ParentFileFolder>
9
     <Owner>
10
          <ObjectType
ObjectType

Required/mandatory field

Type of object

>
{String}</ObjectType>
11
          <ObjectId
ObjectId

Required/mandatory field

Identifier of the object

Minimum value: 1

>
{Integer}</ObjectId>
12
          <ItemId
ItemId

Item-number of the object

Minimum value: 1

This field is optional.

>
{Integer}</ItemId>
13
     </Owner>
14
</FileFolder>
1
{
2
     "fileFolder": {
3
          "name
Name

Verbose folder text in english.

This field is optional.

":
"{String}",
4
          "fileFolderType
FileFolderType

Required/mandatory field

The type of folder. Folder types differs in system owned which are read only, and work folders. Work folders are the type of open folders for temporary storing files in.

":
{
5
               "fileFolderTypeId
FileFolderTypeId

Required/mandatory field

Unique identificator for a folder type

Minimum value: 100000

":
"{Integer}"
6
          },
7
          "parentFileFolder
ParentFileFolder

This field is optional.

":
{
8
               "fileFolderId
FileFolderId

File folders can be nested. The parent folderid is used to place the current folder in relation to its parent.

Minimum value: 100000

This field is optional.

":
"{Integer}"
9
          },
10
          "owner": {
11
               "objectType
ObjectType

Required/mandatory field

Type of object

":
"{String}",
12
               "objectId
ObjectId

Required/mandatory field

Identifier of the object

Minimum value: 1

":
"{Integer}",
13
               "itemId
ItemId

Item-number of the object

Minimum value: 1

This field is optional.

":
"{Integer}"
14
          }
15
     }
16
}

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
<FileFolder>
2
     <FileFolderId
FileFolderId

File folder id for a spesific file container or forlder.

>
{Integer}</FileFolderId>
3
     <Name
Name

Verbose folder text in english.

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

The current status of this folder . Statuses can be: Edit, protected or obsolete

Possible domain values can be found here

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

Date and time when the folder was created

>
6
          <FileFolderTypeId
FileFolderTypeId

Unique identificator for a folder type

>
{Integer}</FileFolderTypeId>
7
          <IsReadOnly
IsReadOnly

The type of folder. Folder types differs in system owned which are read only, and work folders. Work folders are the type of open folders for temporary storing files in.

>
{Boolean}</IsReadOnly>
8
          <FileFolderTypeLink
FileFolderTypeLink

Unique identificator for a folder type

>
{String}</FileFolderTypeLink>
9
     </CreatedAt>
10
     <ParentFileFolder>
11
          <FileFolderId
FileFolderId

File folders can be nested. The parent folderid is used to place the current folder in relation to its parent.

>
{Integer}</FileFolderId>
12
          <FileFolderLink
FileFolderLink

File folder id for a spesific file container or forlder.

>
{String}</FileFolderLink>
13
     </ParentFileFolder>
14
     <Owner>
15
          <ObjectType
ObjectType

Type of object

>
{String}</ObjectType>
16
          <ObjectId
ObjectId

Identifier of the object

>
{Integer}</ObjectId>
17
          <ItemType
ItemType

Type of item

>
{String}</ItemType>
18
          <ItemId
ItemId

Item-number of the object

>
{Integer}</ItemId>
19
          <ObjectLink
ObjectLink

API reference to the object

>
{String}</ObjectLink>
20
          <ItemLink
ItemLink

API reference to the item

>
{String}</ItemLink>
21
     </Owner>
22
     <FileFolderLink
FileFolderLink

File folder id for a spesific file container or forlder.

>
{String}</FileFolderLink>
23
</FileFolder>
1
{
2
     "fileFolder": {
3
          "fileFolderId
FileFolderId

File folder id for a spesific file container or forlder.

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

Verbose folder text in english.

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

The current status of this folder . Statuses can be: Edit, protected or obsolete

Possible domain values can be found here

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

Date and time when the folder was created

":
{
7
               "fileFolderTypeId
FileFolderTypeId

Unique identificator for a folder type

":
"{Integer}",
8
               "isReadOnly
IsReadOnly

The type of folder. Folder types differs in system owned which are read only, and work folders. Work folders are the type of open folders for temporary storing files in.

":
"{Boolean}",
9
               "fileFolderTypeLink
FileFolderTypeLink

Unique identificator for a folder type

":
"{String}"
10
          },
11
          "parentFileFolder": {
12
               "fileFolderId
FileFolderId

File folders can be nested. The parent folderid is used to place the current folder in relation to its parent.

":
"{Integer}",
13
               "fileFolderLink
FileFolderLink

File folder id for a spesific file container or forlder.

":
"{String}"
14
          },
15
          "owner": {
16
               "objectType
ObjectType

Type of object

":
"{String}",
17
               "objectId
ObjectId

Identifier of the object

":
"{Integer}",
18
               "itemType
ItemType

Type of item

":
"{String}",
19
               "itemId
ItemId

Item-number of the object

":
"{Integer}",
20
               "objectLink
ObjectLink

API reference to the object

":
"{String}",
21
               "itemLink
ItemLink

API reference to the item

":
"{String}"
22
          },
23
          "fileFolderLink
FileFolderLink

File folder id for a spesific file container or forlder.

":
"{String}"
24
     }
25
}

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 104980 HTTP 404 File folder not found