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/A74851BBB1434E7A858F

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": 170719791,
    "Keycode": "DD7ADFDF2AFB400DA0C5",
    "ExternalAccountId": "MyAccountRef7201",
    "Seats": 50,
    "SeatsUsed": 0,
    "StorageGb": 50,
    "StartDate": "2020-02-23T10:32:35.9499757Z",
    "ExpirationDate": "2021-02-23T10:32:35.9499757Z",
    "Modules": [
      {
        "Seats": 50,
        "Name": "DNS Protection",
        "Code": "DNS",
        "LicenseType": "full",
        "StartDate": "2020-02-23T10:32:35.9499757Z",
        "ExpirationDate": "2021-02-23T10:32:35.9499757Z"
      },
      {
        "Seats": 50,
        "Name": "Webroot Security Awareness Training",
        "Code": "WSAT",
        "LicenseType": "full",
        "StartDate": "2020-02-23T10:32:35.9499757Z",
        "ExpirationDate": "2021-02-23T10:32:35.9499757Z"
      }
    ]
  }
}                    
<GetLicenseResponseServiceModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webroot.UnityAPI.ServiceExtension.ECom.Models">
  <License>
    <ExpirationDate>2021-02-23T10:32:35.9499757Z</ExpirationDate>
    <ExternalAccountId>MyAccountRef7201</ExternalAccountId>
    <Keycode>DD7ADFDF2AFB400DA0C5</Keycode>
    <LicenseId>170719791</LicenseId>
    <Modules>
      <GetLicenseResponseServiceModel_Module>
        <Code>DNS</Code>
        <ExpirationDate>2021-02-23T10:32:35.9499757Z</ExpirationDate>
        <LicenseType>full</LicenseType>
        <Name>DNS Protection</Name>
        <Seats>50</Seats>
        <StartDate>2020-02-23T10:32:35.9499757Z</StartDate>
      </GetLicenseResponseServiceModel_Module>
      <GetLicenseResponseServiceModel_Module>
        <Code>WSAT</Code>
        <ExpirationDate>2021-02-23T10:32:35.9499757Z</ExpirationDate>
        <LicenseType>full</LicenseType>
        <Name>Webroot Security Awareness Training</Name>
        <Seats>50</Seats>
        <StartDate>2020-02-23T10:32:35.9499757Z</StartDate>
      </GetLicenseResponseServiceModel_Module>
    </Modules>
    <Seats>50</Seats>
    <SeatsUsed>0</SeatsUsed>
    <StartDate>2020-02-23T10:32:35.9499757Z</StartDate>
    <StorageGb>50</StorageGb>
  </License>
</GetLicenseResponseServiceModel>