Download OpenAPI specification:Download
This is the documentation for Zentitle2 Software Licensing Platform for SaaS and On-Premise applications.
Please provide feedback to your account manager on things you like and things you'd like to see.
Zentitle2 Management API uses OAuth2 over https to manage authentication and authorization.
OAuth2 is an open standard for authorization that enables applications to securely access resources from other apps or services. We use client_credentials
flow in the API.
In the client credentials flow, the app sends a request to the authorization server's token endpoint with its client ID and secret, which are used to authenticate the app. If the request is successful, the authorization server returns an access token, which the app can use to access protected resources on the resource server.
The client credentials flow is typically used by server-side apps or apps that run in a trusted environment, such as a secure server or device. It allows these apps to access protected resources on behalf of themselves, rather than on behalf of a user. This grant type is not suitable for browser-based apps or mobile apps, as it does not involve user interaction and does not provide a way for users to grant access to their protected resources.
Here is an example of how to generate client credentials for OAuth2:
Register your application in the Zentitle2 administration site in the "API Credentials" section.
During the registration process, the authorization server will provide you with a client secret for your provided client ID. These are unique, secret values that identify your app and are used to authenticate your requests to the authorization server.
In order to use the client credentials grant type, your app must be able to securely store the client ID and secret. These values should never be shared or exposed to anyone outside of your app, as they provide access to the authorization server on your app's behalf.
Once you have securely stored the client ID and secret, you can begin making requests to the authorization server's token endpoint using the client credentials grant type. This typically involves sending a POST request to the token endpoint, with the client ID and secret provided in the request body.
You will find the token endpoint URL in the Zentitle2 administration site in the "API Credentials" section. Please be aware that the token endpoint URL provided in the UI is the main URL to the IDP for your account. To make a request to the token endpoint, you will need to append /protocol/openid-connect/token
to the URL.
If the request is successful, the authorization server will return an access token, which can be used to access protected resources on the resource server. The access token may also include a refresh token, which can be used to obtain a new access token when the original one expires.
Here is an example code in JavaScript that gets the access token:
var body = 'grant_type=client_credentials'
+ '&client_id=' + clientId
+ '&client_secret=' + clientSecret;
pm.sendRequest({
url: oauth_url + '/protocol/openid-connect/token',
method: 'POST',
header: {
'Content-Type': 'application/x-www-form-urlencoded',
'Accept': 'application/json'
},
body: {
mode: 'raw',
raw: body
}
}, function (err, res) {
var response = res.json();
environment.set("access_token", response.access_token);
environment.set("token_time", Date.now() + response.expires_in * 1000);
});
Access token should be sent with every API request in the Authorization
header as:
Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI...
Whenever the Authorization section for an endpoint contains more than one role in the list, it means that any of those roles is sufficient to access this endpoint.
API requires one more header to be set with Id of your Zentitle2 tenant, for example:
N-TenantId: t_KRwhRp1yl0_9gsZjE5Yjaw
The Zentitle2 API adheres to the ISO 8601 standard for date and time formatting. For instance, "2021-12-31T23:59:59Z" signifies the final second of the year 2021 in the UTC time zone. The backend systems of Zentitle2 function in UTC, and as such, all DateTime fields returned by the API are also in UTC. To enhance the usability of our API, we accept datetime values in several formats:
2021-12-31T23:59:59Z
- UTC time2021-12-31T23:59:59
- dates without timezone information are assumed to be UTC time2021-12-31T23:59:59+01:00
- time with timezone informationIt's very easy to setup Postman to use with Zentitle2 Management API.
pm.environment.set("baseUrl", pm.environment.get("zentitleApiUrl"));
var setAuthHeaders = () => {
pm.request.headers.add({key: 'N-TenantId', value: pm.environment.get("tenantId") });
pm.request.headers.add({key: 'Authorization', value: pm.environment.get("oauth_token") });
};
if (pm.environment.get("token_time") && pm.environment.get("token_time") > Date.now()) {
setAuthHeaders();
return;
}
var body = 'grant_type=client_credentials'
+ '&client_id=' + pm.environment.get("clientId")
+ '&client_secret=' + pm.environment.get("clientSecret");
pm.sendRequest({
url: pm.environment.get("oauth_url"),
method: 'POST',
header: {
'Content-Type': 'application/x-www-form-urlencoded',
'Accept': 'application/json'
},
body: {
mode: 'raw',
raw: body
}
}, function (err, res) {
var response = res.json();
pm.environment.set("oauth_token", 'Bearer ' + response.access_token);
pm.environment.set("token_time", Date.now() + response.expires_in * 1000);
setAuthHeaders();
});
Set up a new Postman Environment using the JSON configuration file downloaded from Zentitle2.
Status | Meaning | Description |
---|---|---|
200 | OK | Returned after successful GET requests, body contains requested data |
201 | Created | Returned after successful POST request, body contains created object |
204 | No Content | Returned after successful PUT and DELETE requests. Body is empty |
In case of an error, API returns error status code along with ApiError
object if applicable.
Status | Meaning | Description |
---|---|---|
400 | Bad Request | can not parse request body or parameters |
401 | Unauthorized | missing or invalid access token |
402 | Request Failed | parameters were valid but the request failed |
403 | Forbidden | insufficient permissions to perform request |
404 | Not Found | requested resource has not been found |
409 | Conflict | request conflicts with the current state |
422 | Unprocessable entity | request parses correctly, but fails validation |
429 | Too many requests | too many requests hit the API too quickly |
500, 502, 503, 504 | Server errors | something went wrong on Zentitle's end |
Create entitlement using product sku. All other parameters are optional. CustomerId can be used to tracing other entitlement of the same customer. Activation code is also optional and if not provided it will be generated automatically. If 3rd party activation codes source is used it should be provided on this call. This call will create entitlement group what will contain one or more entitlements that's is defined by offering specification.
Properties required to create entitlement
customerId | string or null <CustomerId> Optional customer id |
sku required | string [ 1 .. 20 ] characters Unique offering identifier |
activationCode | string or null^[A-Z0-9][A-Z0-9-]{0,48}[A-Z0-9]$ Optional activation code |
orderRefId | string or null <= 50 characters Optional order reference number |
{- "customerId": "cust_n1bmaIvXnEW7DOl0w5EiHQ",
- "sku": 1000,
- "activationCode": "^AA$",
- "orderRefId": "string"
}
{- "id": "egr_gH1hGJ3BgE1LTRYd9-k1tg",
- "created": "2019-08-24T14:15:22Z",
- "customerId": "cust_n1bmaIvXnEW7DOl0w5EiHQ",
- "customer": {
- "id": "cust_n1bmaIvXnEW7DOl0w5EiHQ",
- "name": "Boeing Corporation",
- "accountRefId": "account12395-32",
- "stats": "Contains customer statistics",
- "disabledDate": "2019-08-24T14:15:22Z",
- "status": "active",
- "customFields": {
- "field1": "value1",
- "field2": null
}
}, - "orderRefId": "string",
- "entitlements": [
- {
- "id": "ent_oH_hPJ3BgEO172Yd9-KuTg",
- "sku": 1000,
- "offeringId": "off_bH_hPJ3BgEO187Yd9-kuTg",
- "offeringName": "Elevate Standard 1year subscription 1seat",
- "entitlementGroupId": "egr_gH1hGJ3BgE1LTRYd9-k1tg",
- "productId": "prod_oH_hPJ3BgEO187Yd9-kuTg",
- "status": "active",
- "exported": true
}
], - "activationCodes": [
- "Y64E-G6QX-56EW-W1BG1"
]
}
This method returns list of entitlements that can be filtered by following query parameters
pageNumber | integer <int32> Example: pageNumber=1 Requested page number |
pageSize | integer <int32> Example: pageSize=10 Maximum number of items per page |
customerId | string or null <CustomerId> Example: customerId=cust_n1bmaIvXnEW7DOl0w5EiHQ Customer identifier |
productId | string or null <ProductId> Example: productId=prod_oH_hPJ3BgE1LTRYd9-kAtg Product identifier |
expand | string or null Example: expand=customer Expand configuration |
Array of objects (EntitlementListModel) Array of items matching specified query filters | |||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||
pageSize | integer <int32> Requested page size or default page size if not specified | ||||||||||||||||||||||||||||||||||
pageNumber | integer <int32> Requested page number of first page otherwise | ||||||||||||||||||||||||||||||||||
elementsTotal | integer <int32> Total number of elements matching filter criteria |
{- "items": [
- {
- "id": "ent_oH_hPJ3BgEO172Yd9-KuTg",
- "group": {
- "id": "egr_gH1hGJ3BgE1LTRYd9-k1tg",
- "created": "2019-08-24T14:15:22Z",
- "customerId": "cust_n1bmaIvXnEW7DOl0w5EiHQ",
- "customer": {
- "id": "cust_n1bmaIvXnEW7DOl0w5EiHQ",
- "name": "Boeing Corporation",
- "accountRefId": "account12395-32",
- "stats": "Contains customer statistics",
- "disabledDate": "2019-08-24T14:15:22Z",
- "status": "active",
- "customFields": {
- "field1": "value1",
- "field2": null
}
}, - "orderRefId": "string"
}, - "sku": 1000,
- "offeringName": "Elevate Standard 1year subscription 1seat",
- "licenseType": "subscription",
- "licenseStartType": "activation",
- "licenseDurationType": "year",
- "licenseDurationCount": 1,
- "seatCount": 1,
- "overdraftSeatLimit": {
- "type": "Absolute",
- "value": 2
}, - "seatsUsed": 1,
- "seatsAvailable": 0,
- "overdraftSeatsUsed": 0,
- "seatUtilizationRate": 100,
- "activationDate": "2019-08-24T14:15:22Z",
- "expiryDate": "2019-08-24T14:15:22Z",
- "exported": true
}
], - "pageSize": 10,
- "pageNumber": 1,
- "elementsTotal": 1
}
This method returns entitlement details
entitlementId required | string <EntitlementId> Example: ent_oH_hPJ3BgEO172Yd9-KuTg Entitlement identifier |
expand | string or null Example: expand=product,attributes,features,offering Expand configuration |
id | string <EntitlementId> Entitlement identifier | ||||||||||||||||||||||||||||||||||||
sku | string Unique offering identifier | ||||||||||||||||||||||||||||||||||||
offeringName | string Offering name | ||||||||||||||||||||||||||||||||||||
LicenseType (string) License type | |||||||||||||||||||||||||||||||||||||
One of string (LicenseType) Enum: "subscription" "perpetual" License type | |||||||||||||||||||||||||||||||||||||
LicenseStartType (string) License start type | |||||||||||||||||||||||||||||||||||||
One of string (LicenseStartType) Enum: "activation" "entitlementCreation" "custom" "manualActivation" License start type | |||||||||||||||||||||||||||||||||||||
IntervalType (string) License duration type | |||||||||||||||||||||||||||||||||||||
One of string (IntervalType) Enum: "none" "day" "week" "month" "year" "hour" "minute" License duration type | |||||||||||||||||||||||||||||||||||||
licenseDurationCount | integer or null License duration count | ||||||||||||||||||||||||||||||||||||
hasMaintenance | boolean Maintenance enabled | ||||||||||||||||||||||||||||||||||||
Interval (object) Maintenance duration | |||||||||||||||||||||||||||||||||||||
One of
| |||||||||||||||||||||||||||||||||||||
seatCount | integer <int32> Seat capacity of the entitlement (excluding overdraft) | ||||||||||||||||||||||||||||||||||||
OverdraftSeatLimitModel (object) Overdraft seat limit | |||||||||||||||||||||||||||||||||||||
One of
| |||||||||||||||||||||||||||||||||||||
overdraftSeatCount | integer or null <int32> Overdraft seats available on entitlement. Null if unlimited. | ||||||||||||||||||||||||||||||||||||
seatsUsed | integer <int32> Number of seats currently in use including overdraft seats | ||||||||||||||||||||||||||||||||||||
overdraftSeatsUsed | integer or null <int32> Number of overdraft seats currently in use. Null if OverdraftSeatLimit is None. | ||||||||||||||||||||||||||||||||||||
seatUtilizationRate | integer <int32> Percentage of seats that are currently occupied [(SeatsUsed / SeatCount) x 100%] | ||||||||||||||||||||||||||||||||||||
seatsAvailable | integer or null <int32> Number of seats available to activate. Null if unlimited. | ||||||||||||||||||||||||||||||||||||
provisioningDate | string or null <date-time> Date when entitlement provisioning was started | ||||||||||||||||||||||||||||||||||||
activationDate | string or null <date-time> Date when entitlement was activated | ||||||||||||||||||||||||||||||||||||
expiryDate | string or null <date-time> Date when entitlement expires | ||||||||||||||||||||||||||||||||||||
maintenanceExpiryDate | string or null <date-time> Date when maintenance expires | ||||||||||||||||||||||||||||||||||||
disabledDate | string or null <date-time> Date when entitlement was disabled | ||||||||||||||||||||||||||||||||||||
ConcurrencyMode (string) Concurrency mode | |||||||||||||||||||||||||||||||||||||
One of string (ConcurrencyMode) Enum: "concurrent" "nodeLock" Concurrency mode | |||||||||||||||||||||||||||||||||||||
Interval (object) Lease period | |||||||||||||||||||||||||||||||||||||
One of
| |||||||||||||||||||||||||||||||||||||
Interval (object) Offline lease period | |||||||||||||||||||||||||||||||||||||
One of
| |||||||||||||||||||||||||||||||||||||
Interval (object) Grace period | |||||||||||||||||||||||||||||||||||||
One of
| |||||||||||||||||||||||||||||||||||||
Interval (object) Linger period | |||||||||||||||||||||||||||||||||||||
One of
| |||||||||||||||||||||||||||||||||||||
gracePeriodExpiry | string or null <date-time> Date when entitlement grace period expires | ||||||||||||||||||||||||||||||||||||
EntitlementStatus (string) Status of entitlement | |||||||||||||||||||||||||||||||||||||
One of string (EntitlementStatus) Enum: "active" "gracePeriod" "expired" "disabled" "exported" "created" "customerDisabled" Status of entitlement | |||||||||||||||||||||||||||||||||||||
Array of objects or null (EntitlementFeatureModel) Array of entitlement features | |||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||
Array of objects or null (EntitlementAttributeModel) Array of entitlement attributes | |||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||
productId | string <ProductId> Id of product licensed by entitlement | ||||||||||||||||||||||||||||||||||||
(ProductModel (object or null)) Expanded product object | |||||||||||||||||||||||||||||||||||||
One of
| |||||||||||||||||||||||||||||||||||||
exported | boolean Indicates if entitlement has been exported | ||||||||||||||||||||||||||||||||||||
(EntitlementExportModel (object or null)) Expanded export object (if Exported = true) | |||||||||||||||||||||||||||||||||||||
One of
| |||||||||||||||||||||||||||||||||||||
entitlementGroupId | string or null <EntitlementGroupId> Entitlement group identifier | ||||||||||||||||||||||||||||||||||||
planName | string Plan name | ||||||||||||||||||||||||||||||||||||
object or null Actions possible to execute with API urls | |||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||
offeringId | string <OfferingId> Offering identifier | ||||||||||||||||||||||||||||||||||||
(EntitlementOfferingModel (object or null)) Expanded offering object | |||||||||||||||||||||||||||||||||||||
One of
| |||||||||||||||||||||||||||||||||||||
(EntitlementEditInfoModel (object or null)) Information about edited fields | |||||||||||||||||||||||||||||||||||||
One of
| |||||||||||||||||||||||||||||||||||||
(PlanType (string or null)) Plan type | |||||||||||||||||||||||||||||||||||||
One of string or null (PlanType) Enum: "trial" "paid" "notForResale" "internal" "beta" "free" Plan type |
{- "id": "ent_oH_hPJ3BgEO172Yd9-KuTg",
- "sku": 1000,
- "offeringName": "Elevate Standard 1year subscription 1seat",
- "licenseType": "subscription",
- "licenseStartType": "activation",
- "licenseDurationType": "year",
- "licenseDurationCount": 1,
- "hasMaintenance": true,
- "maintenanceDuration": {
- "type": "none",
- "count": 1
}, - "seatCount": 10,
- "overdraftSeatLimit": {
- "type": "Absolute",
- "value": 2
}, - "overdraftSeatCount": 2,
- "seatsUsed": 5,
- "overdraftSeatsUsed": 0,
- "seatUtilizationRate": 50,
- "seatsAvailable": 7,
- "provisioningDate": "2019-08-24T14:15:22Z",
- "activationDate": "2019-08-24T14:15:22Z",
- "expiryDate": "2019-08-24T14:15:22Z",
- "maintenanceExpiryDate": "2019-08-24T14:15:22Z",
- "disabledDate": "2019-08-24T14:15:22Z",
- "concurrencyMode": "concurrent",
- "leasePeriod": {
- "type": "none",
- "count": 1
}, - "offlineLeasePeriod": {
- "type": "none",
- "count": 1
}, - "gracePeriod": {
- "type": "none",
- "count": 1
}, - "lingerPeriod": {
- "type": "none",
- "count": 1
}, - "gracePeriodExpiry": "2019-08-24T14:15:22Z",
- "status": "active",
- "features": [
- {
- "id": "feat_B2ghPJ3BgE1LTRYd9-kAtg",
- "type": "elementPool",
- "key": "Workers",
- "value": 10,
- "used": 5,
- "edited": true,
- "overdraftLimit": {
- "type": "Absolute",
- "value": 2
}
}
], - "attributes": [
- {
- "id": "atr_A1dhPJ3BgE1LTRYd9-kAtg",
- "type": "string",
- "key": "Version",
- "value": "1.0.0",
- "edited": true
}
], - "productId": "prod_oH_hPJ3BgEO187Yd9-kuTg",
- "product": {
- "id": "prod_Au_WkJrFzE2HStEdPdRing",
- "name": "Elevate",
- "leasePeriod": {
- "type": "none",
- "count": 1
}, - "offlineLeasePeriod": {
- "type": "none",
- "count": 1
}, - "gracePeriod": {
- "type": "none",
- "count": 1
}, - "lingerPeriod": {
- "type": "none",
- "count": 1
}
}, - "exported": true,
- "export": {
- "exportDate": "2019-08-24T14:15:22Z",
- "lastExportDate": "2019-08-24T14:15:22Z",
- "outOfSync": true,
- "localLicenseServer": {
- "id": "lls_oH_hPJ3BgEO172Yd9-KuTg",
- "name": "OffsiteNetwork_85083",
- "activationId": "string",
- "activated": "2019-08-24T14:15:22Z",
- "lastLease": "2019-08-24T14:15:22Z",
- "leaseExpiry": "2019-08-24T14:15:22Z",
- "deactivated": "2019-08-24T14:15:22Z",
- "licenseActive": true
}
}, - "entitlementGroupId": "egr_gH1hGJ3BgE1LTRYd9-k1tg",
- "planName": "1 month subscription",
- "actions": "{\"Activate\", \"/api/entitlements/ent_oH_hPJ3BgEO172Yd9/activate\"}",
- "offeringId": "off_bH_hPJ3BgEO187Yd9-kuTg",
- "offering": {
- "id": "off_bH_hPJ3BgEO187Yd9-kuTg",
- "seatCount": 1,
- "overdraftSeatLimit": {
- "type": "Absolute",
- "value": 2
}, - "attributes": [
- {
- "id": "atr_A1dhPJ3BgE1LTRYd9-kAtg",
- "key": "version",
- "value": "1.0.0"
}
], - "features": [
- {
- "id": "feat_B2ghPJ3BgE1LTRYd9-kAtg",
- "key": "Workers",
- "value": 10,
- "overdraftLimit": {
- "type": "Absolute",
- "value": 2
}
}
]
}, - "editInfo": {
- "leasePeriodEdited": true,
- "gracePeriodEdited": true,
- "lingerPeriodEdited": true,
- "offlineLeasePeriodEdited": true,
- "seatCountEdited": true,
- "overdraftSeatLimitEdited": true
}, - "planType": "Paid"
}
Allows to change settings of selected entitlement, including attributes and features. Only provided features and attributes will be processed. If the caller has no intentions to update features or attributes those field can be sent as null and all values will remain intact
entitlementId required | string <EntitlementId> Example: ent_oH_hPJ3BgEO172Yd9-KuTg Entitlement identifier |
forceSeatCount | boolean Force seat count change |
Properties required to update entitlement
seatCount | integer or null <int32> [ 1 .. 2147483647 ] Number of seats | ||||||
(OverdraftSeatLimitApiRequest (object or null)) Overdraft seat limit | |||||||
One of
| |||||||
expiryDate | string or null <date-time> Entitlement expiration date | ||||||
hasMaintenance | boolean or null Maintenance Enabled | ||||||
maintenanceExpiryDate | string or null <date-time> Maintenance Expiry Date | ||||||
(Interval (object or null)) Lease period | |||||||
One of
| |||||||
(Interval (object or null)) Offline lease period | |||||||
One of
| |||||||
(Interval (object or null)) Grace period | |||||||
One of
| |||||||
(Interval (object or null)) Linger period | |||||||
One of
| |||||||
Array of objects (UpdateAttribute) Array of attributes to update | |||||||
Array
| |||||||
Array of objects (UpdateFeature) Array of features to update | |||||||
Array
|
{- "seatCount": 10,
- "overdraftSeatLimit": {
- "type": "Absolute",
- "value": 2
}, - "expiryDate": "2019-08-24T14:15:22Z",
- "hasMaintenance": true,
- "maintenanceExpiryDate": "2019-08-24T14:15:22Z",
- "leasePeriod": {
- "type": "none",
- "count": 1
}, - "offlineLeasePeriod": {
- "type": "none",
- "count": 1
}, - "gracePeriod": {
- "type": "none",
- "count": 1
}, - "lingerPeriod": {
- "type": "none",
- "count": 1
}, - "attributes": [
- {
- "id": "atr_A1dhPJ3BgE1LTRYd9-kAtg",
- "value": "1.0.0"
}
], - "features": [
- {
- "id": "feat_B2ghPJ3BgE1LTRYd9-kAtg",
- "value": 10,
- "overdraftLimit": {
- "type": "Absolute",
- "value": 2
}
}
]
}
{- "details": "string",
- "error": "string",
- "errorCode": "string",
- "validationErrors": [
- {
- "message": "string",
- "propertyName": "string",
- "code": "string"
}
]
}
This method change state of entitlement that seats can be activated. Depending of offering configuration entitlement can be activated during entitlement creation
entitlementId required | string <EntitlementId> Example: ent_oH_hPJ3BgEO172Yd9-KuTg Entitlement identifier |
{- "details": "string",
- "error": "string",
- "errorCode": "string",
- "validationErrors": [
- {
- "message": "string",
- "propertyName": "string",
- "code": "string"
}
]
}
This method allows the change of an entitlement offering. This method can only modify the entitlement to a different offering if the new offering belongs to the same product. If the new offering has a lower seat count than the seats currently used in the entitlement, it will fail unless the 'forceSeatCount' query string parameter is set to true. If the seat count or overdraft settings were manually edited before, they will not be changed by this method. This method will also update all entitlement features and attributes to match the new offering, unless they were previously changed. All usage count feature usages will be reset. If the entitlement has not been activated yet and the offering has been configured to activate the entitlement upon creation, it will be applied by this method. For subscription offerings, it will also update the entitlement expiry date to match the new offering, starting from the current date.
entitlementId required | string <EntitlementId> Example: ent_oH_hPJ3BgEO172Yd9-KuTg Entitlement identifier |
forceSeatCount | boolean Force seat count change |
Properties required to change entitlement offering
offeringId required | string <OfferingId> Offering identifier |
{- "offeringId": "off_bH_hPJ3BgEO187Yd9-kuTg"
}
{- "details": "string",
- "error": "string",
- "errorCode": "string",
- "validationErrors": [
- {
- "message": "string",
- "propertyName": "string",
- "code": "string"
}
]
}
This method allows to reset entitlement overrides to match current product configuration. Each field can be reset individually by setting corresponding field to true. This method can also to restore current configuration for features and attributes by sending appropriate keys literals in features and attributes arrays. If any of requested fields was not overridden but current product configuration is different from default it still will be updated with current value from product configuration. If reset seatCount or overdraftSeatLimit fields where used and current product configuration results in lower seat count than seats currently used in entitlement it will fail unless forceSeatCount query string parameter is set to true.
entitlementId required | string <EntitlementId> Example: ent_oH_hPJ3BgEO172Yd9-KuTg Entitlement identifier |
forceSeatCount | boolean Force seat count change |
Properties required to reset entitlement overrides
resetLeasePeriod | boolean or null Reset lease period |
resetOfflineLeasePeriod | boolean or null Reset offline lease period |
resetGracePeriod | boolean or null Reset grace period |
resetLingerPeriod | boolean or null Reset linger period |
resetSeatCount | boolean or null Reset seat count |
resetOverdraftSeatLimit | boolean or null Reset overdraft seat limit |
resetFeatures | Array of strings or null Reset features from array |
resetAttributes | Array of strings or null Reset attributes from array |
{- "resetLeasePeriod": true,
- "resetOfflineLeasePeriod": true,
- "resetGracePeriod": true,
- "resetLingerPeriod": true,
- "resetSeatCount": true,
- "resetOverdraftSeatLimit": true,
- "resetFeatures": [
- "workers"
], - "resetAttributes": [
- "version"
]
}
{- "details": "string",
- "error": "string",
- "errorCode": "string",
- "validationErrors": [
- {
- "message": "string",
- "propertyName": "string",
- "code": "string"
}
]
}
Renews a subscription entitlement. This method is specially designed for renewal of previously activated subscription entitlements. The new expiry date is determined using following rules:
This method also resets all usage count feature usage at the beginning of the new subscription period.
entitlementId required | string <EntitlementId> Example: ent_oH_hPJ3BgEO172Yd9-KuTg Entitlement identifier |
{- "details": "string",
- "error": "string",
- "errorCode": "string",
- "validationErrors": [
- {
- "message": "string",
- "propertyName": "string",
- "code": "string"
}
]
}
This method returns list of entitlement activation that can be filtered by following query parameters
entitlementId required | string <EntitlementId> Example: ent_oH_hPJ3BgEO172Yd9-KuTg Entitlement identifier |
pageNumber | integer <int32> Example: pageNumber=1 Requested page number |
pageSize | integer <int32> Example: pageSize=10 Maximum number of items per page |
seatId | string or null Example: seatId=user@boeing.com Seat id |
Array of objects (ActivationModel) Array of items matching specified query filters | |||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||
pageSize | integer <int32> Requested page size or default page size if not specified | ||||||||||||||||||||||||||||
pageNumber | integer <int32> Requested page number of first page otherwise | ||||||||||||||||||||||||||||
elementsTotal | integer <int32> Total number of elements matching filter criteria |
{- "items": [
- {
- "id": "act_oH_hPJ3BgE0LTRYd9-k1tg",
- "activationMethod": "activationCode",
- "status": "active",
- "leaseExpiry": "2019-08-24T14:15:22Z",
- "productId": "prod_oH_hPJ3BgEO187Yd9-kuTg",
- "entitlementId": "ent_oH_hPJ3BgEO172Yd9-KuTg",
- "seatId": "user@boeing.com",
- "seatName": "User Boeing",
- "username": "User Boeing",
- "activated": "2019-08-24T14:15:22Z",
- "lastLease": "2019-08-24T14:15:22Z",
- "lingerExpiry": "2019-08-24T14:15:22Z",
- "deactivated": "2019-08-24T14:15:22Z",
- "mode": "online"
}
], - "pageSize": 10,
- "pageNumber": 1,
- "elementsTotal": 1
}
This method returns log of activations activity on the entitlement
entitlementId required | string <EntitlementId> Example: ent_oH_hPJ3BgEO172Yd9-KuTg Entitlement identifier |
pageNumber | integer <int32> Example: pageNumber=1 Requested page number |
pageSize | integer <int32> Example: pageSize=10 Maximum number of items per page |
seatId | string or null Example: seatId=john.doe@elevate.com Seat id |
dateFrom | string or null <date-time> Date from |
dateTo | string or null <date-time> Date to |
Array of objects (ActivationLogModel) Array of items matching specified query filters | |||||||||||||
Array
| |||||||||||||
pageSize | integer <int32> Requested page size or default page size if not specified | ||||||||||||
pageNumber | integer <int32> Requested page number of first page otherwise | ||||||||||||
elementsTotal | integer <int32> Total number of elements matching filter criteria |
{- "items": [
- {
- "activationId": "act_oH_hPJ3BgE0LTRYd9-k1tg",
- "seatId": "user@boeing.com",
- "timestamp": "2019-08-24T14:15:22Z",
- "operation": 1,
- "leaseExpiry": "2019-08-24T14:15:22Z",
- "location": {
- "ipAddress": "10.20.30.40",
- "countryCode": "US",
- "regionCode": "NY"
}
}
], - "pageSize": 10,
- "pageNumber": 1,
- "elementsTotal": 1
}
Only usage count features can be reset
entitlementId required | string <EntitlementId> Example: ent_oH_hPJ3BgEO172Yd9-KuTg Entitlement identifier |
featureId required | string <FeatureDefinitionId> Example: feat_B2ghPJ3BgE1LTRYd9-kAtg Feature identifier |
{- "details": "string",
- "error": "string",
- "errorCode": "string",
- "validationErrors": [
- {
- "message": "string",
- "propertyName": "string",
- "code": "string"
}
]
}
This method exports the entitlement, freezes it, and generates a token containing all the necessary data for import into the Local License Server
entitlementId required | string <EntitlementId> Example: ent_oH_hPJ3BgEO172Yd9-KuTg Entitlement identifier |
localLicenseServerId required | string <LocalLicenseServerId> Local license server that the entitlement should be imported to |
token | string Token for importing the entitlement into the local license server |
{- "localLicenseServerId": "string"
}
{- "token": "string"
}
This method generates a token containing the up-to-date entitlement data for import into the Local License Server
entitlementId required | string <EntitlementId> Example: ent_oH_hPJ3BgEO172Yd9-KuTg Entitlement identifier |
token | string Token for importing the entitlement into the local license server |
{- "token": "string"
}
This method ends the current LLS export session and changes the entitlement host back to cloud
entitlementId required | string <EntitlementId> Example: ent_oH_hPJ3BgEO172Yd9-KuTg Entitlement identifier |
token | string or null Token received when deleting the entitlement from the Local License Server |
importWithoutToken | boolean True if the entitlement should be imported without the token, false otherwise |
{- "token": "string",
- "importWithoutToken": true
}
{- "details": "string",
- "error": "string",
- "errorCode": "string",
- "validationErrors": [
- {
- "message": "string",
- "propertyName": "string",
- "code": "string"
}
]
}
This method triggers provision webhook event for the entitlement
entitlementId required | string <EntitlementId> Example: ent_oH_hPJ3BgEO172Yd9-KuTg Entitlement identifier |
{- "details": "string",
- "error": "string",
- "errorCode": "string",
- "validationErrors": [
- {
- "message": "string",
- "propertyName": "string",
- "code": "string"
}
]
}
This method resets provision date for the entitlement
entitlementId required | string <EntitlementId> Example: ent_oH_hPJ3BgEO172Yd9-KuTg Entitlement identifier |
{- "details": "string",
- "error": "string",
- "errorCode": "string",
- "validationErrors": [
- {
- "message": "string",
- "propertyName": "string",
- "code": "string"
}
]
}
This method disables entitlement. Disabled entitlement cannot be activated.
entitlementId required | string <EntitlementId> Example: ent_oH_hPJ3BgEO172Yd9-KuTg Entitlement identifier |
{- "details": "string",
- "error": "string",
- "errorCode": "string",
- "validationErrors": [
- {
- "message": "string",
- "propertyName": "string",
- "code": "string"
}
]
}
This method re-enables entitlement. Enabled entitlement can be used normally.
entitlementId required | string <EntitlementId> Example: ent_oH_hPJ3BgEO172Yd9-KuTg Entitlement identifier |
{- "details": "string",
- "error": "string",
- "errorCode": "string",
- "validationErrors": [
- {
- "message": "string",
- "propertyName": "string",
- "code": "string"
}
]
}
Activate entitlement for provided seat id and create activation that can be used feature management This method will work only when entitlement was created before create activation is called.
Properties required to create activation
productId required | string <ProductId> Id of a product that will be activated | ||||
activationCode | string or null <= 50 characters Activation code DEPRECATED (will be removed): Use activationCredentials instead | ||||
(ActivationCredentialsModel (object or null)) Credentials required to activate the entitlement | |||||
One of
| |||||
seatId required | string [ 1 .. 100 ] characters Identifier that will identify computer or account for which activation will be created | ||||
seatName | string or null <= 50 characters Optional name of seat for the activation |
{- "productId": "prod_XbhrtXtWRUCzpSF8JPqLTw",
- "activationCode": null,
- "activationCredentials": {
- "code": "Y64E-GJQP-56EW-WEBG",
- "type": "activationCode"
}, - "seatId": "john.doe@elevate.com",
- "seatName": "John Doe"
}
{- "id": "act_oH_hPJ3BgE0LTRYd9-k1tg",
- "activationMethod": "activationCode",
- "status": "active",
- "leaseExpiry": "2019-08-24T14:15:22Z",
- "productId": "prod_oH_hPJ3BgEO187Yd9-kuTg",
- "entitlementId": "ent_oH_hPJ3BgEO172Yd9-KuTg",
- "seatId": "user@boeing.com",
- "seatName": "User Boeing",
- "username": "User Boeing",
- "activated": "2019-08-24T14:15:22Z",
- "lastLease": "2019-08-24T14:15:22Z",
- "lingerExpiry": "2019-08-24T14:15:22Z",
- "deactivated": "2019-08-24T14:15:22Z",
- "mode": "online"
}
Refresh lease time of provided seat activation
Properties required to refresh activation
activationId required | string <ActivationId> Id of a seat activation that will be refreshed |
id | string <ActivationId> Activation identifier |
ActivationMethod (string) Activation method | |
One of string (ActivationMethod) Enum: "activationCode" "openIdToken" "password" Activation method | |
ActivationStatus (string) Activation status | |
One of string (ActivationStatus) Enum: "active" "linger" "leaseExpired" Activation status | |
leaseExpiry | string <date-time> Exclusive seat lease expiry date |
productId | string or null <ProductId> Id of product licensed by entitlement |
entitlementId | string or null <EntitlementId> Id of entitlement |
seatId | string Unique id of seat provided by external system |
seatName | string or null Optional name of seat provided by external system |
username | string or null Optional name of the user |
activated | string <date-time> Activation creation date |
lastLease | string <date-time> Date when activation was created/last extended |
lingerExpiry | string or null <date-time> Date until this seat cannot be reused |
deactivated | string or null <date-time> Date activation was deactivated and cannot be longer used |
ActivationMode (string) Activation mode | |
One of string (ActivationMode) Enum: "online" "offline" Activation mode |
{- "activationId": "act_oH_hPJ3BgE0LTRYd9-k1tg"
}
{- "id": "act_oH_hPJ3BgE0LTRYd9-k1tg",
- "activationMethod": "activationCode",
- "status": "active",
- "leaseExpiry": "2019-08-24T14:15:22Z",
- "productId": "prod_oH_hPJ3BgEO187Yd9-kuTg",
- "entitlementId": "ent_oH_hPJ3BgEO172Yd9-KuTg",
- "seatId": "user@boeing.com",
- "seatName": "User Boeing",
- "username": "User Boeing",
- "activated": "2019-08-24T14:15:22Z",
- "lastLease": "2019-08-24T14:15:22Z",
- "lingerExpiry": "2019-08-24T14:15:22Z",
- "deactivated": "2019-08-24T14:15:22Z",
- "mode": "online"
}
Delete activation on connected entitlement. After this operation another activate operation can be process with same or different seat id This method will also return all reusable features checked out on this activation. There are some cases when activation cannot be deleted due to system constraints (one of these constraints is that activation may be in the linger period). If that's the case, 'force' query string parameter can be used to force the activation to delete.
activationId required | string <ActivationId> Example: act_oH_hPJ3BgE0LTRYd9-k1tg Activation identifier |
force | boolean Example: force=true Force activation deletion disregarding system constraints |
{- "details": "string",
- "error": "string",
- "errorCode": "string",
- "validationErrors": [
- {
- "message": "string",
- "propertyName": "string",
- "code": "string"
}
]
}
This method returns activation details including information about attributes and available features
activationId required | string <ActivationId> Example: act_oH_hPJ3BgE0LTRYd9-k1tg Activation identifier |
id | string <ActivationId> Activation identifier | ||||||||||
ActivationMethod (string) Activation method | |||||||||||
One of string (ActivationMethod) Enum: "activationCode" "openIdToken" "password" Activation method | |||||||||||
ActivationStatus (string) Activation status | |||||||||||
One of string (ActivationStatus) Enum: "active" "linger" "leaseExpired" Activation status | |||||||||||
leaseExpiry | string <date-time> Exclusive seat lease expiry date | ||||||||||
productId | string or null <ProductId> Id of product licensed by entitlement | ||||||||||
entitlementId | string or null <EntitlementId> Id of entitlement | ||||||||||
seatId | string Unique id of seat provided by external system | ||||||||||
seatName | string or null Optional name of seat provided by external system | ||||||||||
username | string or null Optional name of the user | ||||||||||
activated | string <date-time> Activation creation date | ||||||||||
lastLease | string <date-time> Date when activation was created/last extended | ||||||||||
lingerExpiry | string or null <date-time> Date until this seat cannot be reused | ||||||||||
deactivated | string or null <date-time> Date activation was deactivated and cannot be longer used | ||||||||||
ActivationMode (string) Activation mode | |||||||||||
One of string (ActivationMode) Enum: "online" "offline" Activation mode | |||||||||||
entitlementExpiryDate | string or null <date-time> Entitlement expiry date (null if not expires) | ||||||||||
entitlementGracePeriodExpiry | string or null <date-time> Entitlement grace period expiry date (null if not used) | ||||||||||
(EntitlementStatus (string or null)) Entitlement status | |||||||||||
One of string or null (EntitlementStatus) Enum: "active" "gracePeriod" "expired" "disabled" "exported" "created" "customerDisabled" Entitlement status | |||||||||||
Array of objects (ActivationAttributeModel) Array of activation attributes | |||||||||||
Array
| |||||||||||
Array of objects (ActivationFeatureModel) Array of activation features | |||||||||||
Array
|
{- "id": "act_oH_hPJ3BgE0LTRYd9-k1tg",
- "activationMethod": "activationCode",
- "status": "active",
- "leaseExpiry": "2019-08-24T14:15:22Z",
- "productId": "prod_oH_hPJ3BgEO187Yd9-kuTg",
- "entitlementId": "ent_oH_hPJ3BgEO172Yd9-KuTg",
- "seatId": "user@boeing.com",
- "seatName": "User Boeing",
- "username": "User Boeing",
- "activated": "2019-08-24T14:15:22Z",
- "lastLease": "2019-08-24T14:15:22Z",
- "lingerExpiry": "2019-08-24T14:15:22Z",
- "deactivated": "2019-08-24T14:15:22Z",
- "mode": "online",
- "entitlementExpiryDate": "2019-08-24T14:15:22Z",
- "entitlementGracePeriodExpiry": "2019-08-24T14:15:22Z",
- "entitlementStatus": "active",
- "attributes": [
- {
- "key": "Version",
- "type": "string",
- "value": "1.0.0"
}
], - "features": [
- {
- "key": "Workers",
- "type": "elementPool",
- "active": 1,
- "available": 9,
- "total": 10
}
]
}
This method checkouts some amount feature. Feature can be used permanently (usage count) or can be returned (element pool) using return feature method.
activationId required | string <ActivationId> Example: act_oH_hPJ3BgE0LTRYd9-k1tg Activation identifier |
Properties required to checkout feature
key required | string [ 1 .. 50 ] characters Feature key |
amount required | integer <int64> [ 1 .. 9223372036854780000 ] Amount to checkout |
{- "key": "Workers",
- "amount": 1
}
{- "details": "string",
- "error": "string",
- "errorCode": "string",
- "validationErrors": [
- {
- "message": "string",
- "propertyName": "string",
- "code": "string"
}
]
}
This method returns amount of feature. Only element pool features are allowed to be returned
activationId required | string <ActivationId> Example: act_oH_hPJ3BgE0LTRYd9-k1tg Activation identifier |
Properties required to return feature
key required | string [ 1 .. 50 ] characters Feature key |
amount required | integer <int64> [ 1 .. 9223372036854780000 ] Amount of feature to return |
{- "key": "Workers",
- "amount": 1
}
{- "details": "string",
- "error": "string",
- "errorCode": "string",
- "validationErrors": [
- {
- "message": "string",
- "propertyName": "string",
- "code": "string"
}
]
}
Activate entitlement for provided seat id and create activation for offline usage This method will work only when entitlement was created before create activation is called.
Encrypted offline activation token
token required | string non-empty Encrypted offline activation token, containing all the info required for the seat activation |
token | string Signed and encrypted offline activation token, holding the activation's state |
{- "token": "string"
}
{- "token": "string"
}
Deactivate offline activation on connected entitlement. After this operation, another activate operation can be process with same or different seat id
Encrypted offline deactivation token
token required | string non-empty Encrypted offline deactivation token |
{- "token": "string"
}
{- "details": "string",
- "error": "string",
- "errorCode": "string",
- "validationErrors": [
- {
- "message": "string",
- "propertyName": "string",
- "code": "string"
}
]
}
Refresh offline lease time of the provided seat activation
Properties required to refresh activation
activationId required | string <ActivationId> Id of a seat activation that will be refreshed |
token | string Signed and encrypted offline refresh token, holding the refreshed activation's state |
{- "activationId": "act_oH_hPJ3BgE0LTRYd9-k1tg"
}
{- "token": "string"
}
This method will add end user to the entitlement group. If end user is already added to the entitlement group, it will be ignored.
entitlementGroupId required | string <EntitlementGroupId> Example: egr_gH1hGJ3BgE1LTRYd9-k1tg Entitlement group identifier |
Properties required to add end user to entitlement group
id required | string <EndUserId> User identifier |
{- "id": "eu_Xx_XkJrFzE2HStEdPdRing"
}
{- "details": "string",
- "error": "string",
- "errorCode": "string",
- "validationErrors": [
- {
- "message": "string",
- "propertyName": "string",
- "code": "string"
}
]
}
This method will remove end user from the entitlement group. If end user is not authorized for this entitlement group, error will be returned.
entitlementGroupId required | string <EntitlementGroupId> Example: egr_gH1hGJ3BgE1LTRYd9-k1tg Entitlement group identifier |
Properties required to remove end user from entitlement group
id required | string <EndUserId> User identifier |
{- "id": "eu_Xx_XkJrFzE2HStEdPdRing"
}
{- "details": "string",
- "error": "string",
- "errorCode": "string",
- "validationErrors": [
- {
- "message": "string",
- "propertyName": "string",
- "code": "string"
}
]
}
This method returns list of end users authorized for the entitlement group.
entitlementGroupId required | string <EntitlementGroupId> Example: egr_gH1hGJ3BgE1LTRYd9-k1tg Entitlement group identifier |
pageNumber | integer <int32> Example: pageNumber=1 Requested page number |
pageSize | integer <int32> Example: pageSize=10 Maximum number of items per page |
Array of objects (AuthorizedUserModel) Array of items matching specified query filters | |||||||||
Array
| |||||||||
pageSize | integer <int32> Requested page size or default page size if not specified | ||||||||
pageNumber | integer <int32> Requested page number of first page otherwise | ||||||||
elementsTotal | integer <int32> Total number of elements matching filter criteria |
{- "items": [
- {
- "id": "eu_Xx_XkJrFzE2HStEdPdRing",
- "firstName": "John",
- "lastName": "Doe",
- "email": "john.doe@example.com"
}
], - "pageSize": 10,
- "pageNumber": 1,
- "elementsTotal": 1
}
This method returns entitlement group list. Amount of data returned can be adjusted by using query expand parameter configuration
pageNumber | integer <int32> Example: pageNumber=1 Requested page number |
pageSize | integer <int32> Example: pageSize=10 Maximum number of items per page |
customerId | string or null <CustomerId> Example: customerId=cust_n1bmaIvXnEW7DOl0w5EiHQ Customer identifier |
expand | string or null Example: expand=customer Expand configuration |
Array of objects (EntitlementGroupModel) Array of items matching specified query filters | |||||||||||||||
Array
| |||||||||||||||
pageSize | integer <int32> Requested page size or default page size if not specified | ||||||||||||||
pageNumber | integer <int32> Requested page number of first page otherwise | ||||||||||||||
elementsTotal | integer <int32> Total number of elements matching filter criteria |
{- "items": [
- {
- "id": "egr_gH1hGJ3BgE1LTRYd9-k1tg",
- "created": "2019-08-24T14:15:22Z",
- "customerId": "cust_n1bmaIvXnEW7DOl0w5EiHQ",
- "customer": {
- "id": "cust_n1bmaIvXnEW7DOl0w5EiHQ",
- "name": "Boeing Corporation",
- "accountRefId": "account12395-32",
- "stats": "Contains customer statistics",
- "disabledDate": "2019-08-24T14:15:22Z",
- "status": "active",
- "customFields": {
- "field1": "value1",
- "field2": null
}
}, - "orderRefId": "string",
- "entitlements": [
- {
- "id": "ent_oH_hPJ3BgEO172Yd9-KuTg",
- "sku": 1000,
- "offeringId": "off_bH_hPJ3BgEO187Yd9-kuTg",
- "offeringName": "Elevate Standard 1year subscription 1seat",
- "entitlementGroupId": "egr_gH1hGJ3BgE1LTRYd9-k1tg",
- "productId": "prod_oH_hPJ3BgEO187Yd9-kuTg",
- "status": "active",
- "exported": true
}
], - "activationCodes": [
- "Y64E-G6QX-56EW-W1BG1"
]
}
], - "pageSize": 10,
- "pageNumber": 1,
- "elementsTotal": 1
}
This method returns entitlement group details. Amount of data returned can be adjusted by using query expand parameter configuration
entitlementGroupId required | string <EntitlementGroupId> Example: egr_gH1hGJ3BgE1LTRYd9-k1tg Entitlement group identifier |
expand | string or null Example: expand=customer,entitlements Expand configuration |
id | string <EntitlementGroupId> Entitlement group identifier | ||||||||||||||||||||||||
created | string <date-time> Entitlement group creation date | ||||||||||||||||||||||||
customerId | string or null <CustomerId> Customer identifier | ||||||||||||||||||||||||
(CustomerModel (object or null)) Expanded customer object | |||||||||||||||||||||||||
One of
| |||||||||||||||||||||||||
orderRefId | string or null Order reference number | ||||||||||||||||||||||||
Array of objects or null (EntitlementBasicModel) Array of entitlements | |||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||
activationCodes | Array of strings Array of activation codes |
{- "id": "egr_gH1hGJ3BgE1LTRYd9-k1tg",
- "created": "2019-08-24T14:15:22Z",
- "customerId": "cust_n1bmaIvXnEW7DOl0w5EiHQ",
- "customer": {
- "id": "cust_n1bmaIvXnEW7DOl0w5EiHQ",
- "name": "Boeing Corporation",
- "accountRefId": "account12395-32",
- "stats": "Contains customer statistics",
- "disabledDate": "2019-08-24T14:15:22Z",
- "status": "active",
- "customFields": {
- "field1": "value1",
- "field2": null
}
}, - "orderRefId": "string",
- "entitlements": [
- {
- "id": "ent_oH_hPJ3BgEO172Yd9-KuTg",
- "sku": 1000,
- "offeringId": "off_bH_hPJ3BgEO187Yd9-kuTg",
- "offeringName": "Elevate Standard 1year subscription 1seat",
- "entitlementGroupId": "egr_gH1hGJ3BgE1LTRYd9-k1tg",
- "productId": "prod_oH_hPJ3BgEO187Yd9-kuTg",
- "status": "active",
- "exported": true
}
], - "activationCodes": [
- "Y64E-G6QX-56EW-W1BG1"
]
}
Entitlement group update
entitlementGroupId required | string <EntitlementGroupId> Example: egr_gH1hGJ3BgE1LTRYd9-k1tg Entitlement group identifier |
Properties required to update entitlement group
customerId | string or null <CustomerId> Customer identifier |
orderRefId | string or null Order reference number |
{- "customerId": "cust_n1bmaIvXnEW7DOl0w5EiHQ",
- "orderRefId": "string"
}
{- "details": "string",
- "error": "string",
- "errorCode": "string",
- "validationErrors": [
- {
- "message": "string",
- "propertyName": "string",
- "code": "string"
}
]
}
This method will add activation codes to the entitlement group.
entitlementGroupId required | string <EntitlementGroupId> Example: egr_gH1hGJ3BgE1LTRYd9-k1tg Entitlement group identifier |
Properties required to create activation code
activationCodes required | Array of strings non-empty ^[A-Z0-9][A-Z0-9-]{0,48}[A-Z0-9]$ Activation codes |
ignoreDuplicates | boolean Duplicates will be ignored, otherwise duplicate code will return error |
{- "activationCodes": [
- "Y64E-G6QX-56EW-W1BH"
], - "ignoreDuplicates": true
}
{- "details": "string",
- "error": "string",
- "errorCode": "string",
- "validationErrors": [
- {
- "message": "string",
- "propertyName": "string",
- "code": "string"
}
]
}
This method will generate new codes and add them to the entitlement group.
entitlementGroupId required | string <EntitlementGroupId> Example: egr_gH1hGJ3BgE1LTRYd9-k1tg Entitlement group identifier |
Properties required to generate activation codes
count required | integer <int32> [ 1 .. 100 ] Number of activation codes to generate |
activationCodes | Array of strings Array of activation codes |
{- "count": 5
}
{- "activationCodes": [
- "Y64E-G6QX-56EW-W1BG1"
]
}
This method will remove activation codes from the entitlement group.
entitlementGroupId required | string <EntitlementGroupId> Example: egr_gH1hGJ3BgE1LTRYd9-k1tg Entitlement group identifier |
Properties required to remove activation code
activationCodes required | Array of strings non-empty ^[A-Z0-9][A-Z0-9-]{0,48}[A-Z0-9]$ Activation codes |
ignoreMissing | boolean Missing codes will be ignored, otherwise not found error will be returned |
{- "activationCodes": [
- "Y64E-G6QX-56EW-W1BH"
], - "ignoreMissing": true
}
{- "details": "string",
- "error": "string",
- "errorCode": "string",
- "validationErrors": [
- {
- "message": "string",
- "propertyName": "string",
- "code": "string"
}
]
}
Returns list of all available local license servers
Array of objects (LocalLicenseServerModel) Array of items matching specified query filters | |||||||||||||||||
Array
| |||||||||||||||||
elementsTotal | integer <int32> Total number of elements matching filter criteria |
{- "items": [
- {
- "id": "lls_oH_hPJ3BgEO172Yd9-KuTg",
- "name": "OffsiteNetwork_85083",
- "activationId": "string",
- "activated": "2019-08-24T14:15:22Z",
- "lastLease": "2019-08-24T14:15:22Z",
- "leaseExpiry": "2019-08-24T14:15:22Z",
- "deactivated": "2019-08-24T14:15:22Z",
- "licenseActive": true
}
], - "elementsTotal": 1
}
This method returns Local License Server details
localLicenseServerId required | string <LocalLicenseServerId> Example: lls_oH_hPJ3BgEO172Yd9-KuTg Local License Server identifier |
id | string <LocalLicenseServerId> Local license server identifier |
name | string Local license server name |
activationId | string <ActivationId> Activation identifier linked to the LLS product |
activated | string <date-time> Date when Local license server's seat has been activated |
lastLease | string <date-time> Date when activation was created/last extended |
leaseExpiry | string <date-time> Exclusive seat lease expiry date |
deactivated | string or null <date-time> Date when Local license server's seat has been deactivated, null otherwise |
licenseActive | boolean True if Local license server's license is active, false otherwise |
{- "id": "lls_oH_hPJ3BgEO172Yd9-KuTg",
- "name": "OffsiteNetwork_85083",
- "activationId": "string",
- "activated": "2019-08-24T14:15:22Z",
- "lastLease": "2019-08-24T14:15:22Z",
- "leaseExpiry": "2019-08-24T14:15:22Z",
- "deactivated": "2019-08-24T14:15:22Z",
- "licenseActive": true
}
llsLicenseTenantId | string <TenantId> Tenant that holds the LLS entitlement | ||||||
JWK (object) LLS license's tenant public key | |||||||
One of
| |||||||
clientTenantId | string <TenantId> Tenant that holds the entitlements which should be exported to the LLS | ||||||
JWK (object) Client tenant's public key | |||||||
One of
|
{- "llsLicenseTenantId": "string",
- "llsLicenseTenantKey": {
- "kty": "RSA",
- "n": "0vx7agoebGcQSuuPiLJXZptN9nndrQmbXEps2aiAFbWhM78LhWx4cbbfAAtVT86zwu1RK7aPFFxuhDR1L6tSoc_BJECPebWKRXjBZCiFV4n3oknjhMstn64tZ_2W-5JsGY4Hc5n9yBXArwl93lqt7_RN5w6Cf0h4QyQ5v-65YGjQR0_FDW2QvzqY368QQMicAtaSqzs8KJZgnYb9c7d0zgdAZHzu6qMQvRL5hajrn1n91CbOpbISD08qNLyrdkt-bFTWhAI4vMQFh6WeZu0fM4lFd2NcRwr3XPksINHaQ-G_xBniIqbw0Ls1jF44-csFCur-kEgU8awapJzKnqDKgw",
- "e": "AQAB"
}, - "clientTenantId": "string",
- "clientTenantKey": {
- "kty": "RSA",
- "n": "0vx7agoebGcQSuuPiLJXZptN9nndrQmbXEps2aiAFbWhM78LhWx4cbbfAAtVT86zwu1RK7aPFFxuhDR1L6tSoc_BJECPebWKRXjBZCiFV4n3oknjhMstn64tZ_2W-5JsGY4Hc5n9yBXArwl93lqt7_RN5w6Cf0h4QyQ5v-65YGjQR0_FDW2QvzqY368QQMicAtaSqzs8KJZgnYb9c7d0zgdAZHzu6qMQvRL5hajrn1n91CbOpbISD08qNLyrdkt-bFTWhAI4vMQFh6WeZu0fM4lFd2NcRwr3XPksINHaQ-G_xBniIqbw0Ls1jF44-csFCur-kEgU8awapJzKnqDKgw",
- "e": "AQAB"
}
}
Offline activation request token generated in LLS
token required | string non-empty Encrypted offline activation token, containing all the info required for the seat activation |
token | string Signed and encrypted offline activation token, holding the activation's state |
{- "token": "string"
}
{- "token": "string"
}
Offline deactivation token received from LLS
token required | string non-empty Encrypted offline deactivation token |
{- "token": "string"
}
{- "details": "string",
- "error": "string",
- "errorCode": "string",
- "validationErrors": [
- {
- "message": "string",
- "propertyName": "string",
- "code": "string"
}
]
}
This method can be called only if the LLS license deactivation without token is allowed on the LLS entitlement. Otherwise, if there is no way to obtain the deactivation token from the LLS, our support team should be contacted to deactivate the license.
localLicenseServerId required | string <LocalLicenseServerId> LLS id |
{- "details": "string",
- "error": "string",
- "errorCode": "string",
- "validationErrors": [
- {
- "message": "string",
- "propertyName": "string",
- "code": "string"
}
]
}
localLicenseServerId required | string <LocalLicenseServerId> LLS id |
token | string Signed and encrypted offline refresh token, holding the refreshed activation's state |
{- "token": "string"
}
EntitlementModel (object) Local license server entitlement | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
One of
|