Objective

This method retrieves from a document all the published list with versions and/or subversions.

Parameters

ParameterDescriptionType
libraryeDOCS libraryString
userUser nameString
passwordUser passwordString
docNumberDocument number. Only one document number is allowed.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:
    • “/GetPublishedVersions/?library={library}&user={user}&password={password}&form={f orm}&docNumber={docNumber}&client={client}&project={project}”
    • “/GetPublishedVersionsDST/?library={library}&user={user}&dst ={dst}&form={form}&docNumber={docNumber}&client={client}&project={project}”

Example

http://localhost:8731/GSService/Xml/GetPublishedVersions/?library=DMTESTLEGAL16&user=admin&password=****&form=LAWPROF&docNumber=70

Return a value 0 for success actions or an exception in case of error.

DST Example

http://localhost:8731/GSService/Xml/GetPublishedVersionsDST/?library=DMTESTLEGAL16&user=admin&dst=afd448a5d0f9b89f7c9fe2761d9...aa00dde14a8c677ad16b7540fe6f75a41e&form=LAWPROF&docNumber=70

Error

Check the edocs.log file if errors arise in the unlock process.