Create an offline trial activation

Creates a new offline trial activation.

POST/v3/trial-activations/offline-activate

Request Body Schema

PropertyTypeDescriptionConstraints
offlineRequest*stringEncrypted offline trial activation request.min: 1, max: 16384
responseValidity*integerThe duration (in seconds) for which the offline response should remain valid.min: 1, max: 2147483647, format: int32
productId*stringUnique identifier for the product.min: 1, max: 256
accountId*stringUnique identifier for the account.min: 1, max: 256

Request Example

{
  "offlineRequest": "string",
  "responseValidity": 1,
  "productId": "string",
  "accountId": "string"
}
Triggers webhook: trialActivation.created
POST <your-webhook-url>
{
  "event": "trialActivation.created",
  "data": {
    "id": "string",
    "createdAt": "2019-08-24T14:15:22Z",
    "updatedAt": "2019-08-24T14:15:22Z",
    "os": "windows",
    "osVersion": "string",
    "hostname": "string",
    "location": {
      "ipAddress": "string",
      "countryCode": "string",
      "countryName": "string",
      "regionCode": "string",
      "regionName": "string",
      "city": "string",
      "zipCode": "string",
      "timeZone": "string",
      "latitude": 0.1,
      "longitude": 0.1
    },
    "vmName": "string",
    "container": true,
    "appVersion": "string",
    "releaseVersion": "string",
    "releaseChannel": "string",
    "releasePlatform": "string",
    "offline": true,
    "productId": "string",
    "expiresAt": "2019-08-24T14:15:22Z",
    "metadata": [
      {
        "id": "string",
        "createdAt": "2019-08-24T14:15:22Z",
        "updatedAt": "2019-08-24T14:15:22Z",
        "key": "string",
        "value": "string"
      }
    ]
  },
  "triggeredAt": "string"
}

Responses

200 OK
{
  "offlineResponse": "string"
}