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/900DBA1BE593485B806A
|
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": 112871347,
"Keycode": "A225C33EF5AC4CEC9F7F",
"ProductLineDescription": "Webroot Business",
"ParentLicenseId": 145204413,
"ParentKeycode": "4DB6A4AD5DD94FC2B1EC",
"ChildLicenseActivations": 6,
"PartnerStartDate": "2023-10-23T00:39:37",
"CustomAttribute": null,
"Profile": {
"SAEP": {
"LicenseCategoryName": "SAEP",
"LicenseCategoryDescription": "Webroot Endpoint Protection",
"LicenseSeats": 72,
"LicenseKeycodeTypeId": 3,
"StartDate": "2023-09-24T23:11:23",
"ExpirationDate": "2026-07-02T20:28:17",
"LicenseAttributeValue": null,
"LicenseAttributeValueDescription": null,
"LicenseAttributeDescription": null,
"CategoryTypeName": "full",
"ItemHierarchyId": 1,
"ItemHierarchyName": "primary",
"LicenseStatusId": 2,
"LicenseStatusDescription": "disabled",
"UsagePricingModelId": null,
"UsagePricingModelName": null,
"UsageCheckDay": 15,
"VaultId": null,
"VaultName": null,
"Vaults": null,
"ProductPlatformId": null,
"ProductPlatformName": null,
"RetentionModelId": null,
"RetentionModelName": null
}
},
"Customer": {
"VendorCustomerCode": "23074",
"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>6</ChildLicenseActivations>
<CustomAttribute i:nil="true" />
<Customer>
<CompanyName>Sample Company</CompanyName>
<VendorCustomerCode>23074</VendorCustomerCode>
</Customer>
<Keycode>A225C33EF5AC4CEC9F7F</Keycode>
<LicenseId>112871347</LicenseId>
<ParentKeycode>4DB6A4AD5DD94FC2B1EC</ParentKeycode>
<ParentLicenseId>145204413</ParentLicenseId>
<PartnerStartDate>2023-10-23T00:39:37</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-07-02T20:28:17</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>72</LicenseSeats>
<LicenseStatusDescription>disabled</LicenseStatusDescription>
<LicenseStatusId>2</LicenseStatusId>
<ProductPlatformId i:nil="true" />
<ProductPlatformName i:nil="true" />
<RetentionModelId i:nil="true" />
<RetentionModelName i:nil="true" />
<StartDate>2023-09-24T23:11:23</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>