/
[GET] /links

[GET] /links

/api/dms/objects/{objectId}/native/links

Description

Returns all links of the object to other DMS objects.

Request
Method

GET

Request optional
Query Parameter

  • objectTypeId (Integer): For performance reasons the objectTypeId of the object can be provided.

  • garbageMode (Boolean): Hand it over with true to fetch links for a DMS object which is in the recycle bin.

Response
Format

JSON

Minimum Version

6.4.0

Request
Example

/api/dms/objects/11882/native/links
/api/dms/objects/11882/native/links?objectTypeId=262208&garbageMode=true

Result
Example

{ "objects": [{ "properties": { "system:objectId": { "value": "97226" }, "system:baseTypeId": { "value": "document" }, "system:objectTypeId": { "value": "65549", "localName": "CTBilder_DMS_API" }, "text": { "value": "my first link" } } }, { "properties": { "system:objectId": { "value": "97227" }, "system:baseTypeId": { "value": "document" }, "system:objectTypeId": { "value": "262284", "localName": "Dokument_DMS_API" }, "text": { "value": "my other link" } } } ], "numItems": 2, "hasMoreItems": false, "totalNumItems": 2 }

 

Related content