Creating a Classified Document
This example shows you how to create a classified document by specifying the classification attributes in the request body. Use the following POST URI with the request body.
URI
POST /Windchill/servlet/odata/DocMgmt/Documents
Request Headers
Content-Type: application/json
CSRF_NONCE: <Use the value from Fetch NONCE example>
Request Body
{
"Name": "testdoc11",
"Description": "testdoc11",
"Title": "testdoc11",
"DocClassify": {
"ClfNodeInternalName": "THRUST",
"ClassificationAttributes": [
{
"InternalName": "XE35d",
"DisplayName": "XE35d",
"Value": "Cylindrical"
}
]
},
"Context@odata.bind": "Containers('OR:wt.pdmlink.PDMLinkProduct:107839')"
}
Was this helpful?