Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Page Properties
hiddentrue
idrLANG

Product Version2022 Spring
Report Note
AssigneeCW

Resources & Remarks

Modification History

NameDateProduct VersionAction
Wachsmuth Christoph13 DEC 20212022 SpringPage created.
Antje17 DEC 20212022 Springdocumentation review
Agnieszka20 DEC 20212022 SpringrLANG



As of Version

product version 2022 Spring | component version 

Request MethodGET
Response FormatJSON
Description


Excerpt

Retrieves the object types that are available for all available actions on DMS objects for the currently logged-in user. Available actions are CREATE, WRITE, READ and DELETE (see role set documentation).


With this information, client applications can present the correct a selection list of object types on the UI that are available relevant for the individual userslogged-in user. Thus, the users will see only those object types that are relevant available to them. Those selection lists may differ for the different actions CREATE, READ, WRITE, or DELETE.

The response body is a JSON structure listing all object types for the corresponding action as shown in the example below.

The composition of the object type IDs including the usage of prefixes is described in the schema documentation article.

Response HTTP status codes:

HTTP Status CodeMeaning
200OK
401Unauthorized

Internally, the endpoint calls the search service's endpoint GET /search/api/search/dsl/check.

Request Example

https://<host>/api-web/api/dms/permissions

no request body

Response Example

200 OK

Code Block
languageyml
{
  "CREATE": {
    "folderTypeIds": [
      "appPersonalfile:pfpersonalfile"
    ],
    "secondaryObjectTypeIds": [
      "system:secondary",
      "emailsot",
      "appClientsystem:leadingType",
      "tenKolibri:qadocdossiersot"
    ],
    "objectTypeIds": [
      "email",
      "appClient:minidoc",
      "appPersonalfile:pfdocument",
      "tenKolibri:preobject"
    ]
  },
  "READ": {
    "folderTypeIds": [
      "appPersonalfile:pfpersonalfile",
      "appPhotoarchive:paphotoalbum"
    ],
    "secondaryObjectTypeIds": [
      "system:secondary",
      "system:rmDestructionRetention",
      "emailsot",
      "emailextension",
      "appClientsystem:leadingType",
      "tenKolibri:qadocdossiersot",
      "tenKolibri:qadoccatalogssot",
      "tenKolibri:qadoccontentrequiredsot",
      "tenKolibri:qadocscriptssot"
    ],
    "objectTypeIds": [
      "doctableofnotices",
      "email",
      "preemail",
      "appClient:minidoc",
      "appPersonalfile:pfidphoto",
      "appPersonalfile:pfdocument",
      "appPersonalfile:pfsicknote",
      "appPersonalfile:pfvacancy",
      "appPersonalfile:pfdocumentdlm",
      "tenKolibri:qadoccatalogs",
      "tenKolibri:qadocscripts",
      "tenKolibri:qadocscriptsmulti",
      "tenKolibri:preobject"
    ]
  },
  "WRITE": {
    "folderTypeIds": [
      "appPersonalfile:pfpersonalfile"
    ],
    "secondaryObjectTypeIds": [
      "system:secondary",
      "emailsot",
      "appClientsystem:leadingType",
      "tenKolibri:qadocdossiersot"
    ],
    "objectTypeIds": [
      "doctableofnotices",
      "email",
      "appClient:minidoc",
      "appPersonalfile:pfdocument",
      "tenKolibri:preobject"
    ]
  },
  "DELETE": {
    "folderTypeIds": [
      "tenKolibri:qadossier"
    ],
    "secondaryObjectTypeIds": [
      "tenKolibri:qadocscriptssot"
    ],
    "objectTypeIds": [
      "doctableofnotices",
      "tenKolibri:preobject"
    ]
  }
}


...