I've read this article 10 times, and I don't understand what I am doing wrong? Where is the mistake?
Please provide me correct example of my reqeust
Hello!
I am using LimeLm.php for searching keys.
And I have custom license field - licence_expired.
I need to find keys expiring between ‘2022-10-29’ and '2022-11-02'.
Here is my code
$response = LimeLM::AdvancedPKeySearch($num = 1500, $page = 1, $product_id = null, $version_id = null, $email = null, $start = null, $end = null, $feature_names = ['licence_expired','licence_expired'], $feature_values = ['2022-10-29','2022-11-02'], $feature_match = 'between', $feature_use_or = false, $tags = null, $tag_use_or = true, $get_acts = false, $get_features = true, $get_tags = false);
I'm getting "Product key not found."
What I am doing wrong? There are many keys expiring in that dates.
You’re not using the between values correctly. Covered In the article: https://wyday.com/limelm/help/api/limelm.pkey.advancedSearch/
I've read this article 10 times, and I don't understand what I am doing wrong? Where is the mistake?
Please provide me correct example of my reqeust
You’re providing the same field twice (do it once), and for the value provide a lower_date, higher_date
value. Search that article for the “between“ example.
I did it. But if provide the field once, then you will get the error
"There must be equal amount of features as feature values."
Can you just provide correct example?
$response = LimeLM::AdvancedPKeySearch($num = 1500, $page = 1, $product_id = null, $version_id = null, $email = null, $start = null, $end = null, $feature_names = ['licence_expired'], $feature_values = ['2022-09-30 00:00:00','2022-11-02 00:00:00'], $feature_match = ['between'], $feature_use_or = false, $tags = null, $tag_use_or = true, $get_acts = false, $get_features = true, $get_tags = false);