POST /service/api/ecom/shop/trials/{keycode}/modules

Creates trial modules for a given parent keycode.

Request Information

URI Parameters

NameDescriptionTypeAdditional Information
keycode

The keycode of a parent console where trial module(s) should be created.

string

Required

URI Sample(s)

POST
https://unityapi.webrootcloudav.com/service/api/ecom/shop/trials/60ACFF4FE78A42608E8C/modules

Body Parameters

Information about the trial(s) that should be created.

CreateModuleTrialRequestServiceModel
NameDescriptionTypeAdditional Information
Modules

Modules (e.g. DNS Protection or WSAT) for which trial licenses should be created.

Collection of CreateModuleTrialRequestServiceModel_Module

Required

Sample Request

{
  "Modules": [
    {
      "LicenseSeats": 509,
      "LicenseCategoryName": "SDNS",
      "VaultId": null,
      "ProductPlatformId": null
    },
    {
      "LicenseSeats": 748,
      "LicenseCategoryName": "SECA",
      "VaultId": null,
      "ProductPlatformId": null
    }
  ]
}                    
<CreateModuleTrialRequestServiceModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webroot.UnityAPI.ServiceExtension.ECom.Models">
  <Modules>
    <CreateModuleTrialRequestServiceModel_Module>
      <LicenseCategoryName>SDNS</LicenseCategoryName>
      <LicenseSeats>509</LicenseSeats>
      <ProductPlatformId i:nil="true" />
      <VaultId i:nil="true" />
    </CreateModuleTrialRequestServiceModel_Module>
    <CreateModuleTrialRequestServiceModel_Module>
      <LicenseCategoryName>SECA</LicenseCategoryName>
      <LicenseSeats>748</LicenseSeats>
      <ProductPlatformId i:nil="true" />
      <VaultId i:nil="true" />
    </CreateModuleTrialRequestServiceModel_Module>
  </Modules>
</CreateModuleTrialRequestServiceModel>                    

Response Information

Resource Description

Details about the newly created trial(s).

CreateModuleTrialResponseServiceModel
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.

Profile

A dictionary of profiles.

Dictionary of string [key] and CreateModuleTrialResponseServiceModel_LicenseProfile [value]

None.

Customer

The customer associated to this license.

CreateModuleTrialResponseServiceModel_Customer

None.

Sample Response

{
  "LicenseId": 106465723,
  "Keycode": "F4F30617CF3B46678BB4",
  "ProductLineDescription": "Webroot Business",
  "ParentLicenseId": 193303266,
  "ParentKeycode": "90E87E9DB4D649F88113",
  "ChildLicenseActivations": 6,
  "PartnerStartDate": "2021-12-22T00:34:23",
  "Profile": {
    "SAEP": {
      "LicenseCategoryName": "SAEP",
      "LicenseCategoryDescription": "Webroot Endpoint Protection",
      "LicenseSeats": 898,
      "LicenseKeycodeTypeId": 3,
      "StartDate": "2022-11-07T00:49:03",
      "ExpirationDate": "2025-10-21T19:47:51",
      "LicenseAttributeValue": null,
      "LicenseAttributeValueDescription": null,
      "LicenseAttributeDescription": null,
      "CategoryTypeName": "trial",
      "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
    },
    "SDNS": {
      "LicenseCategoryName": "SDNS",
      "LicenseCategoryDescription": "Webroot DNS Protection",
      "LicenseSeats": 854,
      "LicenseKeycodeTypeId": 3,
      "StartDate": "2022-06-26T18:23:08",
      "ExpirationDate": "2024-09-15T11:21:17",
      "LicenseAttributeValue": null,
      "LicenseAttributeValueDescription": null,
      "LicenseAttributeDescription": null,
      "CategoryTypeName": "trial",
      "ItemHierarchyId": 2,
      "ItemHierarchyName": "secondary",
      "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": "76031"
  }
}                    
<CreateModuleTrialResponseServiceModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webroot.UnityAPI.ServiceExtension.ECom.Models">
  <ChildLicenseActivations>6</ChildLicenseActivations>
  <Customer>
    <VendorCustomerCode>76031</VendorCustomerCode>
  </Customer>
  <Keycode>F4F30617CF3B46678BB4</Keycode>
  <LicenseId>106465723</LicenseId>
  <ParentKeycode>90E87E9DB4D649F88113</ParentKeycode>
  <ParentLicenseId>193303266</ParentLicenseId>
  <PartnerStartDate>2021-12-22T00:34:23</PartnerStartDate>
  <ProductLineDescription>Webroot Business</ProductLineDescription>
  <Profile xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfstringCreateModuleTrialResponseServiceModel_LicenseProfilefLvholdK>
      <d2p1:Key>SAEP</d2p1:Key>
      <d2p1:Value>
        <CategoryTypeName>trial</CategoryTypeName>
        <ExpirationDate>2025-10-21T19:47:51</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>898</LicenseSeats>
        <LicenseStatusDescription>disabled</LicenseStatusDescription>
        <LicenseStatusId>2</LicenseStatusId>
        <ProductPlatformId i:nil="true" />
        <ProductPlatformName i:nil="true" />
        <RetentionModelId i:nil="true" />
        <RetentionModelName i:nil="true" />
        <StartDate>2022-11-07T00:49:03</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:KeyValueOfstringCreateModuleTrialResponseServiceModel_LicenseProfilefLvholdK>
    <d2p1:KeyValueOfstringCreateModuleTrialResponseServiceModel_LicenseProfilefLvholdK>
      <d2p1:Key>SDNS</d2p1:Key>
      <d2p1:Value>
        <CategoryTypeName>trial</CategoryTypeName>
        <ExpirationDate>2024-09-15T11:21:17</ExpirationDate>
        <ItemHierarchyId>2</ItemHierarchyId>
        <ItemHierarchyName>secondary</ItemHierarchyName>
        <LicenseAttributeDescription i:nil="true" />
        <LicenseAttributeValue i:nil="true" />
        <LicenseAttributeValueDescription i:nil="true" />
        <LicenseCategoryDescription>Webroot DNS Protection</LicenseCategoryDescription>
        <LicenseCategoryName>SDNS</LicenseCategoryName>
        <LicenseKeycodeTypeId>3</LicenseKeycodeTypeId>
        <LicenseSeats>854</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>2022-06-26T18:23:08</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:KeyValueOfstringCreateModuleTrialResponseServiceModel_LicenseProfilefLvholdK>
  </Profile>
</CreateModuleTrialResponseServiceModel>