Hello,
I need to transfert automatically a system stored in LnF to a different Group through the API.
My first try was the system.move names autoSort command but it just returned OK: True without moving the appropriate system to the group I specified.
The exact command was:
curl -k -u ga:ga "https://epo_server:8443/remote/system.move?names=system1?parentGroupId=5?autoSort"
I verified the name of the system with a system.find and the Id of the group with system.findGroups.
I clearly see the system in LnF, can move it (drag and drop) on the HMI but nothing happens when I try through the API.
My version of the ePo is 5.10.0.
Thanks per advance for any help or clarification!
Solved! Go to Solution.
Some of the other advanced team members were testing this. Here is what worked. You would need to find the right group ID.
Was my reply helpful?
If this information was helpful in any way or answered your question, will you please select Accept as Solution in my reply and together we can help other members?
To clarify, the command in the original post is correct but has the wrong syntax
Sorting would need to be enabled on the system and sorting criteria met. If you do a test sort in the system tree, will it sort properly?
Was my reply helpful?
If this information was helpful in any way or answered your question, will you please select Accept as Solution in my reply and together we can help other members?
I don't know if you can use a python script or not, I am not versed on the api commands. You can run the help command to get a list of available commands - refer to the web api scripting guide.
Was my reply helpful?
If this information was helpful in any way or answered your question, will you please select Accept as Solution in my reply and together we can help other members?
Some of the other advanced team members were testing this. Here is what worked. You would need to find the right group ID.
Was my reply helpful?
If this information was helpful in any way or answered your question, will you please select Accept as Solution in my reply and together we can help other members?
To clarify, the command in the original post is correct but has the wrong syntax
Corporate Headquarters
6220 America Center Drive
San Jose, CA 95002 USA