[POST] /links
/api/dms/objects/{objectId}/native/links
Description | Within this endpoint new links can be created or existing links can be updated within their link text. Please note that this operation is not possible if the object or the object which should be linked is in the recycle bin. These objects can't be modified any longer. Text for Links Text to links can only be added if the links are stored in the database. There is also the option to store them in the filesystem but then it is not possible to send the "text" Property to DMS Microservice and enaio server. It will result in an error. |
---|---|
Request Method | POST |
Request Query Parameter |
|
Response Format | JSON |
Minimum Version | 6.4.0 |
Request | /api/dms/objects/4528/native/links?objectTypeId=262168 |
Request | {
"objects": [{
"properties": {
"system:objectId": {
"value": "1234567"
},
"system:objectTypeId": {
"value": "262245"
},
"text": {
"value": "Link Text"
}
}
},{
"properties": {
"system:objectId": {
"value": "5566444"
},
"system:objectTypeId": {
"value": "262248"
},
"text": {
"value": "Link Text second link"
}
}
}]
} |
Result | {
"objects": [{
"properties": {
"system:objectId": {
"value": "1234567"
},
"system:objectTypeId": {
"value": "262245"
},
"text": {
"value": "Link Text"
}
}
},{
"properties": {
"system:objectId": {
"value": "5566444"
},
"system:objectTypeId": {
"value": "262248"
},
"text": {
"value": "Link Text second link"
}
}
}]
} |