I'm trying to retrieve data from AutomationInstance object via SOAP api. The object only supports IN and EQUALS operator. My sample request body is as per below -
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" xmlns:u="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<s:Header>
<fueloauth>*token*</fueloauth>
</s:Header>
<s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<RetrieveRequestMsg xmlns="http://exacttarget.com/wsdl/partnerAPI">
<RetrieveRequest>
<ObjectType>AutomationInstance</ObjectType>
<Properties>Name</Properties>
<Properties>Description</Properties>
<Properties>Status</Properties>
<Properties>StatusMessage</Properties>
<Properties>ScheduledTime</Properties>
<Properties>StartTime</Properties>
<Properties>CompletedTime</Properties>
<Properties>ModifiedDate</Properties>
<Properties>LastRunInstanceID</Properties>
<Filter xsi:type="SimpleFilterPart">
<Property>Name</Property>
<SimpleOperator>IN</SimpleOperator>
<Value>Feedback OR Survey Sent In Last 30 Days Suppressions Automation</Value>
<Value>Feedback Suppressions Automation</Value>
<Value>Survey and Customer Research - Subscription Suppressions Automation</Value>
<Value>Journey Email Activities DE</Value>
<Value>Best Practice - Subscription Suppressions Automation</Value>
<Value>Event - Subscription Suppressions Automation</Value>
<Value>Promotion - Subscription Suppressions Automation</Value>
<Value>Product - Subscription Suppressions Automation</Value>
<Value>Blog - Subscription Suppressions Automation</Value>
<Value>Customer Activity History Archive</Value>
<Value>Marketing Activities Extract</Value>
<Value>Journey Email Sent Extract</Value>
<Value>Customer Journey Activity Extract</Value>
<Value>Customer Journey Extract</Value>
<Value>Tracking Extract Automation</Value>
</Filter>
</RetrieveRequest>
</RetrieveRequestMsg>
</s:Body>
</s:Envelope>
The issue here is the I don't get the entire dataset in the response and it is limited to first 3-4 automations. I don't get data for any other automations even though the data is there. I tried with customerkey as well but same results. I'm wondering what am I'm doing wrong. Also, is there a way to limit the response to most recent run of the automation.