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

ParameterDescriptionType
libraryeDOCS libraryString
userUser nameString
passwordUser passwordString
dbSchemaDatabase schema. By default is set to “DOCSADM” if an empty string is passed.String
childFolderDocument number of the child document or folder to be located.String
versionVersion number of the document. (1, 2, 3 …).Long
subVersionSubversion letter (A, B, C, …). No letter will be used by default.String
clientOptional parameter for the client codeString
projectOptional parameter for the project codeString

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

Error