Creating an Attachment for a Revisable Regulatory Submission
This example shows you how to create an attachment for a revisable regulatory submission. Use the following POST URI with the request body.
URI
POST /Windchill/servlet/odata/RegMstr/RegSubmission2('OR:com.ptc.qualitymanagement.regmstr.RegSubmission2:256705')/Attachments
Request Headers
Content-Type: application/json
CSRF_NONCE: <Use the value from Fetch NONCE example>
Request Body
{
"Description": "",
"Comments": "",
"@odata.type": ""
}