SOAP API GetFolderMonitors and SetFolderMonitors
I need an example of how to perform GetFolderMonitors and SetFolderMonitors in powershell. I need to create over 200 folder monitor rules, and do not want to do it manually. I want to create a bulk XML to create PUT into cerberus. The Documentation in the support section does not clearly illustrate this. I used the HelloCerberus.ps1 file to test the connection. I am able to connect, but just need help with the get and set.
I want to get the existing rules in xml format so I can edit it and put them back using soap api in powershell or postman, whichever is easier to do.
-
Hello Ariel,
I unfortunately do not have examples to share of those functions as these are advanced operations and their use is discouraged.
They are difficult to use correctly, as they exchange blocks of XML, rather than well-defined objects. Sending malformed XML to these APIs may result in loss of data and services.
You may be able to derive what you need from our power shell documentation: https://support.cerberusftp.com/hc/en-us/sections/360001417940-Cerberus-SOAP-API-with-PowerShell
0 -
Is there a way to do this using POSTMAN
0 -
Hello Ariel,
I do know we've had users in the past use POSTMAN, but I can't say I know the levels of success they have had. We haven't done much internal testing around it, but from the history we've had working with it, it does look like it can work.
0
Please sign in to leave a comment.
Comments
3 comments