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

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": 161320241,
    "Keycode": "295E1E74FEAB4AC09662",
    "ExternalAccountId": "MyAccountRef3381",
    "Seats": 50,
    "SeatsUsed": 0,
    "StorageGb": 50,
    "StartDate": "2019-05-22T21:10:37.6830055Z",
    "ExpirationDate": "2020-05-22T21:10:37.6830055Z",
    "Modules": [
      {
        "Seats": 50,
        "Name": "DNS Protection",
        "Code": "DNS",
        "LicenseType": "full",
        "StartDate": "2019-05-22T21:10:37.6830055Z",
        "ExpirationDate": "2020-05-22T21:10:37.6830055Z"
      },
      {
        "Seats": 50,
        "Name": "Webroot Security Awareness Training",
        "Code": "WSAT",
        "LicenseType": "full",
        "StartDate": "2019-05-22T21:10:37.6830055Z",
        "ExpirationDate": "2020-05-22T21:10:37.6830055Z"
      }
    ]
  }
}                    
<GetLicenseResponseServiceModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webroot.UnityAPI.ServiceExtension.ECom.Models">
  <License>
    <ExpirationDate>2020-05-22T21:10:37.6830055Z</ExpirationDate>
    <ExternalAccountId>MyAccountRef3381</ExternalAccountId>
    <Keycode>295E1E74FEAB4AC09662</Keycode>
    <LicenseId>161320241</LicenseId>
    <Modules>
      <GetLicenseResponseServiceModel_Module>
        <Code>DNS</Code>
        <ExpirationDate>2020-05-22T21:10:37.6830055Z</ExpirationDate>
        <LicenseType>full</LicenseType>
        <Name>DNS Protection</Name>
        <Seats>50</Seats>
        <StartDate>2019-05-22T21:10:37.6830055Z</StartDate>
      </GetLicenseResponseServiceModel_Module>
      <GetLicenseResponseServiceModel_Module>
        <Code>WSAT</Code>
        <ExpirationDate>2020-05-22T21:10:37.6830055Z</ExpirationDate>
        <LicenseType>full</LicenseType>
        <Name>Webroot Security Awareness Training</Name>
        <Seats>50</Seats>
        <StartDate>2019-05-22T21:10:37.6830055Z</StartDate>
      </GetLicenseResponseServiceModel_Module>
    </Modules>
    <Seats>50</Seats>
    <SeatsUsed>0</SeatsUsed>
    <StartDate>2019-05-22T21:10:37.6830055Z</StartDate>
    <StorageGb>50</StorageGb>
  </License>
</GetLicenseResponseServiceModel>