POST /service/api/ecom/shop/trials/{keycode}/modules
Creates trial modules for a given parent keycode.
Request Information
URI Parameters
| Name | Description | Type | Additional 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/FCE0693F47EF44C3BD79/modules | 
Body Parameters
Information about the trial(s) that should be created.
CreateModuleTrialRequestServiceModel| Name | Description | Type | Additional 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": 578,
      "LicenseCategoryName": "SDNS",
      "VaultId": null,
      "ProductPlatformId": null
    },
    {
      "LicenseSeats": 975,
      "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>578</LicenseSeats>
      <ProductPlatformId i:nil="true" />
      <VaultId i:nil="true" />
    </CreateModuleTrialRequestServiceModel_Module>
    <CreateModuleTrialRequestServiceModel_Module>
      <LicenseCategoryName>SECA</LicenseCategoryName>
      <LicenseSeats>975</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| Name | Description | Type | Additional 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": 108709641,
  "Keycode": "A0F21204502248B38CF5",
  "ProductLineDescription": "Webroot Business",
  "ParentLicenseId": 186841093,
  "ParentKeycode": "A78BF5CF3C1D49C1A4D8",
  "ChildLicenseActivations": 2,
  "PartnerStartDate": "2024-12-27T12:32:43",
  "Profile": {
    "SAEP": {
      "LicenseCategoryName": "SAEP",
      "LicenseCategoryDescription": "Webroot Endpoint Protection",
      "LicenseSeats": 670,
      "LicenseKeycodeTypeId": 3,
      "StartDate": "2024-02-08T13:08:03",
      "ExpirationDate": "2026-06-19T08:28:19",
      "LicenseAttributeValue": null,
      "LicenseAttributeValueDescription": null,
      "LicenseAttributeDescription": null,
      "CategoryTypeName": "full",
      "ItemHierarchyId": 1,
      "ItemHierarchyName": "primary",
      "LicenseStatusId": 1,
      "LicenseStatusDescription": "active",
      "UsagePricingModelId": null,
      "UsagePricingModelName": null,
      "UsageCheckDay": 15,
      "VaultId": null,
      "VaultName": null,
      "Vaults": null,
      "ProductPlatformId": null,
      "ProductPlatformName": null,
      "RetentionModelId": null,
      "RetentionModelName": null
    }
  },
  "Customer": {
    "VendorCustomerCode": "90807"
  }
}                    
                
<CreateModuleTrialResponseServiceModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webroot.UnityAPI.ServiceExtension.ECom.Models">
  <ChildLicenseActivations>2</ChildLicenseActivations>
  <Customer>
    <VendorCustomerCode>90807</VendorCustomerCode>
  </Customer>
  <Keycode>A0F21204502248B38CF5</Keycode>
  <LicenseId>108709641</LicenseId>
  <ParentKeycode>A78BF5CF3C1D49C1A4D8</ParentKeycode>
  <ParentLicenseId>186841093</ParentLicenseId>
  <PartnerStartDate>2024-12-27T12:32:43</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>full</CategoryTypeName>
        <ExpirationDate>2026-06-19T08:28:19</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>670</LicenseSeats>
        <LicenseStatusDescription>active</LicenseStatusDescription>
        <LicenseStatusId>1</LicenseStatusId>
        <ProductPlatformId i:nil="true" />
        <ProductPlatformName i:nil="true" />
        <RetentionModelId i:nil="true" />
        <RetentionModelName i:nil="true" />
        <StartDate>2024-02-08T13:08: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>
  </Profile>
</CreateModuleTrialResponseServiceModel>