Objective

It allows to return all applications that are configured to the library (enabled or disabled). DST must be provided.

Parameters

ParameterDescriptionType
libraryeDOCS libraryString
disabledIf “true” the method returns the “disabled” applications. If “false” the method returns the “enabled” applications.String
userUser nameString
passwordUser passwordString
dbSchemaDatabase schema. By default is set to “DOCSADM” if an empty string is passed.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:
    • “/AvailableApps/?library={library}&disabled={disabled}&user={user}&password={password}&dbSchema={dbSchema}&client={client}&project={project}”
    • “/AvailableAppsDST/?library={library}&disabled={disabled}&user={user}&dst={dst}&dbSchema={dbSchema}&client={client}&project={project}”

Example

http://localhost:8732/GSService/xml//AvailableApps/?library=DMTESTLEGAL&disabled=False&user=admin&password=owc123&dbSchema=DOCSADM

The method returns an XML file with the applications that are enabled or disabled.

DST Example

http://localhost:8732/GSService/xml/AvailableAppsDST/library=DMTESTLEGAL&disabled=False&user=admin&dst=afd448a5d0f9b...55355b8c677ad16&dbSchema=DOCSADM

Error

Detailed errors can be found in the error log. See Appendix D  for more information about the edocs.log file.