I am writing an automation script to automate the PLC engineering workflow. Using the below projectJobOpen REST API. I am not able to open an existing project. Does anyone has any idea ? how to resolve this issue or which specific API is used to open an existing PROJECT
Issue with projectJobOpen REST API
Best reply by Sgilk
curl -X 'POST' \
'http://localhost:9002/plc/engineering/api/v2/jobs' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-d '{
"jobType": "ProjectJob",
"jobParameters": {
"action": "Open",
"path": "C:\\CtrlX App Dev\\PLC\\3_6_3_Demo.project",
"keepProjectVersion": false,
"projectEnvironment": "SetAllToNewest"
}
}'What is the issue you are seeing? This opens the project correctly for me.
2 replies