Updating an Attachment for a Non-revisable Regulatory Submission
This example shows how to update an attachment for a non-revisable regulatory submission. Use the following PATCH URI with the request body.
|
You can update only the Description and Comments attributes of the specified attachment.
|
URI
PATCH /Windchill/servlet/odata/RegMstr/RegulatorySubmissions('OR:com.ptc.qualitymanagement.regmstr.RegulatorySubmission:237897')/Attachments('<ContentItemId>')
Request Headers
Content-Type: application/json
CSRF_NONCE: <Use the value from Fetch NONCE example>
Request Body
{
"Description": "Updated",
"Comments": "Updated"
}