Objective
This method returns the document type for the system_id passed as parameter. DST must be provided.
Parameters
Parameter | Description | Type |
library | eDOCS library | String |
user | User name | String |
password | User password | String |
system_id | The system_id of Document Type. | 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:
- “/GetDocumentTypeName/?library={library}&user={user}&password={password}&system_id={system_id}&client={client}&project={project}”
- “/GetDocumentTypeNameDST/?library={library}&user={user}&dst={dst}&system_id={system_id}&client={client}&project={project}”
Example
http://localhost:8732/GSService/xml/GetDocumentTypeName/?library=DMTESTLEGAL&user=admin&password=owc123&system_id=947
DST Example
http://localhost:8732/GSService/xml/GetDocumentTypeNameDST/?form=LAWPROF/ library=DMTESTLEGAL&user=admin&dst=afd448a5d0f9b...55355b8c677ad16&system_id=947
Error
It returns the document type name or an error. Check the event.log file if you find errors.