API documentation for Entitlement service
Entitlements API (Beta) (1.0.0_Beta)
Download OpenAPI description
Languages
Servers
Mock server
https://fnoapi.redocly.app/_mock/apis/rest/entitlement/entitlement-service/
Generated server url
https://Your_SiteID.flexnetoperations.com/entitlements-api/
- Mock serverhttps://fnoapi.redocly.app/_mock/apis/rest/entitlement/entitlement-service/v1/entitlement/{entitlementId}/line-items
- Generated server urlhttps://Your_SiteID.flexnetoperations.com/entitlements-api/v1/entitlement/{entitlementId}/line-items
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://fnoapi.redocly.app/_mock/apis/rest/entitlement/entitlement-service/v1/entitlement/{entitlementId}/line-items?activationId=string&productName=string&startDate=string&licenseModelName=string&status=string&page=0&limit=0'Response
application/json
{ "status": "string" }
Bodyapplication/jsonrequired
Activation ID of the line item. If you specify the activation ID, then it must be unique across all entitlements and line items. If you specify the activation ID here, then the autoGenerate flag must be set to false
Example: "act-id-1234"
List of products entitled by this line item
Whether this line item is permanent. A permanent line item has no expiration date.
Start date of the line item in YYYY-MM-DD format
Example: "2025-01-01"
List of custom attributes related to the line item
Type of order for the line item. The default is NEW_ORDER
Enum"new_order""renewal_order""upgrade_order""upsell_order""invalid_order"
Example: "NEW_ORDER"
- Mock serverhttps://fnoapi.redocly.app/_mock/apis/rest/entitlement/entitlement-service/v1/entitlement/{entitlementId}/line-items
- Generated server urlhttps://Your_SiteID.flexnetoperations.com/entitlements-api/v1/entitlement/{entitlementId}/line-items
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://fnoapi.redocly.app/_mock/apis/rest/entitlement/entitlement-service/v1/entitlement/{entitlementId}/line-items' \
-H 'Content-Type: application/json' \
-d '{
"lineItems": [
{
"activationId": "act-id-1234",
"product": [
{
"productName": "SampleProduct",
"productVersion": "SampleVersion-1.0",
"licenseModel": {
"licenseModelName": "LicenseModelName",
"issuer": "SampleLicenseIssuer",
"serialNumber": "SampleSerialno",
"vendorString": "uniqueVendorString",
"notice": "Premium Feature A"
}
}
],
"quantity": 1,
"quantityPerCopy": 1,
"isActivatable": true,
"isPermanent": true,
"expiryDate": "2025-01-01",
"startDate": "2025-01-01",
"attributes": [
{
"name": "REGION",
"value": "EMEA"
}
],
"autoGenerate": false,
"autoDeploy": true,
"orderType": "NEW_ORDER",
"lineItemStatus": "draft"
}
]
}'Response
application/json
{ "status": "string" }
- Mock serverhttps://fnoapi.redocly.app/_mock/apis/rest/entitlement/entitlement-service/v1/entitlement/{entitlementId}/line-items/{activationId}/policies
- Generated server urlhttps://Your_SiteID.flexnetoperations.com/entitlements-api/v1/entitlement/{entitlementId}/line-items/{activationId}/policies
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
'https://fnoapi.redocly.app/_mock/apis/rest/entitlement/entitlement-service/v1/entitlement/{entitlementId}/line-items/{activationId}/policies' \
-H 'Content-Type: application/json' \
-d '{
"rehosts": {
"allowedCount": 0,
"policyTermDuration": 0,
"policyTermUnit": "string"
},
"returns": {
"allowedCount": 0,
"policyTermDuration": 0,
"policyTermUnit": "string"
},
"repairs": {
"allowedCount": 0,
"policyTermDuration": 0,
"policyTermUnit": "string"
},
"extraActivations": 0,
"cancelLicense": true,
"virtualLicense": true,
"acpiGenerationIdLicense": true
}'Response
application/json
{ "status": "string" }
- Mock serverhttps://fnoapi.redocly.app/_mock/apis/rest/entitlement/entitlement-service/v1/entitlement/{entitlementId}/additional-properties
- Generated server urlhttps://Your_SiteID.flexnetoperations.com/entitlements-api/v1/entitlement/{entitlementId}/additional-properties
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
'https://fnoapi.redocly.app/_mock/apis/rest/entitlement/entitlement-service/v1/entitlement/{entitlementId}/additional-properties' \
-H 'Content-Type: application/json' \
-d '{
"lineItems": [
{
"activationId": "string",
"orderType": "new_order",
"parentActivationId": "string",
"deploy": true,
"product": {
"productName": "string",
"productVersion": "string",
"partNumber": "string",
"licenseModel": {
"name": "string",
"issuer": "string",
"serialNumber": "string",
"vendorString": "string",
"notice": "string",
"overdraft": 0,
"maxBorrowInterval": "string",
"autoProvision": true,
"gracePeriodDays": 0
}
},
"attributes": [
{
"name": "string",
"value": {},
"type": "line_item"
}
]
}
]
}'Response
application/json
{ "status": "string", "activationIds": [ { … } ], "response": { "property1": { … }, "property2": { … } } }