Create Documents by Parent Folder ID

POST /ws/rest/service/v1/dm/document/create/<parent_folder_id>

Purpose

Input

Path Parameter

This a multipart request and All parameters should be BEFORE all file parts and should follow the below order.

Example:

To create a document "ProjectDetails.doc" under "/Project Documents/Service docs" then data should as below

[

{"fileName":"ProjectDetails.doc","docTitle":"project details","revNo":"1","issueDate":"06/01/2016", additional document attribute form properties, excluding creation date and owner }

]

Example Multipart Form Request:

Note: The form data body boundary in the example below is "—file upload—", but can be anything (or left unset).

-----file upload---

Content-Disposition: form-data; name="shortname"

unifier

-----file upload---

Content-Disposition: form-data; name="authcode"

MTIzMTIz

-----file upload---

Content-Disposition: form-data; name="dorevise" yes

-----file upload---

Content-Disposition: form-data; name="data"

[

{"Name":"ProjectDetails.doc","Owner":"Company Administrator","Creation Date":"01/01/2016","% Complete":"100","Description":"Fold 1" }

]

-----file upload---

Content-Disposition: form-data; name="0"; filename="b.txt" Content-Type: text/plain

test document contents

-----file upload-----

Output

Json object containing 'status', 'data', 'message'

Related Topics

Document Services

Create Documents by Path

Update Documents Meta Data by Path

Update Document Meta Data by Document ID

Get Documents by Path

Get Documents by Parent Folder ID

Get Document as Tiff File

Get Document by File ID



Legal Notices | Your Privacy Rights
Copyright © 1998, 2022

Last Published Tuesday, February 8, 2022