Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
I have set up the code this way with the aim of successfully uploading a document to Windchill using Postman, which works fine. However, when I convert this to C# code, I don't get any errors, but in stage2, the contentInfos is coming up empty. The same data in Postman is coming through filled. I suspect the issue is in the file upload part, but I can't think of a solution. Even though I have downloaded the incoming file to a folder and provided the file path, contentInfos is still empty. Because of this, I am unable to upload the WTDocument through the code. Can you help me with this?
Solved! Go to Solution.