Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X
Per the post, do you know if its possible to retrieve the thumbnail image via the Odata REST API? Thank you in advance!
Solved! Go to Solution.
Yes its possible
http://server.ch/Windchill/servlet/odata/v5/ProdMgmt/Parts('OR%3Awt.part.WTPart%3A134051')/Representations?$count=false
The result will contains the 2d image information with the download link:
"TwoDThumbnailURL": {
"URL": "http://server.ch/Windchill/servlet/WindchillAuthGW/wt.fv.master.RedirectDownload/redirectDownload/1190782_prt.jpg?u8&redirect=true&ContentHolder=wt.viewmarkup.DerivedImage%3A136870&HttpOperationItem=wt.content.ApplicationData%3A136897&forceDownload=true",
"Label": "1190782_prt.jpg",
"FileSize": 4593,
"MimeType": "image/jpeg",
"Format": "JPEG Image",
"ID": "OR:wt.content.ApplicationData:136897",
"FileName": "1190782_prt.jpg",
"LastModified": "2022-05-10T21:15:57+02:00",
"CreatedOn": "2022-05-10T21:15:57+02:00",
"Description": null,
"Comments": null
}
Yes its possible
http://server.ch/Windchill/servlet/odata/v5/ProdMgmt/Parts('OR%3Awt.part.WTPart%3A134051')/Representations?$count=false
The result will contains the 2d image information with the download link:
"TwoDThumbnailURL": {
"URL": "http://server.ch/Windchill/servlet/WindchillAuthGW/wt.fv.master.RedirectDownload/redirectDownload/1190782_prt.jpg?u8&redirect=true&ContentHolder=wt.viewmarkup.DerivedImage%3A136870&HttpOperationItem=wt.content.ApplicationData%3A136897&forceDownload=true",
"Label": "1190782_prt.jpg",
"FileSize": 4593,
"MimeType": "image/jpeg",
"Format": "JPEG Image",
"ID": "OR:wt.content.ApplicationData:136897",
"FileName": "1190782_prt.jpg",
"LastModified": "2022-05-10T21:15:57+02:00",
"CreatedOn": "2022-05-10T21:15:57+02:00",
"Description": null,
"Comments": null
}
