Updating Multiple Documents
This example shows you how to update multiple documents. Use the following POST URI with the request body.
URI
POST /Windchill/servlet/odata/DocMgmt/UpdateDocuments HTTP/1.1
Request Headers
Content-Type: application/json
CSRF_NONCE: <Use the value from Fetch NONCE example>
Request Body
{
"Documents": [
{ "ID":"OR:wt.doc.WTDocument:2276131", "Description":"Updated description1", "Title":"Updated title1" }
,
{ "ID":"OR:wt.doc.WTDocument:2276126", "Title":"Updated title2" }
]
}