GET /service/api/ecom/shop/products/{keycode}

Gets a license by its keycode.

Request Information

URI Parameters

NameDescriptionTypeAdditional Information
keycode

The product keycode.

string

Required

URI Sample(s)

GET
https://unityapi.webrootcloudav.com/service/api/ecom/shop/products/1B339C7E078B4DADB02B

Body Parameters

None.

Response Information

Resource Description

The license which represents a set of subscriptions to particular products.

GetProductLicenseResponseServiceModel
NameDescriptionTypeAdditional 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": 103078967,
  "Keycode": "9273062112914B569D8B",
  "ProductLineDescription": "Webroot Business",
  "ParentLicenseId": 192286085,
  "ParentKeycode": "D27D930AE50A43379FC9",
  "ChildLicenseActivations": 5,
  "PartnerStartDate": "2022-08-04T02:42:19",
  "CustomAttribute": null,
  "Profile": {
    "SAEP": {
      "LicenseCategoryName": "SAEP",
      "LicenseCategoryDescription": "Webroot Endpoint Protection",
      "LicenseSeats": 985,
      "LicenseKeycodeTypeId": 3,
      "StartDate": "2023-07-17T16:32:37",
      "ExpirationDate": "2025-04-12T19:00:45",
      "LicenseAttributeValue": null,
      "LicenseAttributeValueDescription": null,
      "LicenseAttributeDescription": null,
      "CategoryTypeName": "full",
      "ItemHierarchyId": 1,
      "ItemHierarchyName": "primary",
      "LicenseStatusId": 3,
      "LicenseStatusDescription": "manually disabled",
      "UsagePricingModelId": null,
      "UsagePricingModelName": null,
      "UsageCheckDay": 15,
      "VaultId": null,
      "VaultName": null,
      "Vaults": null,
      "ProductPlatformId": null,
      "ProductPlatformName": null,
      "RetentionModelId": null,
      "RetentionModelName": null
    }
  },
  "Customer": {
    "VendorCustomerCode": "48279",
    "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>5</ChildLicenseActivations>
  <CustomAttribute i:nil="true" />
  <Customer>
    <CompanyName>Sample Company</CompanyName>
    <VendorCustomerCode>48279</VendorCustomerCode>
  </Customer>
  <Keycode>9273062112914B569D8B</Keycode>
  <LicenseId>103078967</LicenseId>
  <ParentKeycode>D27D930AE50A43379FC9</ParentKeycode>
  <ParentLicenseId>192286085</ParentLicenseId>
  <PartnerStartDate>2022-08-04T02:42:19</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>2025-04-12T19:00:45</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>985</LicenseSeats>
        <LicenseStatusDescription>manually disabled</LicenseStatusDescription>
        <LicenseStatusId>3</LicenseStatusId>
        <ProductPlatformId i:nil="true" />
        <ProductPlatformName i:nil="true" />
        <RetentionModelId i:nil="true" />
        <RetentionModelName i:nil="true" />
        <StartDate>2023-07-17T16:32:37</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>