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!
Per the post, do you know if its possible to retrieve the thumbnail image via the Odata REST API? Thank you in advance!
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
}
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.