Creating Multiple Documents
This example shows you how to create multiple documents. Use the following POST URI with the request body.
URI
POST /Windchill/servlet/odata/DocMgmt/CreateDocuments HTTP/1.1
Request Headers
Content-Type: application/json
CSRF_NONCE: <Use the value from Fetch NONCE example>
Request Body
{
"Documents": [
{ "Name": "test doc1", "Context@odata.bind": "Containers('OR:wt.pdmlink.PDMLinkProduct:302725')" }
,
{ "Name": "test doc2", "Context@odata.bind": "Containers('OR:wt.pdmlink.PDMLinkProduct:302725')" }
]
}