GET /service/api/ecom/shop/products/{keycode}
Gets a license by its keycode.
Request Information
URI Parameters
| Name | Description | Type | Additional Information |
|---|---|---|---|
| keycode |
The product keycode. |
string |
Required |
URI Sample(s)
|
GET
|
https://unityapi.webrootcloudav.com/service/api/ecom/shop/products/14285EFF80B94B058A54
|
Body Parameters
None.
Response Information
Resource Description
The license which represents a set of subscriptions to particular products.
GetProductLicenseResponseServiceModel| Name | Description | Type | Additional Information |
|---|---|---|---|
| LicenseId |
A unique identifier for the license that was queried. |
integer |
None. |
| Keycode |
Keycode identifying the license. |
string |
None. |
| ProductLineDescription |
Description of the associated product line. |
string |
None. |
| ParentLicenseId |
Unique identifier for the parent license. |
integer |
None. |
| ParentKeycode |
The keycode for the parent license. |
string |
None. |
| ChildLicenseActivations |
Number of activations in child licenses. |
integer |
None. |
| PartnerStartDate |
Start date of the partner. |
date |
None. |
| CustomAttribute |
Custom value which may be set by eCom depending on the use case. |
string |
None. |
| Profile |
A dictionary of profiles. |
Dictionary of string [key] and GetProductLicenseResponseServiceModel_LicenseProfile [value] |
None. |
| Customer |
The customer associated to this license. |
GetProductLicenseResponseServiceModel_Customer |
None. |
Sample Response
{
"LicenseId": 139245974,
"Keycode": "150B201A9DDA4FCBB05D",
"ProductLineDescription": "Webroot Business",
"ParentLicenseId": 191660282,
"ParentKeycode": "652A3DA0F6704CE081CA",
"ChildLicenseActivations": 4,
"PartnerStartDate": "2024-06-17T18:32:20",
"CustomAttribute": null,
"Profile": {
"SAEP": {
"LicenseCategoryName": "SAEP",
"LicenseCategoryDescription": "Webroot Endpoint Protection",
"LicenseSeats": 513,
"LicenseKeycodeTypeId": 3,
"StartDate": "2024-08-25T16:53:09",
"ExpirationDate": "2026-11-12T06:38:35",
"LicenseAttributeValue": null,
"LicenseAttributeValueDescription": null,
"LicenseAttributeDescription": null,
"CategoryTypeName": "trial",
"ItemHierarchyId": 1,
"ItemHierarchyName": "primary",
"LicenseStatusId": 0,
"LicenseStatusDescription": "inactive",
"UsagePricingModelId": null,
"UsagePricingModelName": null,
"UsageCheckDay": 15,
"VaultId": null,
"VaultName": null,
"Vaults": null,
"ProductPlatformId": null,
"ProductPlatformName": null,
"RetentionModelId": null,
"RetentionModelName": null
}
},
"Customer": {
"VendorCustomerCode": "6305",
"CompanyName": "Sample Company"
}
}
<GetProductLicenseResponseServiceModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webroot.UnityAPI.ServiceExtension.ECom.Models">
<ChildLicenseActivations>4</ChildLicenseActivations>
<CustomAttribute i:nil="true" />
<Customer>
<CompanyName>Sample Company</CompanyName>
<VendorCustomerCode>6305</VendorCustomerCode>
</Customer>
<Keycode>150B201A9DDA4FCBB05D</Keycode>
<LicenseId>139245974</LicenseId>
<ParentKeycode>652A3DA0F6704CE081CA</ParentKeycode>
<ParentLicenseId>191660282</ParentLicenseId>
<PartnerStartDate>2024-06-17T18:32:20</PartnerStartDate>
<ProductLineDescription>Webroot Business</ProductLineDescription>
<Profile xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:KeyValueOfstringGetProductLicenseResponseServiceModel_LicenseProfilefLvholdK>
<d2p1:Key>SAEP</d2p1:Key>
<d2p1:Value>
<CategoryTypeName>trial</CategoryTypeName>
<ExpirationDate>2026-11-12T06:38:35</ExpirationDate>
<ItemHierarchyId>1</ItemHierarchyId>
<ItemHierarchyName>primary</ItemHierarchyName>
<LicenseAttributeDescription i:nil="true" />
<LicenseAttributeValue i:nil="true" />
<LicenseAttributeValueDescription i:nil="true" />
<LicenseCategoryDescription>Webroot Endpoint Protection</LicenseCategoryDescription>
<LicenseCategoryName>SAEP</LicenseCategoryName>
<LicenseKeycodeTypeId>3</LicenseKeycodeTypeId>
<LicenseSeats>513</LicenseSeats>
<LicenseStatusDescription>inactive</LicenseStatusDescription>
<LicenseStatusId>0</LicenseStatusId>
<ProductPlatformId i:nil="true" />
<ProductPlatformName i:nil="true" />
<RetentionModelId i:nil="true" />
<RetentionModelName i:nil="true" />
<StartDate>2024-08-25T16:53:09</StartDate>
<UsageCheckDay>15</UsageCheckDay>
<UsagePricingModelId i:nil="true" />
<UsagePricingModelName i:nil="true" />
<VaultId i:nil="true" />
<VaultName i:nil="true" />
<Vaults i:nil="true" />
</d2p1:Value>
</d2p1:KeyValueOfstringGetProductLicenseResponseServiceModel_LicenseProfilefLvholdK>
</Profile>
</GetProductLicenseResponseServiceModel>