0

I am trying to create automation using postman. this automation contains ssjs activity, so I added this piece in the SOAP request body, but I'm wondering what is the name ActivityObject type I have to specify to make it really work?

                         <Activities>
                            <Activity>
                                <ObjectID>{{ssjsActivityId}}</ObjectID>
                                <ActivityObject xsi:type="??????????">
                                    <ObjectID>{{ssjsActivityId}}</ObjectID>
                                    <CustomerKey>{{ssjsActivityName}}</CustomerKey>
                                    <Name>{{ssjsActivityName}}</Name>
                                </ActivityObject>
                            </Activity>
                        </Activities>
New contributor
Viktor Husiev is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
1
  • I suspect you'll have a lot of "fun" trying to interact with Automations using SOAP. The documentation's poor and quite a lot of stuff's broken. Consider flipping to REST. It's not documented at all, but is pretty intuitive and where it isn't, you can just go to Automation Studio to look at how the internal routes are used that mirror the public API routes. Start by looking at the discovery document at {{restEndpoint}}automation/v1/rest. – Macca Feb 21 at 21:47

Your Answer

Viktor Husiev is a new contributor. Be nice, and check out our Code of Conduct.

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.