Find all the product keys based on search parameters.
Note: This function is not a "drop-in" replacement for limelm.pkey.find. For instance, in limelm.pkey.find
when you leave the email
parameter blank you'll get no product keys. However, if you leave the email
parameter blank in this function you'll get all product keys.
api_key
(Required)num
(Optional)page
(Optional)product_id
(Optional)https://wyday.com/limelm/product/view/101/
you can see the product ID is 101.product_id
parameter is not present then this function will search all products in your LimeLM account (unless a version_id
parameter is specified).version_id
(Optional)https://wyday.com/limelm/version/100/
you can see the version ID is 100. (Note: The Version ID is not the Version GUID).version_id
parameter is not present then this function will search all versions in your LimeLM account (unless a product_id
parameter is specified).email
(Optional)start
(Optional)YYYY-MM-DD
(e.g. 2010-06-25) or YYYY-MM-DD hh:mm:ss
. If this value is not present it finds all product keys created since the beginning of time.end
(Optional)YYYY-MM-DD
(e.g. 2011-06-25) or YYYY-MM-DD hh:mm:ss
. If this value is not present it finds all product keys created up until the present time.get_acts
(Optional)true
" and "false
". If this parameter isn't present (or is invalid) it will default to "false
".get_features
(Optional)true
" and "false
". If this parameter isn't present (or is invalid) it will default to "false
".get_tags
(Optional)true
" and "false
". If this parameter isn't present (or is invalid) it will default to "false
".tag[]
(Optional)tag_use_or
is false
, search for product keys that have all of the provided tags. You can also use the asterisk wildcard character "*" to do partial matches of tags. For instance, if you have product keys with a "Microsoft" tag and some product keys with a "MicroSD" tag you can either specify both of these tags separately…
tag[]=Microsoft tag[]=MicroSD…or you can use the wildcard character:
tag[]=Micro*It should also be noted that tags are not case sensitive (searching for "Microsoft" is the same as searching for "microsoft" or "miCrOsoFT").
tag_use_or
(Optional)true
" (which will use "OR" tag searching) and "false
" (which will use "AND" tag searching). If this parameter isn't present (or is invalid) it will default to "true
".feature_name[]
(Optional)feature_use_or
is false
, search for product keys that have all of the provided license fields. You must use the parameter in tandem with "feature_value[]
" and "feature_match[]
".feature_value[]
(Optional)feature_name[]
parameter.feature_match[]
(Optional)exact
: Find product keys that match the field value provided exactly (case insensitive). This is the default matching.
wildcard
: Find the product keys that match the field value using wildcard asterisk (*) character.
before
: For "Date / Time" types of field values this will find product keys with field values before the time you specified (provided it's in the YYYY-MM-DD
or YYYY-MM-DD hh:mm:ss
form). For "Integer" types of field values this will find product keys with field values less than the integer specified. All other field types will be ignored.
after
: For "Date / Time" types of field values this will find product keys with field values after the time you specified (provided it's in the YYYY-MM-DD
or YYYY-MM-DD hh:mm:ss
form). For "Integer" types of field values this will find product keys with field values greater than the integer specified. All other field types will be ignored.
between
: For "Date / Time" types of field values this will find product keys with field values between the 2 comma separated times you specified (provided it's in the YYYY-MM-DD,YYYY-MM-DD
or YYYY-MM-DD hh:mm:ss,YYYY-MM-DD hh:mm:ss
form). For "Integer" types of field values this will find product keys with field values between the 2 comma separated integers specified (e.g. 4,8
). All other field types will be ignored.
feature_use_or
(Optional)true
" (which will use "OR" license field searching) and "false
" (which will use "AND" license field searching). If this parameter isn't present (or is invalid) it will default to "true
".The method returns a list of product keys, the total number of pages, and the total number of matching product keys.
<pkeys pages="1" total="3">
<pkey id="103" key="A84U-ZTZT-V2WI-5KCK-EV5S-3PWK-K2TX" acts="4" acts_used="3" email="mike.nelson@example.com"/>
<pkey id="104" key="X8ZB-FRRK-PVWX-M3RY-YPE8-ARFM-N2TX" acts="1" acts_used="1" email="art.crow@example.com"/>
<pkey id="107" key="37CU-6XJN-5V6S-KY4C-GIDD-BXP7-F6TX" acts="1" acts_used="0" revoked="true"/>
</pkeys>
1: Product key not found.
100: Invalid API Key
101: Method "xxx" not found
164: An API key must be used by X devices. Configurable in your settings.
116: There must be equal amount of features as feature values.
feature_name[]
values than feature_value[]
values (or vice versa). There must be an equal number of feature_name[]
as feature_value[]
.142: Service currently unavailable