This method will extend a license by a certain amount of days. If the key algorithm in the product is SKGL, the key string will be changed if necessary. Otherwise, if SKM15 is used, the key will stay the same. More about the way this method works in Remarks.
This method is accessed by https://serialkeymanager.com/api/key/ExtendLicense
|ProductId||the product id||required|
|Key||the serial key string||required|
|NoOfDays||The number of days the license should be extended.||optional. by default, it's "false"|
|v||Method version.||optional. by default, it's 1.|
|Result||This is either 0(=success) or 1(=error).||always returned|
|Message||The message that provides additional information about the result. If it's a successful result, either null or the new key (if using SKGL) will be returned. Otherwise, in case of an error, a short message will be returned describing the error.||always returned.|
This method works as follows: if the expiration date of a license key has not passed, it will add the provided number of days to the expiration date. Otherwise it will add the provided number of days to the current date (i.e. today). A negative number of days will decrease the expiration date.
Let's assume we extend a license with 365 days. This method will ensure that the license will be valid in 365 days from the current day (or more if the license had some additional days left). For example,
|The input parameters were incorrect.|
|Could not find the product.|
|Could not find the key.|