The RenewalCodeDetails object contains parameters of a renewal code.
RenewalCodeDetails Parameters
Name |
Type |
Description |
RenewalCode |
String |
Renewal code |
RenewalId |
String |
Renewal Id |
DateCreated |
Date |
Date when the code was created |
DateUsed |
Date |
Date when renewal codes was used |
DateUpdated |
String |
Date when settings were changed |
IsTest |
Boolean |
Work with the test license code only |
Delete |
Date |
Date when the code was deleted |
Status |
String |
Status of the code. Possible values: Active, Blocked, Redemption, ToDestroy |
LicenseExpirationType |
String |
Sets new license expiration type.
Possible values: NotExpires, ExpiresAfterDaysRegistration, ExpiresAfterDaysCreation, ExpiresOnDate |
SupportExpirationType |
String |
Sets new support expiration type.
Possible values: NotExpires, ExpiresAfterDaysRegistration, ExpiresAfterDaysCreation, ExpiresOnDate, ExpiresByPpversion |
LicenseTypeFrom |
Object |
Applies to the license code with specified LicenseType
|
LicenseTypeTo |
Object |
Sets new LicenseType for the license code |
LicenseId |
String |
License code Id which was renewed |
LicenseCode |
String |
License code which was renewed |
ProjectId |
String |
Applies to the license code with specified project id |
ProjectName |
String |
Renewal code will work only with the license code from specific project name |
OrderId |
String |
Renewal order Id |
OrderNumber |
String |
Renewal order number |
Example Response
{
"LicenseTypeFrom"
: {
"TypeId"
: 1,
"Name"
:
"Full version"
},
"LicenseTypeTo"
: {
"TypeId"
: 1,
"Name"
:
"Full version"
},
"LicenseId"
:
null
,
"LicenseCode"
:
null
,
"ProjectId"
:
"854bb27dee4ee2119baec86000bd38b2"
,
"ProjectName"
:
"Project 2"
,
"OrderId"
:
"48e5267c8edfe411b655001bfc6ad16e"
,
"OrderNumber"
:
"ITP-DROA-H9B9F4BB-A8FE44D6-BH464H54-3B2KH839-8C"
,
"RenewalCode"
:
"IPRR-545DBL-9E9BHLC3-49LE9H9D-AF66368H-89-627L"
,
"RenewalId"
:
"49e5267c8edfe411b655001bfc6ad16e"
,
"DateCreated"
:
"2015-04-10T14:33:00"
,
"DateUsed"
:
null
,
"DateUpdated"
:
null
,
"IsTest"
:
true
,
"Delete"
:
null
,
"Status"
:
"Active"
,
"LicenseExpirationType"
:
"NotExpires"
,
"SupportExpirationType"
:
"NotExpires"
}