[GET] /locations
/api/dms/objects/{objectId}/native/locations
Description | To retrieve all locations where the requested object is present. The first level of the result is everytime The endpoint return only minimal data and no index data mask field data. Only the system:objectId, system:objectTypeId |
---|---|
Request | GET |
Request optional | objectTypeId (Integer): For performance reasons the objectTypeId of the object can be provided. |
Response | JSON |
Minimum Version | 4.0.1 |
Request | /api/dms/objects/11882/native/locations |
Result | {
"objects": [{
"properties": {
"system:objectId": {
"value": "11816"
},
"system:baseTypeId": {
"value": "folder"
},
"system:objectTypeId": {
"value": "26"
}
},
"children": [{
"properties": {
"system:objectId": {
"value": "57557"
},
"system:baseTypeId": {
"value": "register"
},
"system:objectTypeId": {
"value": "6488100"
}
},
"children": [{
"properties": {
"system:objectId": {
"value": "11882"
},
"system:baseTypeId": {
"value": "document"
},
"system:objectTypeId": {
"value": "262208"
}
}
}]
},{
"properties": {
"system:objectId": {
"value": "47869"
},
"system:baseTypeId": {
"value": "register"
},
"system:objectTypeId": {
"value": "6488100"
}
},
"children": [{
"properties": {
"system:objectId": {
"value": "11882"
},
"system:baseTypeId": {
"value": "document"
},
"system:objectTypeId": {
"value": "262208"
}
}
}]
}]
}
],
"numItems": 5,
"hasMoreItems": false,
"totalNumItems": 5
} |