0

I am trying to retrieve automation object by following this guide

https://code.exacttarget.com/apis-sdks/soap-api/interacting-with-automation-studio-via-the-web-service-soap-api.html#Retrieve

I received an innerException in results. ErrorMessage: "No rows were found"

 // Create RetrieveRequest
            etAPI.RetrieveRequest rr = new etAPI.RetrieveRequest();
            rr.ObjectType = "Automation";

            rr.Properties = new string[] { "ProgramID", "Name", "CustomerKey" };


            etAPI.SimpleFilterPart filter = new etAPI.SimpleFilterPart();
            filter.Property = "CustomerKey";
            filter.SimpleOperator = etAPI.SimpleOperators.equals;
            filter.Value = new string[] { "MY AUTOMATION CUSTOMER KEY" };
            rr.Filter = filter;

I also read this post, about using ProgramID, have a simple filter in the request.

Object Reference Error on "Automation" RetrieveRequest

I've also tried using different filter value: Status = 1, or IsActive = true, Name = "blah" with no luck, any one has any ideas please?

The API username I am using has permission to access AutomationStudio

Permission setting

1 Answer 1

1

It appears that Automation is not retrievable via SOAP API. I need to change it to "Program" and send raw XML request to endpoint.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .