POST api2/unlock_codes.json

Create a Unlock Code

Request Information

URI Parameters

None.

Body Parameters

Unlock Code

api_root
NameDescriptionTypeAdditional information
entry

UnlockRequestKeysBatch

None.

Request Format

{
  "entry": {
    "creation_date": "2024-10-23T04:23:43.302412+02:00",
    "expiration_date": "2024-10-23T04:23:43.302412+02:00",
    "user_id": 1,
    "company_id": 1,
    "quantity": 1,
    "max_count": 1,
    "valid": 1,
    "cguser_id": 1,
    "code_usage": 1,
    "license_id": 1,
    "comment": "sample string 2",
    "service_id": 1,
    "code_type": 1,
    "license_id2": 1,
    "auto": true,
    "soap": true,
    "hd": true,
    "start_date": "2024-10-23T04:23:43.302412+02:00"
  }
}

Response Information

Resource Description

Created Unlock Code

api_root
NameDescriptionTypeAdditional information
entry

UnlockRequestKeysBatch

None.

Response Format

{
  "entry": {
    "id": 1,
    "creation_date": "2024-10-23T04:23:43.3180368+02:00",
    "expiration_date": "2024-10-23T04:23:43.3180368+02:00",
    "user_id": 1,
    "company_id": 1,
    "quantity": 1,
    "max_count": 1,
    "valid": 1,
    "cguser_id": 1,
    "code_usage": 1,
    "license_id": 1,
    "comment": "sample string 2",
    "service_id": 1,
    "code_type": 1,
    "license_id2": 1,
    "auto": true,
    "soap": true,
    "hd": true,
    "start_date": "2024-10-23T04:23:43.3180368+02:00"
  }
}