Tenant Entitlement Manager API
Installs/enables application for tenant. Basic authorization is required to perform request (e.g. Authorization=Basic dXNlcjp1c2Vy).
tenantParameters | string Parameters for tenant init |
ignoreErrors | boolean Default: false If
|
async | boolean Default: false Enables asynchronous install operation |
purgeOnRollback | boolean Default: false Defines if module data must be purged on rollback. |
x-okapi-token | string An OKAPI authentication token |
tenantId required | string <uuid> Tenant id |
applications required | Array of strings [ 1 .. 50 ] items List of application ids |
{- "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0",
- "applications": [
- "string"
]
}
{- "totalRecords": 0,
- "flowId": "ccd52024-9c9c-4751-993a-9d75a778bf9d",
- "entitlements": [
- {
- "applicationId": "string",
- "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0",
- "modules": [
- "string"
]
}
]
}
Upgrades application (or install/enables) for tenant. Basic authorization is required to perform request (e.g. Authorization=Basic dXNlcjp1c2Vy).
tenantParameters | string Parameters for tenant init |
async | boolean Default: false Enables asynchronous install operation |
x-okapi-token | string An OKAPI authentication token |
tenantId required | string <uuid> Tenant id |
applications required | Array of strings [ 1 .. 50 ] items List of application ids |
{- "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0",
- "applications": [
- "string"
]
}
{- "totalRecords": 0,
- "flowId": "ccd52024-9c9c-4751-993a-9d75a778bf9d",
- "entitlements": [
- {
- "applicationId": "string",
- "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0",
- "modules": [
- "string"
]
}
]
}
Retrieves all the entitlement using query tools (CQL query, limit and offset parameters). Basic authorization is required to perform request (e.g. Authorization=Basic dXNlcjp1c2Vy).
query | string A CQL query string with search conditions. |
tenant | string Tenant name to filter by. |
includeModules | boolean Default: false Indicates if list of modules should be loaded for each entitlement. |
limit | integer [ 0 .. 500 ] Default: 10 Limit the number of elements returned in the response. |
offset | integer >= 0 Default: 0 Skip over a number of elements by specifying an offset value for the query. |
x-okapi-token | string An OKAPI authentication token |
{- "totalRecords": 0,
- "entitlements": [
- {
- "applicationId": "string",
- "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0",
- "modules": [
- "string"
]
}
]
}
Delete application installation by id, when making request add basic authorization for an admin user (e.g. Basic YWRtaW46YWRtaW4=).
tenantParameters | string Parameters for tenant init |
ignoreErrors | boolean Default: false If
|
purge | boolean Default: false Defines if create by entitlement process resources must be purged, including:
|
async | boolean Default: false Enables asynchronous install operation |
x-okapi-token | string An OKAPI authentication token |
tenantId required | string <uuid> Tenant id |
applications required | Array of strings [ 1 .. 50 ] items List of application ids |
{- "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0",
- "applications": [
- "string"
]
}
{- "totalRecords": 0,
- "flowId": "ccd52024-9c9c-4751-993a-9d75a778bf9d",
- "entitlements": [
- {
- "applicationId": "string",
- "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0",
- "modules": [
- "string"
]
}
]
}
List of application descriptors entitled for the tenant
tenantName required | string Tenant name |
limit | integer [ 0 .. 500 ] Default: 10 Limit the number of elements returned in the response. |
offset | integer >= 0 Default: 0 Skip over a number of elements by specifying an offset value for the query. |
x-okapi-token | string An OKAPI authentication token |
x-okapi-tenant required | string An OKAPI tenant |
{- "applicationDescriptors": [
- { }
], - "totalRecords": 0
}
Retrieve a list of module entitlements
moduleId required | string Module id |
limit | integer [ 0 .. 500 ] Default: 10 Limit the number of elements returned in the response. |
offset | integer >= 0 Default: 0 Skip over a number of elements by specifying an offset value for the query. |
{- "totalRecords": 0,
- "entitlements": [
- {
- "applicationId": "string",
- "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0",
- "modules": [
- "string"
]
}
]
}
Validates an entitlement request against a set of pre-configured validators that are also applied during the entitlement process or a single validator specified as a parameter.
entitlementType required | string (Tenant Entitlement Type Schema) Enum: "entitle" "revoke" "upgrade" Entitlement type |
validator | string Name of entitlement validator to be applied. All existing validators will be applied if none specified |
x-okapi-token | string An OKAPI authentication token |
tenantId required | string <uuid> Tenant id |
applications required | Array of strings [ 1 .. 50 ] items List of application ids |
{- "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0",
- "applications": [
- "string"
]
}
{ }
Retrieves flows by CQL query
query | string A CQL query string with search conditions. |
limit | integer [ 0 .. 500 ] Default: 10 Limit the number of elements returned in the response. |
offset | integer >= 0 Default: 0 Skip over a number of elements by specifying an offset value for the query. |
{- "totalRecords": 0,
- "flows": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "status": "queued",
- "type": "entitle",
- "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0",
- "startedAt": "2019-08-24T14:15:22Z",
- "finishedAt": "2019-08-24T14:15:22Z",
- "stages": [
- {
- "flowId": "ccd52024-9c9c-4751-993a-9d75a778bf9d",
- "name": "string",
- "status": "queued",
- "errorType": "string",
- "errorMessage": "string",
- "startedAt": "2019-08-24T14:15:22Z",
- "finishedAt": "2019-08-24T14:15:22Z",
- "retriesCount": 0,
- "retriesInfo": "string"
}
], - "applicationFlows": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "applicationId": "string",
- "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0",
- "flowId": "ccd52024-9c9c-4751-993a-9d75a778bf9d",
- "type": "entitle",
- "status": "queued",
- "startedAt": "2019-08-24T14:15:22Z",
- "finishedAt": "2019-08-24T14:15:22Z",
- "stages": [
- {
- "flowId": "ccd52024-9c9c-4751-993a-9d75a778bf9d",
- "name": "string",
- "status": "queued",
- "errorType": "string",
- "errorMessage": "string",
- "startedAt": "2019-08-24T14:15:22Z",
- "finishedAt": "2019-08-24T14:15:22Z",
- "retriesCount": 0,
- "retriesInfo": "string"
}
]
}
]
}
]
}
Retrieves a flow by id
flowId required | string <uuid> A flow identifier |
includeStages | boolean Default: false Defines if stages must be included in the response for entitlement/application flows |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "status": "queued",
- "type": "entitle",
- "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0",
- "startedAt": "2019-08-24T14:15:22Z",
- "finishedAt": "2019-08-24T14:15:22Z",
- "stages": [
- {
- "flowId": "ccd52024-9c9c-4751-993a-9d75a778bf9d",
- "name": "string",
- "status": "queued",
- "errorType": "string",
- "errorMessage": "string",
- "startedAt": "2019-08-24T14:15:22Z",
- "finishedAt": "2019-08-24T14:15:22Z",
- "retriesCount": 0,
- "retriesInfo": "string"
}
], - "applicationFlows": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "applicationId": "string",
- "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0",
- "flowId": "ccd52024-9c9c-4751-993a-9d75a778bf9d",
- "type": "entitle",
- "status": "queued",
- "startedAt": "2019-08-24T14:15:22Z",
- "finishedAt": "2019-08-24T14:15:22Z",
- "stages": [
- {
- "flowId": "ccd52024-9c9c-4751-993a-9d75a778bf9d",
- "name": "string",
- "status": "queued",
- "errorType": "string",
- "errorMessage": "string",
- "startedAt": "2019-08-24T14:15:22Z",
- "finishedAt": "2019-08-24T14:15:22Z",
- "retriesCount": 0,
- "retriesInfo": "string"
}
]
}
]
}
Retrieves an application entitlement flows by CQL query
query | string A CQL query string with search conditions. |
limit | integer [ 0 .. 500 ] Default: 10 Limit the number of elements returned in the response. |
offset | integer >= 0 Default: 0 Skip over a number of elements by specifying an offset value for the query. |
{- "totalRecords": 0,
- "applicationFlows": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "applicationId": "string",
- "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0",
- "flowId": "ccd52024-9c9c-4751-993a-9d75a778bf9d",
- "type": "entitle",
- "status": "queued",
- "startedAt": "2019-08-24T14:15:22Z",
- "finishedAt": "2019-08-24T14:15:22Z",
- "stages": [
- {
- "flowId": "ccd52024-9c9c-4751-993a-9d75a778bf9d",
- "name": "string",
- "status": "queued",
- "errorType": "string",
- "errorMessage": "string",
- "startedAt": "2019-08-24T14:15:22Z",
- "finishedAt": "2019-08-24T14:15:22Z",
- "retriesCount": 0,
- "retriesInfo": "string"
}
]
}
]
}
Retrieves an entitlement flow per applicationId
applicationFlowId required | string <uuid> An application flow identifier |
includeStages | boolean Default: false Defines if stages must be included in the response for entitlement/application flows |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "applicationId": "string",
- "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0",
- "flowId": "ccd52024-9c9c-4751-993a-9d75a778bf9d",
- "type": "entitle",
- "status": "queued",
- "startedAt": "2019-08-24T14:15:22Z",
- "finishedAt": "2019-08-24T14:15:22Z",
- "stages": [
- {
- "flowId": "ccd52024-9c9c-4751-993a-9d75a778bf9d",
- "name": "string",
- "status": "queued",
- "errorType": "string",
- "errorMessage": "string",
- "startedAt": "2019-08-24T14:15:22Z",
- "finishedAt": "2019-08-24T14:15:22Z",
- "retriesCount": 0,
- "retriesInfo": "string"
}
]
}
Retrieves entitlement stages by application id
applicationFlowId required | string <uuid> An application flow identifier |
{- "totalRecords": 0,
- "stages": [
- {
- "flowId": "ccd52024-9c9c-4751-993a-9d75a778bf9d",
- "name": "string",
- "status": "queued",
- "errorType": "string",
- "errorMessage": "string",
- "startedAt": "2019-08-24T14:15:22Z",
- "finishedAt": "2019-08-24T14:15:22Z",
- "retriesCount": 0,
- "retriesInfo": "string"
}
]
}
Retrieves entitlement stages by application id
applicationFlowId required | string <uuid> An application flow identifier |
stageName required | string An application stage name |
{- "flowId": "ccd52024-9c9c-4751-993a-9d75a778bf9d",
- "name": "string",
- "status": "queued",
- "errorType": "string",
- "errorMessage": "string",
- "startedAt": "2019-08-24T14:15:22Z",
- "finishedAt": "2019-08-24T14:15:22Z",
- "retriesCount": 0,
- "retriesInfo": "string"
}
Redo installation of apps' modules for tenant, even if they are already installed.
tenantParameters | string Parameters for tenant init |
x-okapi-token | string An OKAPI authentication token |
tenantId required | string <uuid> Tenant id |
applications required | Array of strings [ 1 .. 25 ] items List of application ids |
{- "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0",
- "applications": [
- "string"
]
}
{- "entitlements": [
- "string"
], - "errors": [
- "string"
]
}
Redo installation of modules for tenant, even if they are already installed.
tenantParameters | string Parameters for tenant init |
x-okapi-token | string An OKAPI authentication token |
tenantId required | string <uuid> Tenant id |
applicationId required | string Application id |
modules required | Array of strings [ 1 .. 50 ] items List of application ids |
{- "tenantId": "f97df110-f4de-492e-8849-4a6af68026b0",
- "applicationId": "string",
- "modules": [
- "string"
]
}
{- "entitlements": [
- "string"
], - "errors": [
- "string"
]
}