Deprecated

Announced Jun 1, 2020: APIs under the ECom.Licenses scope are scheduled for End of Life effective December 1, 2020. At that time this API will no longer be available. Please see ECom.Shop (e.g. Get License) for the next generation Ecommerce API functionality.

GET /service/api/ecom/licenses/{keycode}

Gets the details for an individual license, child license, or trial license by its keycode.

Request Information

URI Parameters

NameDescriptionTypeAdditional Information
keycode

The keycode of the license.

string

Required

URI Sample(s)

GET
https://unityapi.webrootcloudav.com/service/api/ecom/licenses/17ED07E6288948FB8B99

Body Parameters

None.

Response Information

Resource Description

Details about the license.

GetLicenseResponseServiceModel
NameDescriptionTypeAdditional Information
License

The License item.

GetLicenseResponseServiceModel_License

None.

Sample Response

{
  "License": {
    "LicenseId": 104856230,
    "Keycode": "AA06B4E2CE65460B9EF0",
    "ExternalAccountId": "MyAccountRef5462",
    "Seats": 50,
    "SeatsUsed": 0,
    "StorageGb": 50,
    "StartDate": "2024-12-21T04:20:11.3166993Z",
    "ExpirationDate": "2025-12-21T04:20:11.3166993Z",
    "Modules": [
      {
        "Seats": 50,
        "Name": "DNS Protection",
        "Code": "DNS",
        "LicenseType": "full",
        "StartDate": "2024-12-21T04:20:11.3166993Z",
        "ExpirationDate": "2025-12-21T04:20:11.3166993Z"
      },
      {
        "Seats": 50,
        "Name": "Webroot Security Awareness Training",
        "Code": "WSAT",
        "LicenseType": "full",
        "StartDate": "2024-12-21T04:20:11.3166993Z",
        "ExpirationDate": "2025-12-21T04:20:11.3166993Z"
      }
    ]
  }
}                    
<GetLicenseResponseServiceModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webroot.UnityAPI.ServiceExtension.ECom.Models">
  <License>
    <ExpirationDate>2025-12-21T04:20:11.3166993Z</ExpirationDate>
    <ExternalAccountId>MyAccountRef5462</ExternalAccountId>
    <Keycode>AA06B4E2CE65460B9EF0</Keycode>
    <LicenseId>104856230</LicenseId>
    <Modules>
      <GetLicenseResponseServiceModel_Module>
        <Code>DNS</Code>
        <ExpirationDate>2025-12-21T04:20:11.3166993Z</ExpirationDate>
        <LicenseType>full</LicenseType>
        <Name>DNS Protection</Name>
        <Seats>50</Seats>
        <StartDate>2024-12-21T04:20:11.3166993Z</StartDate>
      </GetLicenseResponseServiceModel_Module>
      <GetLicenseResponseServiceModel_Module>
        <Code>WSAT</Code>
        <ExpirationDate>2025-12-21T04:20:11.3166993Z</ExpirationDate>
        <LicenseType>full</LicenseType>
        <Name>Webroot Security Awareness Training</Name>
        <Seats>50</Seats>
        <StartDate>2024-12-21T04:20:11.3166993Z</StartDate>
      </GetLicenseResponseServiceModel_Module>
    </Modules>
    <Seats>50</Seats>
    <SeatsUsed>0</SeatsUsed>
    <StartDate>2024-12-21T04:20:11.3166993Z</StartDate>
    <StorageGb>50</StorageGb>
  </License>
</GetLicenseResponseServiceModel>