SimplifiedLogic / creoson

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

Windchill List Workspace Files Error #102

Closed thackb closed 2 weeks ago

thackb commented 11 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 11 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 10 months ago

Thanks works perfectly 👍 :)