This article describes how to use the built-in API available to vendors.
Endpoint | /API/Public/v1/Accounts/r1/GetProductLicenses |
||||||
Description |
Gets all licenses a account owns for a specific product. NOTE Only products created with the account the API key is bound to can be requested. |
||||||
Input parameters expected as | Query/GET Parameter | ||||||
Input parameter |
|
||||||
Returns data as | JSON Object | ||||||
Example response |
{ "errors": [], "response": { "licenses": [ { "internalUserIdentifier": "K109025530", "from": "2018-10-19T16:24:59.089163", "until": "9999-01-01T00:00:00", "isActive": false, "orderIdentifier": "B441542389", "licenseIdentifier": "L156429250", "licenseKey": "2f25e95e-a816-48a0-b83a-01ea14c8b276" }, { "internalUserIdentifier": "K109025530", "from": "2018-10-22T13:09:47.389843", "until": "2018-10-27T13:09:47.389843", "isActive": true, "orderIdentifier": null, "licenseIdentifier": "L309483763", "licenseKey": "998ccfc9-77c6-4837-8f10-b83279b065a9" } ] } } |
||||||
Additional notes |
If the field .response.licenses.until is set to 9999-01-01T00:00:00 , the license is permanent.
|
Endpoint | /API/Public/v1/Authentication/r1/GetTokenValidity |
||||
Description |
Used to validate one-time-login-tokens for their validity. The token is passed to your product's Service URL as the token parameter upon the user trying to access your service.
|
||||
Input parameters expected as | Query/GET Parameter | ||||
Input parameter |
|
||||
Returns data as | JSON Object | ||||
Example response |
{ "errors": [], "response": { "authenticatedIdentity": { "identifier": "K109025530", "firstName": "Erika", "lastName": "Mustermann", "email": "[email protected]", "isEmailVerified": true, "countryCode3Letter": "DEU" } } } |
Endpoint | /API/Public/v1/Licenses/r1/GetPublic |
||||
Description | Used to retrieve basic information about a license key. | ||||
Input parameters expected as | Query/GET Parameter | ||||
Input parameter |
|
||||
Returns data as | JSON Object | ||||
Example response |
{ "errors": [], "response": { "exists": false, "key": "dd1952b9-2571-4595-9f5f-d503d36388d2", "isValid": false, "productSku": null, "latestPublicVersionName": null } } |
Endpoint | /API/Public/v1/Licenses/r1/Get |
||||
Description | Used to retrieve extended information about the license that is currently valid and bound to the given license key. | ||||
Input parameters expected as | Query/GET Parameter | ||||
Input parameter |
|
||||
Returns data as | JSON Object | ||||
Example response |
{ "errors": [], "response": { "license": { "productSku": "arpc3ydo0qbxbufuncdh", "issuedToIdentifier": "K123456789", "validFrom": "2018-12-31T03:16:44.557087", "validUntil": "9999-01-01T00:00:00", "isPermanent": true, "keyIdentifier": "5fc55949-8f7a-4a22-97c3-8d15f9780284", "isActive": true } } } |
Endpoint | /API/Public/v1/Discounts/r1/Create |
||||||||||||||||||
Description | Used to create discounts for products. | ||||||||||||||||||
Input parameters expected as | Form Data | ||||||||||||||||||
Input parameter |
|
||||||||||||||||||
Returns data as | JSON Object | ||||||||||||||||||
Example response |
{ "errors": [], "response": { "code": "PFNHX-BDFZ8-L8PEX" } } |