Objective
It allows to retrieve a XML file with information about all parent references. Through this method it is possible to discover where specific content is placed in DM. As in ParentChildFolderRelationRemove method, the version and subversion fields are not mandatory unless “specific” versions or subversions need to be located. DST must be provided.
Parameters
Parameter | Description | Type |
library | eDOCS library | String |
user | User name | String |
password | User password | String |
dbSchema | Database schema. By default is set to “DOCSADM” if an empty string is passed. | String |
childFolder | Document number of the child document or folder to be located. | String |
version | Version number of the document. (1, 2, 3 …). | Long |
subVersion | Subversion letter (A, B, C, …). No letter will be used by default. | String |
client | Optional parameter for the client code | String |
project | Optional parameter for the project code | String |
Rest Invoke
- http://localhost:port/GSService/xml/ or http://localhost:port/GSService/json/
- UriTemplate:
- “/WhereContentIsUsed/?library={library}&user={user}&password={password}&dbSchema={dbSchema}&childFolder={childFolder}&version={version}&subVersion={subVersion}&client={client}&project={project}”
- “/WhereContentIsUsedDST/?library={library}&user={user}&dst={dst}&dbSchema={dbSchema}&childFolder={childFolder}&version={version}&subVersion={subVersion}&client={client}&project={project}”
Example
http://localhost:8732/GSService/xml/WhereContentIsUsed/?library=DMTESTLEGAL&user=admin&password=owc123&dbSchema=DOCSADM&childFolder=418&version
The method returns an XML with information about all parents found for the specified content.
DST Example
http://localhost:8732/GSService/xml/WhereContentIsUsedDST/?library=DMTESTLEGAL&user=admin&dst=afd448a5d0f9b...55355b8c677ad16&dbSchema=DOCSADM&childFolder=418&version