List licenses.
Authorizations:
query Parameters
size | integer <int64> Default: 50 Amount of items returned per pagination page |
page | integer <int64> Default: 0 Pagination page starting from 0 |
sort | string Example: sort=createDate,desc Sort list results Format: entity_field_name,order. Format entity collection: entity_sub_object_name.sub_field_name,order. |
customerId | string Example: customerId=431b946a-92ea-430a-984d-c3cd65d2bb77 Filter results by customerId |
id | string Filter results by id |
createDate | integer <uint64> Example: createDate=createDate=XXXX< will return result after XXXX, createDate=<XXXX will return result before XXXX, createDate=XXXX<<YYYYY will return result between XXXX and YYYY Filter by create date. You can use date ranges by using < or << operator |
updateDate | integer <uint64> Filter by create date. You can use date ranges by using < or << operator (the same behavior as for createDate) |
status | string Example: status=Running, Paused, Expired, Canceled Filter result by status |
product | string Example: product=product.id, product.name Filter by product and its subfields example subfields: id, licenseProviderDefinitionId, publisherProductId, name |
endUser | string Example: endUser=endUser.lastName, endUser.city Filter by endUser and its subfields example subfields: firstName, lastName, email, city, zipCode, country, locale |
checkout | string Example: checkout=checkout.orderId, checkout.orderLineId Filter by checkout and its subfields example subfields: orderId, orderLineId |
Responses
Response samples
- 200
- 401
- 403
- 500
{- "format": "short",
- "items": [
- {
- "additionalData": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "checkout": {
- "affiliateId": "string",
- "billingPlanId": "string",
- "cartExternalContext": "string",
- "orderId": "string",
- "orderLineId": "string",
- "productUsageId": "string",
- "resellerId": "string",
- "storeExternalContext": "string",
- "subscriptionId": "string",
- "trialContext": "string"
}, - "closeLicenseExpirationJobDone": true,
- "createDate": 1593683684789,
- "customerId": "e0436791-5866-406d-b0c8-3ba32ead438a",
- "dbVersion": 0,
- "expirationTimestamp": 0,
- "id": "d87e0973-980a-4485-a39d-682184a8988a",
- "lastFailureTimestamp": 0,
- "operationExecutions": [
- {
- "additionalData": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "id": "string",
- "processingData": {
- "additionalData": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "checkout": {
- "affiliateId": "string",
- "billingPlanId": "string",
- "cartExternalContext": "string",
- "orderId": "string",
- "orderLineId": "string",
- "productUsageId": "string",
- "resellerId": "string",
- "storeExternalContext": "string",
- "subscriptionId": "string",
- "trialContext": "string"
}, - "licenseId": "string",
- "operation": "string",
- "operationExecutionId": "string",
- "product": {
- "expirationTimestamp": "string",
- "externalContext": "string",
- "id": "string",
- "licenseProviderDefinitionId": "string",
- "lineItemId": "string",
- "name": "string",
- "priceFunctionParameters": {
- "property1": "string",
- "property2": "string"
}, - "publisherProductId": "string",
- "releaseDate": 0,
- "startTimestamp": "string",
- "variables": {
- "property1": "string",
- "property2": "string"
}
}, - "requestTimestamp": 0,
- "user": {
- "city": "string",
- "companyIdentifier": "string",
- "companyName": "string",
- "country": "string",
- "email": "string",
- "firstName": "string",
- "id": "string",
- "lastName": "string",
- "locale": "string",
- "zipCode": "string"
}
}, - "replyContext": "string",
- "request": {
- "additionalData": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "checkout": {
- "affiliateId": "string",
- "billingPlanId": "string",
- "cartExternalContext": "string",
- "orderId": "string",
- "orderLineId": "string",
- "productUsageId": "string",
- "resellerId": "string",
- "storeExternalContext": "string",
- "subscriptionId": "string",
- "trialContext": "string"
}, - "licenseId": "string",
- "noAutomaticRetry": true,
- "operation": "string",
- "product": {
- "expirationTimestamp": "string",
- "externalContext": "string",
- "id": "string",
- "licenseProviderDefinitionId": "string",
- "lineItemId": "string",
- "name": "string",
- "priceFunctionParameters": {
- "property1": "string",
- "property2": "string"
}, - "publisherProductId": "string",
- "releaseDate": 0,
- "startTimestamp": "string",
- "variables": {
- "property1": "string",
- "property2": "string"
}
}, - "testModeParameters": {
- "responseBody": "string",
- "url": "string"
}, - "user": {
- "city": "string",
- "companyIdentifier": "string",
- "companyName": "string",
- "country": "string",
- "email": "string",
- "firstName": "string",
- "id": "string",
- "lastName": "string",
- "locale": "string",
- "zipCode": "string"
}
}, - "requestTimestamp": 0,
- "requestTrackingContext": {
- "Internal": "string",
- "Request": "string",
- "Session": "string"
}, - "status": "string",
- "traces": [
- {
- "executionError": "string",
- "extractedResponseData": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "httpRequest": "string",
- "httpResponse": "string",
- "httpResponseStatus": 0,
- "isScheduled": true,
- "isSuccess": true,
- "timestamp": 0
}
]
}
], - "processingInProgress": true,
- "product": {
- "expirationTimestamp": "string",
- "externalContext": "string",
- "id": "string",
- "licenseProviderDefinitionId": "string",
- "lineItemId": "string",
- "name": "string",
- "priceFunctionParameters": {
- "property1": "string",
- "property2": "string"
}, - "publisherProductId": "string",
- "releaseDate": 0,
- "startTimestamp": "string",
- "variables": {
- "property1": "string",
- "property2": "string"
}
}, - "status": "Running, Canceled, Scheduled, Expired",
- "updateDate": 1593685645385,
- "user": {
- "city": "string",
- "companyIdentifier": "string",
- "companyName": "string",
- "country": "string",
- "email": "string",
- "firstName": "string",
- "id": "string",
- "lastName": "string",
- "locale": "string",
- "zipCode": "string"
}
}
], - "last": false,
- "number": 41,
- "size": 10,
- "totalItems": 100523,
- "totalPages": 10053
}
Update license.
Authorizations:
path Parameters
id required | string Entity id generated and returned in "Location" header upon creation (POST). |
Request Body schema: application/json
object Additional data about the license. ex: publisher-specific, fulfillment ids etc | |
object (Checkout) | |
closeLicenseExpirationJobDone | boolean boolean flag indicating if tasks related to license's upcoming expiration has been finished |
createDate | integer <int64> Entity creation time. Value is auto generated upon creation and read only. Timestamp in milliseconds. |
customerId | string Associates entity to certain customer. |
dbVersion | integer <int64> Concurrent operations check mechanism. Used in update actions. Value is auto generated upon creation/update and read only. Prevent for any issue during concurrent update transaction done by parallel applications. Upon spotted dbVersion incorrectness a 412 retry error is returned. Let's consider a scenario where two application are trying update same entity: App 1: GET entity request at 00:00:00.000 Received dbVersion=0 change entity data PUT entity request at 00:00:00.009 updated automatically dbVersion=1 App 2: GET entity request with at 00:00:00.005 Received dbVersion=0 because update of App 1 haven't occurred yet change entity data update entity at 00:00:00.014 412 Error, because dbVersion=1 after update of App 1 |
expirationTimestamp | integer <int64> license expiration date |
id | string Entity id. Value is auto generated upon creation and read only. |
lastFailureTimestamp | integer <int64> Info about failure, if not present, it means that the error did not occur |
Array of objects (OperationExecution) List of operations performed on license | |
processingInProgress | boolean boolean flag indicating if license is currently being processed |
object (Product) | |
status | string |
updateDate | integer <int64> Entity update time. Value is auto generated upon creation/update and read only. Timestamp in milliseconds. |
object (User) |
Responses
Request samples
- Payload
{- "additionalData": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "checkout": {
- "affiliateId": "string",
- "billingPlanId": "string",
- "cartExternalContext": "string",
- "orderId": "string",
- "orderLineId": "string",
- "productUsageId": "string",
- "resellerId": "string",
- "storeExternalContext": "string",
- "subscriptionId": "string",
- "trialContext": "string"
}, - "closeLicenseExpirationJobDone": true,
- "createDate": 1593683684789,
- "customerId": "e0436791-5866-406d-b0c8-3ba32ead438a",
- "dbVersion": 0,
- "expirationTimestamp": 0,
- "id": "d87e0973-980a-4485-a39d-682184a8988a",
- "lastFailureTimestamp": 0,
- "operationExecutions": [
- {
- "additionalData": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "id": "string",
- "processingData": {
- "additionalData": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "checkout": {
- "affiliateId": "string",
- "billingPlanId": "string",
- "cartExternalContext": "string",
- "orderId": "string",
- "orderLineId": "string",
- "productUsageId": "string",
- "resellerId": "string",
- "storeExternalContext": "string",
- "subscriptionId": "string",
- "trialContext": "string"
}, - "licenseId": "string",
- "operation": "string",
- "operationExecutionId": "string",
- "product": {
- "expirationTimestamp": "string",
- "externalContext": "string",
- "id": "string",
- "licenseProviderDefinitionId": "string",
- "lineItemId": "string",
- "name": "string",
- "priceFunctionParameters": {
- "property1": "string",
- "property2": "string"
}, - "publisherProductId": "string",
- "releaseDate": 0,
- "startTimestamp": "string",
- "variables": {
- "property1": "string",
- "property2": "string"
}
}, - "requestTimestamp": 0,
- "user": {
- "city": "string",
- "companyIdentifier": "string",
- "companyName": "string",
- "country": "string",
- "email": "string",
- "firstName": "string",
- "id": "string",
- "lastName": "string",
- "locale": "string",
- "zipCode": "string"
}
}, - "replyContext": "string",
- "request": {
- "additionalData": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "checkout": {
- "affiliateId": "string",
- "billingPlanId": "string",
- "cartExternalContext": "string",
- "orderId": "string",
- "orderLineId": "string",
- "productUsageId": "string",
- "resellerId": "string",
- "storeExternalContext": "string",
- "subscriptionId": "string",
- "trialContext": "string"
}, - "licenseId": "string",
- "noAutomaticRetry": true,
- "operation": "string",
- "product": {
- "expirationTimestamp": "string",
- "externalContext": "string",
- "id": "string",
- "licenseProviderDefinitionId": "string",
- "lineItemId": "string",
- "name": "string",
- "priceFunctionParameters": {
- "property1": "string",
- "property2": "string"
}, - "publisherProductId": "string",
- "releaseDate": 0,
- "startTimestamp": "string",
- "variables": {
- "property1": "string",
- "property2": "string"
}
}, - "testModeParameters": {
- "responseBody": "string",
- "url": "string"
}, - "user": {
- "city": "string",
- "companyIdentifier": "string",
- "companyName": "string",
- "country": "string",
- "email": "string",
- "firstName": "string",
- "id": "string",
- "lastName": "string",
- "locale": "string",
- "zipCode": "string"
}
}, - "requestTimestamp": 0,
- "requestTrackingContext": {
- "Internal": "string",
- "Request": "string",
- "Session": "string"
}, - "status": "string",
- "traces": [
- {
- "executionError": "string",
- "extractedResponseData": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "httpRequest": "string",
- "httpResponse": "string",
- "httpResponseStatus": 0,
- "isScheduled": true,
- "isSuccess": true,
- "timestamp": 0
}
]
}
], - "processingInProgress": true,
- "product": {
- "expirationTimestamp": "string",
- "externalContext": "string",
- "id": "string",
- "licenseProviderDefinitionId": "string",
- "lineItemId": "string",
- "name": "string",
- "priceFunctionParameters": {
- "property1": "string",
- "property2": "string"
}, - "publisherProductId": "string",
- "releaseDate": 0,
- "startTimestamp": "string",
- "variables": {
- "property1": "string",
- "property2": "string"
}
}, - "status": "Running, Canceled, Scheduled, Expired",
- "updateDate": 1593685645385,
- "user": {
- "city": "string",
- "companyIdentifier": "string",
- "companyName": "string",
- "country": "string",
- "email": "string",
- "firstName": "string",
- "id": "string",
- "lastName": "string",
- "locale": "string",
- "zipCode": "string"
}
}
Response samples
- 201
- 400
- 401
- 403
- 500
{- "additionalData": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "checkout": {
- "affiliateId": "string",
- "billingPlanId": "string",
- "cartExternalContext": "string",
- "orderId": "string",
- "orderLineId": "string",
- "productUsageId": "string",
- "resellerId": "string",
- "storeExternalContext": "string",
- "subscriptionId": "string",
- "trialContext": "string"
}, - "closeLicenseExpirationJobDone": true,
- "createDate": 1593683684789,
- "customerId": "e0436791-5866-406d-b0c8-3ba32ead438a",
- "dbVersion": 0,
- "expirationTimestamp": 0,
- "id": "d87e0973-980a-4485-a39d-682184a8988a",
- "lastFailureTimestamp": 0,
- "operationExecutions": [
- {
- "additionalData": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "id": "string",
- "processingData": {
- "additionalData": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "checkout": {
- "affiliateId": "string",
- "billingPlanId": "string",
- "cartExternalContext": "string",
- "orderId": "string",
- "orderLineId": "string",
- "productUsageId": "string",
- "resellerId": "string",
- "storeExternalContext": "string",
- "subscriptionId": "string",
- "trialContext": "string"
}, - "licenseId": "string",
- "operation": "string",
- "operationExecutionId": "string",
- "product": {
- "expirationTimestamp": "string",
- "externalContext": "string",
- "id": "string",
- "licenseProviderDefinitionId": "string",
- "lineItemId": "string",
- "name": "string",
- "priceFunctionParameters": {
- "property1": "string",
- "property2": "string"
}, - "publisherProductId": "string",
- "releaseDate": 0,
- "startTimestamp": "string",
- "variables": {
- "property1": "string",
- "property2": "string"
}
}, - "requestTimestamp": 0,
- "user": {
- "city": "string",
- "companyIdentifier": "string",
- "companyName": "string",
- "country": "string",
- "email": "string",
- "firstName": "string",
- "id": "string",
- "lastName": "string",
- "locale": "string",
- "zipCode": "string"
}
}, - "replyContext": "string",
- "request": {
- "additionalData": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "checkout": {
- "affiliateId": "string",
- "billingPlanId": "string",
- "cartExternalContext": "string",
- "orderId": "string",
- "orderLineId": "string",
- "productUsageId": "string",
- "resellerId": "string",
- "storeExternalContext": "string",
- "subscriptionId": "string",
- "trialContext": "string"
}, - "licenseId": "string",
- "noAutomaticRetry": true,
- "operation": "string",
- "product": {
- "expirationTimestamp": "string",
- "externalContext": "string",
- "id": "string",
- "licenseProviderDefinitionId": "string",
- "lineItemId": "string",
- "name": "string",
- "priceFunctionParameters": {
- "property1": "string",
- "property2": "string"
}, - "publisherProductId": "string",
- "releaseDate": 0,
- "startTimestamp": "string",
- "variables": {
- "property1": "string",
- "property2": "string"
}
}, - "testModeParameters": {
- "responseBody": "string",
- "url": "string"
}, - "user": {
- "city": "string",
- "companyIdentifier": "string",
- "companyName": "string",
- "country": "string",
- "email": "string",
- "firstName": "string",
- "id": "string",
- "lastName": "string",
- "locale": "string",
- "zipCode": "string"
}
}, - "requestTimestamp": 0,
- "requestTrackingContext": {
- "Internal": "string",
- "Request": "string",
- "Session": "string"
}, - "status": "string",
- "traces": [
- {
- "executionError": "string",
- "extractedResponseData": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "httpRequest": "string",
- "httpResponse": "string",
- "httpResponseStatus": 0,
- "isScheduled": true,
- "isSuccess": true,
- "timestamp": 0
}
]
}
], - "processingInProgress": true,
- "product": {
- "expirationTimestamp": "string",
- "externalContext": "string",
- "id": "string",
- "licenseProviderDefinitionId": "string",
- "lineItemId": "string",
- "name": "string",
- "priceFunctionParameters": {
- "property1": "string",
- "property2": "string"
}, - "publisherProductId": "string",
- "releaseDate": 0,
- "startTimestamp": "string",
- "variables": {
- "property1": "string",
- "property2": "string"
}
}, - "status": "Running, Canceled, Scheduled, Expired",
- "updateDate": 1593685645385,
- "user": {
- "city": "string",
- "companyIdentifier": "string",
- "companyName": "string",
- "country": "string",
- "email": "string",
- "firstName": "string",
- "id": "string",
- "lastName": "string",
- "locale": "string",
- "zipCode": "string"
}
}
Gets license.
Authorizations:
path Parameters
id required | string Entity id generated and returned in "Location" header upon creation (POST). |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 500
{- "additionalData": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "checkout": {
- "affiliateId": "string",
- "billingPlanId": "string",
- "cartExternalContext": "string",
- "orderId": "string",
- "orderLineId": "string",
- "productUsageId": "string",
- "resellerId": "string",
- "storeExternalContext": "string",
- "subscriptionId": "string",
- "trialContext": "string"
}, - "closeLicenseExpirationJobDone": true,
- "createDate": 1593683684789,
- "customerId": "e0436791-5866-406d-b0c8-3ba32ead438a",
- "dbVersion": 0,
- "expirationTimestamp": 0,
- "id": "d87e0973-980a-4485-a39d-682184a8988a",
- "lastFailureTimestamp": 0,
- "operationExecutions": [
- {
- "additionalData": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "id": "string",
- "processingData": {
- "additionalData": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "checkout": {
- "affiliateId": "string",
- "billingPlanId": "string",
- "cartExternalContext": "string",
- "orderId": "string",
- "orderLineId": "string",
- "productUsageId": "string",
- "resellerId": "string",
- "storeExternalContext": "string",
- "subscriptionId": "string",
- "trialContext": "string"
}, - "licenseId": "string",
- "operation": "string",
- "operationExecutionId": "string",
- "product": {
- "expirationTimestamp": "string",
- "externalContext": "string",
- "id": "string",
- "licenseProviderDefinitionId": "string",
- "lineItemId": "string",
- "name": "string",
- "priceFunctionParameters": {
- "property1": "string",
- "property2": "string"
}, - "publisherProductId": "string",
- "releaseDate": 0,
- "startTimestamp": "string",
- "variables": {
- "property1": "string",
- "property2": "string"
}
}, - "requestTimestamp": 0,
- "user": {
- "city": "string",
- "companyIdentifier": "string",
- "companyName": "string",
- "country": "string",
- "email": "string",
- "firstName": "string",
- "id": "string",
- "lastName": "string",
- "locale": "string",
- "zipCode": "string"
}
}, - "replyContext": "string",
- "request": {
- "additionalData": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "checkout": {
- "affiliateId": "string",
- "billingPlanId": "string",
- "cartExternalContext": "string",
- "orderId": "string",
- "orderLineId": "string",
- "productUsageId": "string",
- "resellerId": "string",
- "storeExternalContext": "string",
- "subscriptionId": "string",
- "trialContext": "string"
}, - "licenseId": "string",
- "noAutomaticRetry": true,
- "operation": "string",
- "product": {
- "expirationTimestamp": "string",
- "externalContext": "string",
- "id": "string",
- "licenseProviderDefinitionId": "string",
- "lineItemId": "string",
- "name": "string",
- "priceFunctionParameters": {
- "property1": "string",
- "property2": "string"
}, - "publisherProductId": "string",
- "releaseDate": 0,
- "startTimestamp": "string",
- "variables": {
- "property1": "string",
- "property2": "string"
}
}, - "testModeParameters": {
- "responseBody": "string",
- "url": "string"
}, - "user": {
- "city": "string",
- "companyIdentifier": "string",
- "companyName": "string",
- "country": "string",
- "email": "string",
- "firstName": "string",
- "id": "string",
- "lastName": "string",
- "locale": "string",
- "zipCode": "string"
}
}, - "requestTimestamp": 0,
- "requestTrackingContext": {
- "Internal": "string",
- "Request": "string",
- "Session": "string"
}, - "status": "string",
- "traces": [
- {
- "executionError": "string",
- "extractedResponseData": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "httpRequest": "string",
- "httpResponse": "string",
- "httpResponseStatus": 0,
- "isScheduled": true,
- "isSuccess": true,
- "timestamp": 0
}
]
}
], - "processingInProgress": true,
- "product": {
- "expirationTimestamp": "string",
- "externalContext": "string",
- "id": "string",
- "licenseProviderDefinitionId": "string",
- "lineItemId": "string",
- "name": "string",
- "priceFunctionParameters": {
- "property1": "string",
- "property2": "string"
}, - "publisherProductId": "string",
- "releaseDate": 0,
- "startTimestamp": "string",
- "variables": {
- "property1": "string",
- "property2": "string"
}
}, - "status": "Running, Canceled, Scheduled, Expired",
- "updateDate": 1593685645385,
- "user": {
- "city": "string",
- "companyIdentifier": "string",
- "companyName": "string",
- "country": "string",
- "email": "string",
- "firstName": "string",
- "id": "string",
- "lastName": "string",
- "locale": "string",
- "zipCode": "string"
}
}
Deletes license.
Authorizations:
path Parameters
id required | string Entity id generated and returned in "Location" header upon creation (POST). |
Responses
Response samples
- 401
- 403
- 404
- 500
{- "error": "Unauthorized",
- "message": "Unauthorized",
- "path": "/service-name/resource/36a6d3ac-207f-4b64-be01-664c1edbd38b",
- "status": 401,
- "timestamp": 1593769514607
}
List License Provider Definition.
Authorizations:
query Parameters
size | integer <int64> Default: 50 Amount of items returned per pagination page |
page | integer <int64> Default: 0 Pagination page starting from 0 |
sort | string Example: sort=createDate,desc Sort list results Format: entity_field_name,order. Format entity collection: entity_sub_object_name.sub_field_name,order. |
customerId | string Example: customerId=431b946a-92ea-430a-984d-c3cd65d2bb77 Filter results by customerId |
name | string Filter results by License Provider Definition name |
baseUrl | string Filter results by license related requests |
status | string Filter results by status example Enable, Disable, TestMode |
createDate | integer <uint64> Example: createDate=createDate=XXXX< will return result after XXXX, createDate=<XXXX will return result before XXXX, createDate=XXXX<<YYYYY will return result between XXXX and YYYY Filter by create date. You can use date ranges by using < or << operator |
updateDate | integer <uint64> Filter by create date. You can use date ranges by using < or << operator (the same behavior as for createDate) |
Responses
Response samples
- 200
- 401
- 403
- 500
{- "format": "short",
- "items": [
- {
- "bodyType": "json; xml",
- "createDate": 1593683684789,
- "customerId": "e0436791-5866-406d-b0c8-3ba32ead438a",
- "dbVersion": 0,
- "fillWithGeneric": true,
- "httpClientConfiguration": {
- "clientCredentialOauth2Config": {
- "clientId": "string",
- "clientSecret": "string",
- "scopes": [
- "string"
], - "tokenUrl": "string",
- "values": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "httpHeaders": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "tlsConfiguration": {
- "clientCertificates": "string",
- "clientCertificatesExpirationDate": 0,
- "lastCertificatesExpirationNotificationTimestamp": 0,
- "privateKey": "string",
- "serverCACertificates": "string",
- "serverCACertificatesExpirationDate": 0,
- "tlsAuthMode": "string"
}
}, - "id": "d87e0973-980a-4485-a39d-682184a8988a",
- "name": "test-ManuallyCreatedGenericLicenseProvider",
- "operationDefinitions": {
- "property1": {
- "bodyTemplate": "string",
- "httpHeaders": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "responsePaths": {
- "property1": {
- "conversionTemplate": "string",
- "path": "string"
}, - "property2": {
- "conversionTemplate": "string",
- "path": "string"
}
}, - "urlComplement": "string"
}, - "property2": {
- "bodyTemplate": "string",
- "httpHeaders": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "responsePaths": {
- "property1": {
- "conversionTemplate": "string",
- "path": "string"
}, - "property2": {
- "conversionTemplate": "string",
- "path": "string"
}
}, - "urlComplement": "string"
}
}, - "permanentErrorsDefinition": {
- "errorCodes": [
- "string"
], - "errorMessages": [
- "string"
], - "httpStatusCodes": [
- 0
]
}, - "status": "Enable, Disable, TestMode (The testMode indicate to use the testModeParameters baseUrl and certificates and not the real one)",
- "supportedOperations": "create; renew; pause; resume; cancel",
- "testModeParameters": {
- "baseUrl": "string",
- "httpClientConfiguration": {
- "clientCredentialOauth2Config": {
- "clientId": "string",
- "clientSecret": "string",
- "scopes": [
- "string"
], - "tokenUrl": "string",
- "values": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "httpHeaders": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "tlsConfiguration": {
- "clientCertificates": "string",
- "clientCertificatesExpirationDate": 0,
- "lastCertificatesExpirationNotificationTimestamp": 0,
- "privateKey": "string",
- "serverCACertificates": "string",
- "serverCACertificatesExpirationDate": 0,
- "tlsAuthMode": "string"
}
}
}, - "updateDate": 1593685645385
}
], - "last": false,
- "number": 41,
- "size": 10,
- "totalItems": 100523,
- "totalPages": 10053
}
Update license provider definition.
Authorizations:
path Parameters
id required | string Entity id generated and returned in "Location" header upon creation (POST). |
Request Body schema: application/json
baseUrl | string Base url of for license related requests |
bodyType | string Body type |
createDate | integer <int64> Entity creation time. Value is auto generated upon creation and read only. Timestamp in milliseconds. |
customerId | string Associates entity to certain customer. |
dbVersion | integer <int64> Concurrent operations check mechanism. Used in update actions. Value is auto generated upon creation/update and read only. Prevent for any issue during concurrent update transaction done by parallel applications. Upon spotted dbVersion incorrectness a 412 retry error is returned. Let's consider a scenario where two application are trying update same entity: App 1: GET entity request at 00:00:00.000 Received dbVersion=0 change entity data PUT entity request at 00:00:00.009 updated automatically dbVersion=1 App 2: GET entity request with at 00:00:00.005 Received dbVersion=0 because update of App 1 haven't occurred yet change entity data update entity at 00:00:00.014 412 Error, because dbVersion=1 after update of App 1 |
fillWithGeneric | boolean if true, license will be filled with generic request/response payload for fulfillment |
object (HttpClientConfiguration) | |
id | string Entity id. Value is auto generated upon creation and read only. |
name required | string License Provider Definition name Name must be unique |
required | object |
object (PermanentErrorsDefinition) | |
status | string fulfillment definition status |
supportedOperations | Array of strings Operations which can be performed about a single license. |
object (TestModeParameters) | |
updateDate | integer <int64> Entity update time. Value is auto generated upon creation/update and read only. Timestamp in milliseconds. |
Responses
Request samples
- Payload
{- "bodyType": "json; xml",
- "createDate": 1593683684789,
- "customerId": "e0436791-5866-406d-b0c8-3ba32ead438a",
- "dbVersion": 0,
- "fillWithGeneric": true,
- "httpClientConfiguration": {
- "clientCredentialOauth2Config": {
- "clientId": "string",
- "clientSecret": "string",
- "scopes": [
- "string"
], - "tokenUrl": "string",
- "values": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "httpHeaders": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "tlsConfiguration": {
- "clientCertificates": "string",
- "clientCertificatesExpirationDate": 0,
- "lastCertificatesExpirationNotificationTimestamp": 0,
- "privateKey": "string",
- "serverCACertificates": "string",
- "serverCACertificatesExpirationDate": 0,
- "tlsAuthMode": "string"
}
}, - "id": "d87e0973-980a-4485-a39d-682184a8988a",
- "name": "test-ManuallyCreatedGenericLicenseProvider",
- "operationDefinitions": {
- "property1": {
- "bodyTemplate": "string",
- "httpHeaders": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "responsePaths": {
- "property1": {
- "conversionTemplate": "string",
- "path": "string"
}, - "property2": {
- "conversionTemplate": "string",
- "path": "string"
}
}, - "urlComplement": "string"
}, - "property2": {
- "bodyTemplate": "string",
- "httpHeaders": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "responsePaths": {
- "property1": {
- "conversionTemplate": "string",
- "path": "string"
}, - "property2": {
- "conversionTemplate": "string",
- "path": "string"
}
}, - "urlComplement": "string"
}
}, - "permanentErrorsDefinition": {
- "errorCodes": [
- "string"
], - "errorMessages": [
- "string"
], - "httpStatusCodes": [
- 0
]
}, - "status": "Enable, Disable, TestMode (The testMode indicate to use the testModeParameters baseUrl and certificates and not the real one)",
- "supportedOperations": "create; renew; pause; resume; cancel",
- "testModeParameters": {
- "baseUrl": "string",
- "httpClientConfiguration": {
- "clientCredentialOauth2Config": {
- "clientId": "string",
- "clientSecret": "string",
- "scopes": [
- "string"
], - "tokenUrl": "string",
- "values": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "httpHeaders": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "tlsConfiguration": {
- "clientCertificates": "string",
- "clientCertificatesExpirationDate": 0,
- "lastCertificatesExpirationNotificationTimestamp": 0,
- "privateKey": "string",
- "serverCACertificates": "string",
- "serverCACertificatesExpirationDate": 0,
- "tlsAuthMode": "string"
}
}
}, - "updateDate": 1593685645385
}
Response samples
- 201
- 400
- 401
- 403
- 500
{- "bodyType": "json; xml",
- "createDate": 1593683684789,
- "customerId": "e0436791-5866-406d-b0c8-3ba32ead438a",
- "dbVersion": 0,
- "fillWithGeneric": true,
- "httpClientConfiguration": {
- "clientCredentialOauth2Config": {
- "clientId": "string",
- "clientSecret": "string",
- "scopes": [
- "string"
], - "tokenUrl": "string",
- "values": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "httpHeaders": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "tlsConfiguration": {
- "clientCertificates": "string",
- "clientCertificatesExpirationDate": 0,
- "lastCertificatesExpirationNotificationTimestamp": 0,
- "privateKey": "string",
- "serverCACertificates": "string",
- "serverCACertificatesExpirationDate": 0,
- "tlsAuthMode": "string"
}
}, - "id": "d87e0973-980a-4485-a39d-682184a8988a",
- "name": "test-ManuallyCreatedGenericLicenseProvider",
- "operationDefinitions": {
- "property1": {
- "bodyTemplate": "string",
- "httpHeaders": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "responsePaths": {
- "property1": {
- "conversionTemplate": "string",
- "path": "string"
}, - "property2": {
- "conversionTemplate": "string",
- "path": "string"
}
}, - "urlComplement": "string"
}, - "property2": {
- "bodyTemplate": "string",
- "httpHeaders": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "responsePaths": {
- "property1": {
- "conversionTemplate": "string",
- "path": "string"
}, - "property2": {
- "conversionTemplate": "string",
- "path": "string"
}
}, - "urlComplement": "string"
}
}, - "permanentErrorsDefinition": {
- "errorCodes": [
- "string"
], - "errorMessages": [
- "string"
], - "httpStatusCodes": [
- 0
]
}, - "status": "Enable, Disable, TestMode (The testMode indicate to use the testModeParameters baseUrl and certificates and not the real one)",
- "supportedOperations": "create; renew; pause; resume; cancel",
- "testModeParameters": {
- "baseUrl": "string",
- "httpClientConfiguration": {
- "clientCredentialOauth2Config": {
- "clientId": "string",
- "clientSecret": "string",
- "scopes": [
- "string"
], - "tokenUrl": "string",
- "values": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "httpHeaders": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "tlsConfiguration": {
- "clientCertificates": "string",
- "clientCertificatesExpirationDate": 0,
- "lastCertificatesExpirationNotificationTimestamp": 0,
- "privateKey": "string",
- "serverCACertificates": "string",
- "serverCACertificatesExpirationDate": 0,
- "tlsAuthMode": "string"
}
}
}, - "updateDate": 1593685645385
}
Creates license provider definition.
Authorizations:
Request Body schema: application/json
baseUrl | string Base url of for license related requests |
bodyType | string Body type |
customerId | string Associates entity to certain customer. |
fillWithGeneric | boolean if true, license will be filled with generic request/response payload for fulfillment |
object (HttpClientConfiguration) | |
name required | string License Provider Definition name Name must be unique |
required | object |
object (PermanentErrorsDefinition) | |
status | string fulfillment definition status |
supportedOperations | Array of strings Operations which can be performed about a single license. |
object (TestModeParameters) |
Responses
Request samples
- Payload
{- "bodyType": "json; xml",
- "customerId": "e0436791-5866-406d-b0c8-3ba32ead438a",
- "fillWithGeneric": true,
- "httpClientConfiguration": {
- "clientCredentialOauth2Config": {
- "clientId": "string",
- "clientSecret": "string",
- "scopes": [
- "string"
], - "tokenUrl": "string",
- "values": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "httpHeaders": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "tlsConfiguration": {
- "clientCertificates": "string",
- "clientCertificatesExpirationDate": 0,
- "lastCertificatesExpirationNotificationTimestamp": 0,
- "privateKey": "string",
- "serverCACertificates": "string",
- "serverCACertificatesExpirationDate": 0,
- "tlsAuthMode": "string"
}
}, - "name": "test-ManuallyCreatedGenericLicenseProvider",
- "operationDefinitions": {
- "property1": {
- "bodyTemplate": "string",
- "httpHeaders": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "responsePaths": {
- "property1": {
- "conversionTemplate": "string",
- "path": "string"
}, - "property2": {
- "conversionTemplate": "string",
- "path": "string"
}
}, - "urlComplement": "string"
}, - "property2": {
- "bodyTemplate": "string",
- "httpHeaders": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "responsePaths": {
- "property1": {
- "conversionTemplate": "string",
- "path": "string"
}, - "property2": {
- "conversionTemplate": "string",
- "path": "string"
}
}, - "urlComplement": "string"
}
}, - "permanentErrorsDefinition": {
- "errorCodes": [
- "string"
], - "errorMessages": [
- "string"
], - "httpStatusCodes": [
- 0
]
}, - "status": "Enable, Disable, TestMode (The testMode indicate to use the testModeParameters baseUrl and certificates and not the real one)",
- "supportedOperations": "create; renew; pause; resume; cancel",
- "testModeParameters": {
- "baseUrl": "string",
- "httpClientConfiguration": {
- "clientCredentialOauth2Config": {
- "clientId": "string",
- "clientSecret": "string",
- "scopes": [
- "string"
], - "tokenUrl": "string",
- "values": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "httpHeaders": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "tlsConfiguration": {
- "clientCertificates": "string",
- "clientCertificatesExpirationDate": 0,
- "lastCertificatesExpirationNotificationTimestamp": 0,
- "privateKey": "string",
- "serverCACertificates": "string",
- "serverCACertificatesExpirationDate": 0,
- "tlsAuthMode": "string"
}
}
}
}
Response samples
- 400
- 401
- 403
- 500
{- "error": "Bad Request",
- "message": "error: field can't be empty",
- "path": "/service-name/resource/36a6d3ac-207f-4b64-be01-664c1edbd38b",
- "status": 400,
- "timestamp": 1593769514607
}
Gets license provider definition.
Authorizations:
path Parameters
id required | string Entity id generated and returned in "Location" header upon creation (POST). |
Responses
Response samples
- 200
- 400
- 401
- 403
- 404
- 500
{- "bodyType": "json; xml",
- "createDate": 1593683684789,
- "customerId": "e0436791-5866-406d-b0c8-3ba32ead438a",
- "dbVersion": 0,
- "fillWithGeneric": true,
- "httpClientConfiguration": {
- "clientCredentialOauth2Config": {
- "clientId": "string",
- "clientSecret": "string",
- "scopes": [
- "string"
], - "tokenUrl": "string",
- "values": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "httpHeaders": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "tlsConfiguration": {
- "clientCertificates": "string",
- "clientCertificatesExpirationDate": 0,
- "lastCertificatesExpirationNotificationTimestamp": 0,
- "privateKey": "string",
- "serverCACertificates": "string",
- "serverCACertificatesExpirationDate": 0,
- "tlsAuthMode": "string"
}
}, - "id": "d87e0973-980a-4485-a39d-682184a8988a",
- "name": "test-ManuallyCreatedGenericLicenseProvider",
- "operationDefinitions": {
- "property1": {
- "bodyTemplate": "string",
- "httpHeaders": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "responsePaths": {
- "property1": {
- "conversionTemplate": "string",
- "path": "string"
}, - "property2": {
- "conversionTemplate": "string",
- "path": "string"
}
}, - "urlComplement": "string"
}, - "property2": {
- "bodyTemplate": "string",
- "httpHeaders": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "responsePaths": {
- "property1": {
- "conversionTemplate": "string",
- "path": "string"
}, - "property2": {
- "conversionTemplate": "string",
- "path": "string"
}
}, - "urlComplement": "string"
}
}, - "permanentErrorsDefinition": {
- "errorCodes": [
- "string"
], - "errorMessages": [
- "string"
], - "httpStatusCodes": [
- 0
]
}, - "status": "Enable, Disable, TestMode (The testMode indicate to use the testModeParameters baseUrl and certificates and not the real one)",
- "supportedOperations": "create; renew; pause; resume; cancel",
- "testModeParameters": {
- "baseUrl": "string",
- "httpClientConfiguration": {
- "clientCredentialOauth2Config": {
- "clientId": "string",
- "clientSecret": "string",
- "scopes": [
- "string"
], - "tokenUrl": "string",
- "values": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}
}, - "httpHeaders": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "tlsConfiguration": {
- "clientCertificates": "string",
- "clientCertificatesExpirationDate": 0,
- "lastCertificatesExpirationNotificationTimestamp": 0,
- "privateKey": "string",
- "serverCACertificates": "string",
- "serverCACertificatesExpirationDate": 0,
- "tlsAuthMode": "string"
}
}
}, - "updateDate": 1593685645385
}
Deletes license provider definitions.
Authorizations:
path Parameters
id required | string Entity id generated and returned in "Location" header upon creation (POST). |
Responses
Response samples
- 401
- 403
- 404
- 500
{- "error": "Unauthorized",
- "message": "Unauthorized",
- "path": "/service-name/resource/36a6d3ac-207f-4b64-be01-664c1edbd38b",
- "status": 401,
- "timestamp": 1593769514607
}
OperationExecutionId - for now i don`t know what it is :).
Authorizations:
path Parameters
id required | string Entity id generated and returned in "Location" header upon creation (POST). |
operationExecutionId required | string OperationExecutionId - for now i don`t know what it is :). |
Responses
Response samples
- 200
- 400
- 401
- 403
- 500
{- "additionalData": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "id": "string",
- "processingData": {
- "additionalData": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "checkout": {
- "affiliateId": "string",
- "billingPlanId": "string",
- "cartExternalContext": "string",
- "orderId": "string",
- "orderLineId": "string",
- "productUsageId": "string",
- "resellerId": "string",
- "storeExternalContext": "string",
- "subscriptionId": "string",
- "trialContext": "string"
}, - "licenseId": "string",
- "operation": "string",
- "operationExecutionId": "string",
- "product": {
- "expirationTimestamp": "string",
- "externalContext": "string",
- "id": "string",
- "licenseProviderDefinitionId": "string",
- "lineItemId": "string",
- "name": "string",
- "priceFunctionParameters": {
- "property1": "string",
- "property2": "string"
}, - "publisherProductId": "string",
- "releaseDate": 0,
- "startTimestamp": "string",
- "variables": {
- "property1": "string",
- "property2": "string"
}
}, - "requestTimestamp": 0,
- "user": {
- "city": "string",
- "companyIdentifier": "string",
- "companyName": "string",
- "country": "string",
- "email": "string",
- "firstName": "string",
- "id": "string",
- "lastName": "string",
- "locale": "string",
- "zipCode": "string"
}
}, - "replyContext": "string",
- "request": {
- "additionalData": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "checkout": {
- "affiliateId": "string",
- "billingPlanId": "string",
- "cartExternalContext": "string",
- "orderId": "string",
- "orderLineId": "string",
- "productUsageId": "string",
- "resellerId": "string",
- "storeExternalContext": "string",
- "subscriptionId": "string",
- "trialContext": "string"
}, - "licenseId": "string",
- "noAutomaticRetry": true,
- "operation": "string",
- "product": {
- "expirationTimestamp": "string",
- "externalContext": "string",
- "id": "string",
- "licenseProviderDefinitionId": "string",
- "lineItemId": "string",
- "name": "string",
- "priceFunctionParameters": {
- "property1": "string",
- "property2": "string"
}, - "publisherProductId": "string",
- "releaseDate": 0,
- "startTimestamp": "string",
- "variables": {
- "property1": "string",
- "property2": "string"
}
}, - "testModeParameters": {
- "responseBody": "string",
- "url": "string"
}, - "user": {
- "city": "string",
- "companyIdentifier": "string",
- "companyName": "string",
- "country": "string",
- "email": "string",
- "firstName": "string",
- "id": "string",
- "lastName": "string",
- "locale": "string",
- "zipCode": "string"
}
}, - "requestTimestamp": 0,
- "requestTrackingContext": {
- "Internal": "string",
- "Request": "string",
- "Session": "string"
}, - "status": "string",
- "traces": [
- {
- "executionError": "string",
- "extractedResponseData": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "httpRequest": "string",
- "httpResponse": "string",
- "httpResponseStatus": 0,
- "isScheduled": true,
- "isSuccess": true,
- "timestamp": 0
}
]
}
You can replay only last operation on license if it is error.
Authorizations:
path Parameters
id required | string Entity id generated and returned in "Location" header upon creation (POST). |
Responses
Response samples
- 200
- 400
- 401
- 403
- 500
{- "additionalData": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "id": "string",
- "processingData": {
- "additionalData": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "checkout": {
- "affiliateId": "string",
- "billingPlanId": "string",
- "cartExternalContext": "string",
- "orderId": "string",
- "orderLineId": "string",
- "productUsageId": "string",
- "resellerId": "string",
- "storeExternalContext": "string",
- "subscriptionId": "string",
- "trialContext": "string"
}, - "licenseId": "string",
- "operation": "string",
- "operationExecutionId": "string",
- "product": {
- "expirationTimestamp": "string",
- "externalContext": "string",
- "id": "string",
- "licenseProviderDefinitionId": "string",
- "lineItemId": "string",
- "name": "string",
- "priceFunctionParameters": {
- "property1": "string",
- "property2": "string"
}, - "publisherProductId": "string",
- "releaseDate": 0,
- "startTimestamp": "string",
- "variables": {
- "property1": "string",
- "property2": "string"
}
}, - "requestTimestamp": 0,
- "user": {
- "city": "string",
- "companyIdentifier": "string",
- "companyName": "string",
- "country": "string",
- "email": "string",
- "firstName": "string",
- "id": "string",
- "lastName": "string",
- "locale": "string",
- "zipCode": "string"
}
}, - "replyContext": "string",
- "request": {
- "additionalData": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "checkout": {
- "affiliateId": "string",
- "billingPlanId": "string",
- "cartExternalContext": "string",
- "orderId": "string",
- "orderLineId": "string",
- "productUsageId": "string",
- "resellerId": "string",
- "storeExternalContext": "string",
- "subscriptionId": "string",
- "trialContext": "string"
}, - "licenseId": "string",
- "noAutomaticRetry": true,
- "operation": "string",
- "product": {
- "expirationTimestamp": "string",
- "externalContext": "string",
- "id": "string",
- "licenseProviderDefinitionId": "string",
- "lineItemId": "string",
- "name": "string",
- "priceFunctionParameters": {
- "property1": "string",
- "property2": "string"
}, - "publisherProductId": "string",
- "releaseDate": 0,
- "startTimestamp": "string",
- "variables": {
- "property1": "string",
- "property2": "string"
}
}, - "testModeParameters": {
- "responseBody": "string",
- "url": "string"
}, - "user": {
- "city": "string",
- "companyIdentifier": "string",
- "companyName": "string",
- "country": "string",
- "email": "string",
- "firstName": "string",
- "id": "string",
- "lastName": "string",
- "locale": "string",
- "zipCode": "string"
}
}, - "requestTimestamp": 0,
- "requestTrackingContext": {
- "Internal": "string",
- "Request": "string",
- "Session": "string"
}, - "status": "string",
- "traces": [
- {
- "executionError": "string",
- "extractedResponseData": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "httpRequest": "string",
- "httpResponse": "string",
- "httpResponseStatus": 0,
- "isScheduled": true,
- "isSuccess": true,
- "timestamp": 0
}
]
}
You can replay only last operation on license if it is error.
Authorizations:
path Parameters
id required | string Entity id generated and returned in "Location" header upon creation (POST). |
Responses
Response samples
- 200
- 400
- 401
- 403
- 500
{- "errorMessage": "string",
- "license": {
- "additionalData": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "checkout": {
- "affiliateId": "string",
- "billingPlanId": "string",
- "cartExternalContext": "string",
- "orderId": "string",
- "orderLineId": "string",
- "productUsageId": "string",
- "resellerId": "string",
- "storeExternalContext": "string",
- "subscriptionId": "string",
- "trialContext": "string"
}, - "closeLicenseExpirationJobDone": true,
- "createDate": 1593683684789,
- "customerId": "e0436791-5866-406d-b0c8-3ba32ead438a",
- "dbVersion": 0,
- "expirationTimestamp": 0,
- "id": "d87e0973-980a-4485-a39d-682184a8988a",
- "lastFailureTimestamp": 0,
- "operationExecutions": [
- {
- "additionalData": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "id": "string",
- "processingData": {
- "additionalData": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "checkout": {
- "affiliateId": "string",
- "billingPlanId": "string",
- "cartExternalContext": "string",
- "orderId": "string",
- "orderLineId": "string",
- "productUsageId": "string",
- "resellerId": "string",
- "storeExternalContext": "string",
- "subscriptionId": "string",
- "trialContext": "string"
}, - "licenseId": "string",
- "operation": "string",
- "operationExecutionId": "string",
- "product": {
- "expirationTimestamp": "string",
- "externalContext": "string",
- "id": "string",
- "licenseProviderDefinitionId": "string",
- "lineItemId": "string",
- "name": "string",
- "priceFunctionParameters": {
- "property1": "string",
- "property2": "string"
}, - "publisherProductId": "string",
- "releaseDate": 0,
- "startTimestamp": "string",
- "variables": {
- "property1": "string",
- "property2": "string"
}
}, - "requestTimestamp": 0,
- "user": {
- "city": "string",
- "companyIdentifier": "string",
- "companyName": "string",
- "country": "string",
- "email": "string",
- "firstName": "string",
- "id": "string",
- "lastName": "string",
- "locale": "string",
- "zipCode": "string"
}
}, - "replyContext": "string",
- "request": {
- "additionalData": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "checkout": {
- "affiliateId": "string",
- "billingPlanId": "string",
- "cartExternalContext": "string",
- "orderId": "string",
- "orderLineId": "string",
- "productUsageId": "string",
- "resellerId": "string",
- "storeExternalContext": "string",
- "subscriptionId": "string",
- "trialContext": "string"
}, - "licenseId": "string",
- "noAutomaticRetry": true,
- "operation": "string",
- "product": {
- "expirationTimestamp": "string",
- "externalContext": "string",
- "id": "string",
- "licenseProviderDefinitionId": "string",
- "lineItemId": "string",
- "name": "string",
- "priceFunctionParameters": {
- "property1": "string",
- "property2": "string"
}, - "publisherProductId": "string",
- "releaseDate": 0,
- "startTimestamp": "string",
- "variables": {
- "property1": "string",
- "property2": "string"
}
}, - "testModeParameters": {
- "responseBody": "string",
- "url": "string"
}, - "user": {
- "city": "string",
- "companyIdentifier": "string",
- "companyName": "string",
- "country": "string",
- "email": "string",
- "firstName": "string",
- "id": "string",
- "lastName": "string",
- "locale": "string",
- "zipCode": "string"
}
}, - "requestTimestamp": 0,
- "requestTrackingContext": {
- "Internal": "string",
- "Request": "string",
- "Session": "string"
}, - "status": "string",
- "traces": [
- {
- "executionError": "string",
- "extractedResponseData": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "httpRequest": "string",
- "httpResponse": "string",
- "httpResponseStatus": 0,
- "isScheduled": true,
- "isSuccess": true,
- "timestamp": 0
}
]
}
], - "processingInProgress": true,
- "product": {
- "expirationTimestamp": "string",
- "externalContext": "string",
- "id": "string",
- "licenseProviderDefinitionId": "string",
- "lineItemId": "string",
- "name": "string",
- "priceFunctionParameters": {
- "property1": "string",
- "property2": "string"
}, - "publisherProductId": "string",
- "releaseDate": 0,
- "startTimestamp": "string",
- "variables": {
- "property1": "string",
- "property2": "string"
}
}, - "status": "Running, Canceled, Scheduled, Expired",
- "updateDate": 1593685645385,
- "user": {
- "city": "string",
- "companyIdentifier": "string",
- "companyName": "string",
- "country": "string",
- "email": "string",
- "firstName": "string",
- "id": "string",
- "lastName": "string",
- "locale": "string",
- "zipCode": "string"
}
}
}
Will return license for this operation.
Authorizations:
Request Body schema: application/json
object | |
object (Checkout) | |
licenseId | string |
noAutomaticRetry | boolean |
operation | string |
object (Product) | |
object (TestOperationParameters) Transient | |
object (User) |
Responses
Request samples
- Payload
{- "additionalData": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "checkout": {
- "affiliateId": "string",
- "billingPlanId": "string",
- "cartExternalContext": "string",
- "orderId": "string",
- "orderLineId": "string",
- "productUsageId": "string",
- "resellerId": "string",
- "storeExternalContext": "string",
- "subscriptionId": "string",
- "trialContext": "string"
}, - "licenseId": "string",
- "noAutomaticRetry": true,
- "operation": "string",
- "product": {
- "expirationTimestamp": "string",
- "externalContext": "string",
- "id": "string",
- "licenseProviderDefinitionId": "string",
- "lineItemId": "string",
- "name": "string",
- "priceFunctionParameters": {
- "property1": "string",
- "property2": "string"
}, - "publisherProductId": "string",
- "releaseDate": 0,
- "startTimestamp": "string",
- "variables": {
- "property1": "string",
- "property2": "string"
}
}, - "testModeParameters": {
- "responseBody": "string",
- "url": "string"
}, - "user": {
- "city": "string",
- "companyIdentifier": "string",
- "companyName": "string",
- "country": "string",
- "email": "string",
- "firstName": "string",
- "id": "string",
- "lastName": "string",
- "locale": "string",
- "zipCode": "string"
}
}
Response samples
- 200
- 400
- 401
- 403
- 500
{- "additionalData": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "checkout": {
- "affiliateId": "string",
- "billingPlanId": "string",
- "cartExternalContext": "string",
- "orderId": "string",
- "orderLineId": "string",
- "productUsageId": "string",
- "resellerId": "string",
- "storeExternalContext": "string",
- "subscriptionId": "string",
- "trialContext": "string"
}, - "closeLicenseExpirationJobDone": true,
- "createDate": 1593683684789,
- "customerId": "e0436791-5866-406d-b0c8-3ba32ead438a",
- "dbVersion": 0,
- "expirationTimestamp": 0,
- "id": "d87e0973-980a-4485-a39d-682184a8988a",
- "lastFailureTimestamp": 0,
- "operationExecutions": [
- {
- "additionalData": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "id": "string",
- "processingData": {
- "additionalData": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "checkout": {
- "affiliateId": "string",
- "billingPlanId": "string",
- "cartExternalContext": "string",
- "orderId": "string",
- "orderLineId": "string",
- "productUsageId": "string",
- "resellerId": "string",
- "storeExternalContext": "string",
- "subscriptionId": "string",
- "trialContext": "string"
}, - "licenseId": "string",
- "operation": "string",
- "operationExecutionId": "string",
- "product": {
- "expirationTimestamp": "string",
- "externalContext": "string",
- "id": "string",
- "licenseProviderDefinitionId": "string",
- "lineItemId": "string",
- "name": "string",
- "priceFunctionParameters": {
- "property1": "string",
- "property2": "string"
}, - "publisherProductId": "string",
- "releaseDate": 0,
- "startTimestamp": "string",
- "variables": {
- "property1": "string",
- "property2": "string"
}
}, - "requestTimestamp": 0,
- "user": {
- "city": "string",
- "companyIdentifier": "string",
- "companyName": "string",
- "country": "string",
- "email": "string",
- "firstName": "string",
- "id": "string",
- "lastName": "string",
- "locale": "string",
- "zipCode": "string"
}
}, - "replyContext": "string",
- "request": {
- "additionalData": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "checkout": {
- "affiliateId": "string",
- "billingPlanId": "string",
- "cartExternalContext": "string",
- "orderId": "string",
- "orderLineId": "string",
- "productUsageId": "string",
- "resellerId": "string",
- "storeExternalContext": "string",
- "subscriptionId": "string",
- "trialContext": "string"
}, - "licenseId": "string",
- "noAutomaticRetry": true,
- "operation": "string",
- "product": {
- "expirationTimestamp": "string",
- "externalContext": "string",
- "id": "string",
- "licenseProviderDefinitionId": "string",
- "lineItemId": "string",
- "name": "string",
- "priceFunctionParameters": {
- "property1": "string",
- "property2": "string"
}, - "publisherProductId": "string",
- "releaseDate": 0,
- "startTimestamp": "string",
- "variables": {
- "property1": "string",
- "property2": "string"
}
}, - "testModeParameters": {
- "responseBody": "string",
- "url": "string"
}, - "user": {
- "city": "string",
- "companyIdentifier": "string",
- "companyName": "string",
- "country": "string",
- "email": "string",
- "firstName": "string",
- "id": "string",
- "lastName": "string",
- "locale": "string",
- "zipCode": "string"
}
}, - "requestTimestamp": 0,
- "requestTrackingContext": {
- "Internal": "string",
- "Request": "string",
- "Session": "string"
}, - "status": "string",
- "traces": [
- {
- "executionError": "string",
- "extractedResponseData": {
- "property1": [
- "string"
], - "property2": [
- "string"
]
}, - "httpRequest": "string",
- "httpResponse": "string",
- "httpResponseStatus": 0,
- "isScheduled": true,
- "isSuccess": true,
- "timestamp": 0
}
]
}
], - "processingInProgress": true,
- "product": {
- "expirationTimestamp": "string",
- "externalContext": "string",
- "id": "string",
- "licenseProviderDefinitionId": "string",
- "lineItemId": "string",
- "name": "string",
- "priceFunctionParameters": {
- "property1": "string",
- "property2": "string"
}, - "publisherProductId": "string",
- "releaseDate": 0,
- "startTimestamp": "string",
- "variables": {
- "property1": "string",
- "property2": "string"
}
}, - "status": "Running, Canceled, Scheduled, Expired",
- "updateDate": 1593685645385,
- "user": {
- "city": "string",
- "companyIdentifier": "string",
- "companyName": "string",
- "country": "string",
- "email": "string",
- "firstName": "string",
- "id": "string",
- "lastName": "string",
- "locale": "string",
- "zipCode": "string"
}
}