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/1DA05021AB36454893D9
|
Body Parameters
None.
Response Information
Resource Description
The license which represents a set of subscriptions to particular products.
GetProductLicenseResponseServiceModelName | 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": 184258904, "Keycode": "1A8D1405016B4BE38806", "ProductLineDescription": "Webroot Business", "ParentLicenseId": 118208264, "ParentKeycode": "23C865091AC54630814D", "ChildLicenseActivations": 7, "PartnerStartDate": "2024-03-21T16:46:00", "CustomAttribute": null, "Profile": { "SAEP": { "LicenseCategoryName": "SAEP", "LicenseCategoryDescription": "Webroot Endpoint Protection", "LicenseSeats": 476, "LicenseKeycodeTypeId": 3, "StartDate": "2023-10-15T19:34:18", "ExpirationDate": "2026-01-18T22:33:57", "LicenseAttributeValue": null, "LicenseAttributeValueDescription": null, "LicenseAttributeDescription": null, "CategoryTypeName": "full", "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 }, "SDNS": { "LicenseCategoryName": "SDNS", "LicenseCategoryDescription": "Webroot DNS Protection", "LicenseSeats": 682, "LicenseKeycodeTypeId": 3, "StartDate": "2023-11-27T04:58:52", "ExpirationDate": "2026-10-24T16:10:32", "LicenseAttributeValue": null, "LicenseAttributeValueDescription": null, "LicenseAttributeDescription": null, "CategoryTypeName": "full", "ItemHierarchyId": 2, "ItemHierarchyName": "secondary", "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": "32264", "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>7</ChildLicenseActivations> <CustomAttribute i:nil="true" /> <Customer> <CompanyName>Sample Company</CompanyName> <VendorCustomerCode>32264</VendorCustomerCode> </Customer> <Keycode>1A8D1405016B4BE38806</Keycode> <LicenseId>184258904</LicenseId> <ParentKeycode>23C865091AC54630814D</ParentKeycode> <ParentLicenseId>118208264</ParentLicenseId> <PartnerStartDate>2024-03-21T16:46:00</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>full</CategoryTypeName> <ExpirationDate>2026-01-18T22:33:57</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>476</LicenseSeats> <LicenseStatusDescription>inactive</LicenseStatusDescription> <LicenseStatusId>0</LicenseStatusId> <ProductPlatformId i:nil="true" /> <ProductPlatformName i:nil="true" /> <RetentionModelId i:nil="true" /> <RetentionModelName i:nil="true" /> <StartDate>2023-10-15T19:34:18</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> <d2p1:KeyValueOfstringGetProductLicenseResponseServiceModel_LicenseProfilefLvholdK> <d2p1:Key>SDNS</d2p1:Key> <d2p1:Value> <CategoryTypeName>full</CategoryTypeName> <ExpirationDate>2026-10-24T16:10:32</ExpirationDate> <ItemHierarchyId>2</ItemHierarchyId> <ItemHierarchyName>secondary</ItemHierarchyName> <LicenseAttributeDescription i:nil="true" /> <LicenseAttributeValue i:nil="true" /> <LicenseAttributeValueDescription i:nil="true" /> <LicenseCategoryDescription>Webroot DNS Protection</LicenseCategoryDescription> <LicenseCategoryName>SDNS</LicenseCategoryName> <LicenseKeycodeTypeId>3</LicenseKeycodeTypeId> <LicenseSeats>682</LicenseSeats> <LicenseStatusDescription>inactive</LicenseStatusDescription> <LicenseStatusId>0</LicenseStatusId> <ProductPlatformId i:nil="true" /> <ProductPlatformName i:nil="true" /> <RetentionModelId i:nil="true" /> <RetentionModelName i:nil="true" /> <StartDate>2023-11-27T04:58:52</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>