I'm working with Salesforce Marketing Cloud's Server-Side JavaScript (SSJS) and utilizing the WSProxy object to perform various actions. I've encountered the performItem method, which takes four parameters:
var prox = new Script.Util.WSProxy();var action = "Start";var props = { Email: { ID: 7838 }};var opts = {};var data = prox.performItem("EmailContentCheck", props, action, opts);What is the purpose of the opts parameter in the performItem method?
What properties can be included within the opts object, and how do they influence the behavior of the performItem method?
How does the opts parameter in performItem differ from options like CreateOption and UpdateOption used in other WSProxy methods?
In advanced retrieve operations using WSProxy, such as the Retrieve method, what role do options like RetrieveOptions play, and how do they compare to the opts parameter in performItem?
Are there specific use cases or best practices for utilizing the opts parameter effectively, especially in relation to CreateOption, UpdateOption, and RetrieveOptions?