I currently using in my project:
https://github.com/salesforce-marketingcloud/FuelSDK-PHP
I don't find any documentation on how to perform a get with a complex filter:
$myClient = new ET_Client($config);
$dataextensionrow = new ET_DataExtension_Row();
$dataextensionrow->authStub = $myClient;
$dataextensionrow->Name = 'Transactional_SendLog22';
$dataextensionrow->props = array(
'SubscriberID',
'unix_ts'
);
$dataextensionrow->filter = [
[
'LeftOperand'=> ['Property' => 'unix_ts','SimpleOperator' => 'greaterThanOrEqual','Value' => "1"],
'LogicalOperator' => 'AND',
'RightOperand'=> ['Property' => 'SubscriberID','SimpleOperator' => 'Equal','Value' => "1"]
]
];
$results = $dataextensionrow->get();
This code is producing the following error:
SOAP-ERROR: Encoding: object has no 'Property' property in ../salesforce-mc/fuel-sdk-php/src/ET_Get.php
How am I supposed to write a filter with a logical operator with Fuel SDK for php?