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

We are happy to announce the new Windchill Customization board! Learn more.

Windchill REST api 3 Stage document upload 'Curl' output example please for Excel & pdf please

ldutoit
5-Regular Member

Windchill REST api 3 Stage document upload 'Curl' output example please for Excel & pdf please

Hi,

 

I've been struggling for 2 weeks to figure this out. 
I've been able to sucesfully achieve this via Postman for simple .txt file following this document:
https://support.ptc.com/help/windchill_rest_services/r1.6/en/index.html#page/windchill_rest_services/WCCG_RESTAccessExamplesUploadContent.html

I'm however struggling alot with Excel(.xls,xltm & pdf). For example my files do get loaded into Windchill but if I try open them they are corrupt. It means Stage2 Upload was unsuccessful even though it the Response looks good:

ldutoit_0-1659348678238.png



Would it be possible for somebody to help me out with 3 stages of curl  example( out of Postman) showing how to exeucte upload of a Excel and a pdf document please?

Help in this regards would be much appreaciated thanks.

 

0 REPLIES 0
Top Tags