Documenta DMS Documenta DMS Documenta Web services Approvals Barcutean Adrian 1 Autor INFRASOFT SRL Data creare Iulie 2014 Data ultimului review Iunie 2014 Document Ref DMS.SUP.01 Versiune 1.0 Descriere Documentul contine descrierea procedurii de suport tehnic si management al incidentelor. Audienta Prezentul document este destinat utiliatorilor sistemului Documenta DMS Documenta Web services
23
Embed
resurse.documenta-dms.com€¦ · Web viewCheck token validity6. Link for inline file download, using File ID6. Link for file inline download, base on file server path8 . Get File
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Documenta DMS
Documenta DMS
Documenta Web services
Approvals
Barcutean Adrian
1
AutorINFRASOFT SRL
Data creareIulie 2014
Data ultimului reviewIunie 2014
Document RefDMS.SUP.01
Versiune1.0
Descriere
Documentul contine descrierea procedurii de suport tehnic si management al incidentelor.
Audienta
Prezentul document este destinat utiliatorilor sistemului Documenta DMS
Link for inline file download, using File ID...................................................................................................6
Link for file inline download, base on file server path.................................................................................8
Get File List from Folder ID..........................................................................................................................8
Get File list from Folder Path.......................................................................................................................9
Get Root Dir (folder) ID for current user......................................................................................................9
Get folder name..........................................................................................................................................9
Get ID Director by path................................................................................................................................9
Get subfolders...........................................................................................................................................10
Get All Document Templates.....................................................................................................................10
Generate from template...........................................................................................................................10
Get Ms WORD Document Templates........................................................................................................10
Get Ms EXCEL Document Templates.........................................................................................................11
Get Document Category by File ID............................................................................................................11
Get file metadata and values for metadata – only Label and Value..........................................................11
Get users list..............................................................................................................................................11
Get file download link................................................................................................................................11
Get Metadata for a Category ID................................................................................................................13
Get File Metadata and Values – full metadata description plus value.......................................................13
Get File General Properties.......................................................................................................................13
Get File Security.........................................................................................................................................13
Set File Metadata Values...........................................................................................................................14
Set Document Category.............................................................................................................................14
List all document types..............................................................................................................................15
Get LOV available values...........................................................................................................................15
Get all lovs.................................................................................................................................................15
Get PDF Preview for file.............................................................................................................................15
Get Flows List............................................................................................................................................15
Get All Workflows for one Documenta unit..............................................................................................16
Get Compliant Workflows for FileId..........................................................................................................16
Get Worflow Details..................................................................................................................................16
Send File on Flow.......................................................................................................................................16
Act on File on FLow....................................................................................................................................16
Get Flow Steps...........................................................................................................................................16
Get all user flows.......................................................................................................................................17
Filename by formula..................................................................................................................................17
Create new folder......................................................................................................................................17
Get flows for category...............................................................................................................................17
Get flows for categoryID............................................................................................................................17
Check in force............................................................................................................................................18
Add document category with idFolder......................................................................................................18
List all master attributes............................................................................................................................18
Add attribute from master attributes........................................................................................................18
Add new master attribute.........................................................................................................................19
Get file output format...............................................................................................................................19
Get document output format....................................................................................................................19
Get user’s registry list................................................................................................................................19
Get registry list for document type...........................................................................................................20
Get all registry for file ID............................................................................................................................20
3
Documenta DMS
Notes !
1. Http headers are important – to be used as described in current document;2. Respect also Mime-type;
Obtain TOKEN at login.
Token is valid for one hour.
After one hour / when token became invalid – you need to re-login for a new token.
For testing - use WizTools REST Client: http://code.fosshub.com/WizToolsorg-RESTClient/downloads
Add document category with idFolderhttp://<URL>/api/v1/attribute/{token}/add_document/{idTip}/{code}/{name}/{position}/{idFolder}/
List all master attributeshttp://<URL>/api/v1/attribute/{token}/get_all_master_attributes/
Add attribute from master attributeshttp://<URL>/api/v1/attribute/{token}/add_attribute_from_master/{p_id_document_to}/{p_id_master_atribute}/
Add new master attributehttp://<URL>/api/v1/attribute/{token}/add_new_master_attribute/{p_name}/{p_description}/{p_date_type}/{p_length}/{p_precision}/{p_mandatory}/{p_default_value}/{p_selection_type}/{p_lov_id}/{p_position}/{p_formula_calcul}/{p_read_only}/{p_hidden}/{p_multiple_selection}/
18
Documenta DMS
All parameters with no value will be replaced with “+”