Windchill REST Services > Windchill REST Services Domain Capabilities > Examples for Basic REST Operations > Examples for the PTC Regulatory Master Domain > Examples for the Revisable Regulatory Submission > Updating an Attachment for a Revisable Regulatory Submission
  
Updating an Attachment for a Revisable Regulatory Submission
This example shows how to update an attachment for a 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/RegSubmission2('OR:com.ptc.qualitymanagement.regmstr.RegSubmission2:256705')/Attachments('OR:wt.content.ApplicationData:299742')
Request Headers
Content-Type: application/json
CSRF_NONCE: <Use the value from Fetch NONCE example>
Request Body
{
"Description": "Updated",
"Comments": "Updated"
}