POST api/license-server/activate

Request Information

URI Parameters

None.

Body Parameters

ServerActivationRequest
NameDescriptionTypeAdditional information
LicenseKey

string

None.

HardwareId

string

None.

MachineName

string

None.

CompanyName

string

None.

ActivatedAt

date

None.

Request Formats

application/json, text/json

Sample:
{
  "LicenseKey": "sample string 1",
  "HardwareId": "sample string 2",
  "MachineName": "sample string 3",
  "CompanyName": "sample string 4",
  "ActivatedAt": "2026-10-15T11:13:02.0529812-07:00"
}

application/xml, text/xml

Sample:
<ServerActivationRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CrushMateBackendAPI.Controllers">
  <ActivatedAt>2026-10-15T11:13:02.0529812-07:00</ActivatedAt>
  <CompanyName>sample string 4</CompanyName>
  <HardwareId>sample string 2</HardwareId>
  <LicenseKey>sample string 1</LicenseKey>
  <MachineName>sample string 3</MachineName>
</ServerActivationRequest>

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 'ServerActivationRequest'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.