Skip to main content
1-Visitor
June 9, 2022
Solved

Re: Thumbnails generation problem !

Per the post, do you know if its possible to retrieve the thumbnail image via the Odata REST API? Thank you in advance!

17-Peridot
June 17, 2022

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
 }

 

2 replies

17-Peridot
June 17, 2022

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
 }

 

Translate
6-Contributor
July 31, 2026

Can you please explain more detail on this

Translate