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/9F0B013F26804911AB0F
|
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": 147463802, "Keycode": "7EBBDDD7C21F4002AF55", "ProductLineDescription": "Webroot Business", "ParentLicenseId": 122013462, "ParentKeycode": "F9481EE84B8A4BE3A098", "ChildLicenseActivations": 8, "PartnerStartDate": "2023-12-07T18:37:18", "CustomAttribute": null, "Profile": { "SAEP": { "LicenseCategoryName": "SAEP", "LicenseCategoryDescription": "Webroot Endpoint Protection", "LicenseSeats": 74, "LicenseKeycodeTypeId": 3, "StartDate": "2023-07-27T14:37:58", "ExpirationDate": "2026-06-01T19:59:11", "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": "38036", "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>8</ChildLicenseActivations> <CustomAttribute i:nil="true" /> <Customer> <CompanyName>Sample Company</CompanyName> <VendorCustomerCode>38036</VendorCustomerCode> </Customer> <Keycode>7EBBDDD7C21F4002AF55</Keycode> <LicenseId>147463802</LicenseId> <ParentKeycode>F9481EE84B8A4BE3A098</ParentKeycode> <ParentLicenseId>122013462</ParentLicenseId> <PartnerStartDate>2023-12-07T18:37:18</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-06-01T19:59:11</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>74</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-07-27T14:37:58</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>