Retrieving Attachments for a Part
To retrieve attachments for a part, you must set the Part Management > Attachments on parts preference to Yes in the Preference Management utility in Windchill.
* 
You must use PTC.ApplicationData/<attribute> in the request URI when you use $select or $filter on the Content, FileName, FileSize, Format, or MimeType attributes.
The following example shows how to retrieve attachments for a part. Use the following GET URI:
URI
GET /Windchill/servlet/odata/ProdMgmt/Parts('OR:wt.part.WTPart:280403')/Attachments
To retrieve the format icon, tool tip, and content label for attachments, use the following GET URI with expand:
URI with Expand
GET /Windchill/servlet/odata/ProdMgmt/Parts('OR:wt.part.WTPart:280403')?$select=Identity&$expand=Attachments($select=FormatIcon,PTC.ApplicationData/Content;$orderby=FormatIcon/Tooltip)
Was this helpful?