Adds a trial module (e.g. DNS Protection or WSAT) to a given license id.

POST {{baseUrl}}/api/ecom/licenses/:licenseId/addTrialModule

[DEPRECATED: 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. Add Trial Module) for the next generation Ecommerce API functionality.]

Request Body

{"Modules"=>[{"Code"=>"DNS", "Seats"=>50}, {"Code"=>"WSAT", "Seats"=>50}]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{"License":{"LicenseId":163121988,"Keycode":"7C287363C0DE4B06BD84","ExternalAccountId":"MyAccountRef8349","Seats":50,"SeatsUsed":0,"StorageGb":50,"StartDate":"2022-11-29T10:36:05.637982Z","ExpirationDate":"2023-11-29T10:36:05.637982Z","Modules":[{"Seats":50,"Name":"DNS Protection","Code":"DNS","LicenseType":"trial","StartDate":"2022-11-29T10:36:05.637982Z","ExpirationDate":"2023-11-29T10:36:05.637982Z"},{"Seats":50,"Name":"Webroot Security Awareness Training","Code":"WSAT","LicenseType":"trial","StartDate":"2022-11-29T10:36:05.637982Z","ExpirationDate":"2023-11-29T10:36:05.637982Z"}]}}