FuelSDK-PHP icon indicating copy to clipboard operation
FuelSDK-PHP copied to clipboard

Need to get subscribed user details of specific DataExtensionName and date range

Open dhirendradaffodil opened this issue 5 years ago • 1 comments

I am using below way to get subscribed user details for specific list and date range but can't able to get results

  //Get all Data Extensions Rows (By CustomerKey)
    print_r("Get all Data Extensions Rows (By CustomerKey) \n");
    $getDERows = new ET_DataExtension_Row();
    $getDERows->authStub = $myclient;
    $getDERows->props = array("Key", "Value");
    $getDERows->filter = array('Property' => 'CreatedDate','SimpleOperator' => 'lessThan','DateValue' => $end_date);
    $getDERows->CustomerKey = $DataExtensionNameForTesting;
    $getResult = $getDERows->get();

Please let me know where I am doing wrong, gettig below response

ET_Get {#202 ▼
  +status: false
  +code: 200
  +message: "Error: The Filter Property 'CreatedDate' is not a retrievable property."
  +results: []
  +request_id: "6aa86c13-d114-4600-8b44-596f3684019e"
  +moreResults: false
}

dhirendradaffodil avatar Nov 28 '18 10:11 dhirendradaffodil

@dhirendradaffodil were you able to resolve this?

pentium10 avatar Jul 18 '19 15:07 pentium10