SimplifiedLogic / creoson

OpenSource Automation using JSON Transactions for PTC's CREO Parametric
http://www.creoson.com
MIT License
79 stars 23 forks source link

Windchill List Workspace Files Error #102

Open thackb opened 8 months ago

thackb commented 8 months ago

Hi Hope someone can help.

I'm having problems listing the windchill workspace files.

I create and send the following JSON request :-

{"sessionId":"-2590201543981699761","command":"windchill","function":"list_workspace_files","data":{"filename":"a*"}}

All that I get back is {"status":{"error":true,"message":"No 'workspace' parameter given"},"data":null}

Thanks In Advance..

adama2000 commented 8 months ago

Sorry for the late response. That command requires a "workspace" option which contains the name of your workspace.

{"sessionId":"-2590201543981699761","command":"windchill","function":"list_workspace_files","data":{"filename":"a*", "workspace":"my_workspace"}}

thackb commented 7 months ago

Thanks works perfectly 👍 :)