POST api/License
Request Information
URI Parameters
None.
Body Parameters
ActivateLicenseRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| LicenseKey | string |
None. |
|
| IsOffline | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"LicenseKey": "sample string 1",
"IsOffline": true
}
application/xml, text/xml
Sample:
<ActivateLicenseRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PTI.AF.DTO"> <IsOffline>true</IsOffline> <LicenseKey>sample string 1</LicenseKey> </ActivateLicenseRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
LicenseInfoResult| Name | Description | Type | Additional information |
|---|---|---|---|
| SerialNo | string |
None. |
|
| LicenseType | string |
None. |
|
| DateFrom | date |
None. |
|
| DateTo | date |
None. |
|
| ProductCode | string |
None. |
|
| OfficeID | string |
None. |
|
| HardwareID | string |
None. |
|
| UserCount | integer |
None. |
|
| UpdateFrequency | integer |
None. |
|
| LastUpdate | date |
None. |
|
| IsActivated | boolean |
None. |
|
| SystemUserCount | integer |
None. |
|
| IsExpired | boolean |
None. |
|
| StatusText | string |
None. |
|
| Error | boolean |
None. |
|
| Data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"SerialNo": "sample string 1",
"LicenseType": "sample string 2",
"DateFrom": "2025-10-26T11:18:18.3197607+08:00",
"DateTo": "2025-10-26T11:18:18.3197607+08:00",
"ProductCode": "sample string 5",
"OfficeID": "sample string 6",
"HardwareID": "sample string 7",
"UserCount": 8,
"UpdateFrequency": 9,
"LastUpdate": "2025-10-26T11:18:18.3197607+08:00",
"IsActivated": true,
"SystemUserCount": 12,
"IsExpired": false,
"StatusText": "sample string 13",
"Error": true,
"Data": {}
}
application/xml, text/xml
Sample:
<LicenseInfoResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PTI.AF.DTO"> <Data /> <Error>true</Error> <StatusText>sample string 13</StatusText> <DateFrom>2025-10-26T11:18:18.3197607+08:00</DateFrom> <DateTo>2025-10-26T11:18:18.3197607+08:00</DateTo> <HardwareID>sample string 7</HardwareID> <IsActivated>true</IsActivated> <LastUpdate>2025-10-26T11:18:18.3197607+08:00</LastUpdate> <LicenseType>sample string 2</LicenseType> <OfficeID>sample string 6</OfficeID> <ProductCode>sample string 5</ProductCode> <SerialNo>sample string 1</SerialNo> <SystemUserCount>12</SystemUserCount> <UpdateFrequency>9</UpdateFrequency> <UserCount>8</UserCount> </LicenseInfoResult>