cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Re: Thumbnails generation problem !

WV_10110649
5-Regular Member

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!

1 ACCEPTED SOLUTION

Accepted Solutions
bmr
17-Peridot
17-Peridot
(To:WV_10110649)

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
      }

 

View solution in original post

1 REPLY 1
bmr
17-Peridot
17-Peridot
(To:WV_10110649)

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
      }

 

Announcements