Objective

It allows to retrieve the creation date of a document. 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
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:
    • “/GetDocumentCreationDate/?library={library}&user={user}&password={password}&dbSchema={dbSchema}&docNumber={docNumber}&client={client}&project={project}”
    • “/GetDocumentCreationDateDST/?library={library}&user={user}&dst={dst}&dbSchema={dbSchema}&docNumber={docNumber}&client={client}&project={project}”

Example

http://localhost:8732/GSService/xml/GetDocumentCreationDate/?library=DMTESTLEGAL&user=admin&password=owc123&dbSchema=DOCSADM&docNumber=754

The method returns a string with the date in the following format: dd/mm/yyyy.  If the document can be found, the method returns “nil=true”.

DST Example

http://localhost:8732/GSService/xml/GetDocumentCreationDateDST/?form=LAWPROF/ library=DMTESTLEGAL&user=admin&dst=afd448a5d0f9b...55355b8c677ad16&dbSchema=DOCSADM&docNumber=754

Error

It returns the application name or an error. Check the event.log file if you find errors.