POST api/Licenses

Request Information

URI Parameters

None.

Body Parameters

ActivateLicense
NameDescriptionTypeAdditional information
ActivationKey

string

None.

ComputerName

string

None.

ComputerID

string

None.

ComputerKey

string

None.

Product

string

None.

DownloadFile

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "ActivationKey": "sample string 1",
  "ComputerName": "sample string 2",
  "ComputerID": "sample string 3",
  "ComputerKey": "sample string 4",
  "Product": "sample string 5",
  "DownloadFile": true
}

application/xml, text/xml

Sample:
<ActivateLicense xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QLMPortal.API.ViewModels">
  <ActivationKey>sample string 1</ActivationKey>
  <ComputerID>sample string 3</ComputerID>
  <ComputerKey>sample string 4</ComputerKey>
  <ComputerName>sample string 2</ComputerName>
  <DownloadFile>true</DownloadFile>
  <Product>sample string 5</Product>
</ActivateLicense>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ActivateLicense'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.