POST api/activation/activate

Request Information

URI Parameters

None.

Body Parameters

ActivateLicenseRequest
NameDescriptionTypeAdditional information
SerialNumber

string

Required

Matching regular expression pattern: ^[0-9]{8}$

String length: inclusive between 8 and 8

LicenseKey

string

Required

ProductCode

string

Required

String length: inclusive between 0 and 100

MachineFingerprint

string

Required

Matching regular expression pattern: ^[0-9A-Fa-f]{64}$

String length: inclusive between 64 and 64

Request Formats

application/json, text/json

Sample:
{
  "SerialNumber": "sample string 1",
  "LicenseKey": "sample string 2",
  "ProductCode": "sample string 3",
  "MachineFingerprint": "sample string 4"
}

application/xml, text/xml

Sample:
<ActivateLicenseRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Avideh.License.Server.Models">
  <LicenseKey>sample string 2</LicenseKey>
  <MachineFingerprint>sample string 4</MachineFingerprint>
  <ProductCode>sample string 3</ProductCode>
  <SerialNumber>sample string 1</SerialNumber>
</ActivateLicenseRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.