Token

Create token by 'tokenType' and additional token parameters

post/token

Request

  • Base URL
    https://go.netlicensing.io/core/v2/rest
  • URL
    https://go.netlicensing.io/core/v2/rest/token
  • Auth
    HTTP basic

Request body application/x-www-form-urlencoded

tokenType'DEFAULT' | 'SHOP' | 'APIKEY' required

Token type to be generated

apiKeyRole'ROLE_APIKEY_LICENSEE' | 'ROLE_APIKEY_ANALYTICS' | 'ROLE_APIKEY_OPERATION' | 'ROLE_APIKEY_MAINTENANCE' | 'ROLE_APIKEY_ADMIN'

For <i>tokenType=APIKEY</i> only (default: ROLE_APIKEY_LICENSEE); defines token RoleID

type'ACTION'

For <i>tokenType=DEFAULT</i> only; action type to be set

action'licenseeLogin'

For <i>type=ACTION</i> only; defines token action to be perfromed

licenseeNumberstring

For <i>tokenType=SHOP</i> or <i>type=ACTION</i> only (mandatory); identifies Licensee that will be assigned to the shop token

privateKeystring

For <i>tokenType=APIKEY</i> only (optional); defines PrivateKey to be used with the validate method<br/><strong>Please Note:</strong> PrivateKey need to be provided as one line without spaces

productNumberstring

For <i>tokenType=SHOP</i> only (mandatory); identifies Product that will be assigned to the shop token

licenseTemplateNumberstring

For <i>tokenType=SHOP</i> only; identifies LicenseTemplate that will be assigned to the shop token

predefinedShoppingItemstring

For <i>tokenType=SHOP</i> only; identifies Shopping Item name that will be shown to the customer

successURLstring

For <i>tokenType=SHOP</i> only; take customers to this URL when they finish checkout

successURLTitlestring

For <i>tokenType=SHOP</i> only; shop link title for successful checkout process

cancelURLstring

For <i>tokenType=SHOP</i> only; take customers to this URL when they cancel their checkout

cancelURLTitlestring

For <i>tokenType=SHOP</i> only; shop link title for cancel checkout process

Response

Successful request

infosInfos
itemsItems

Changes

    • info

      the endpoint scheme security basicAuth was added to the API

    • info

      the endpoint scheme security basicAuth AND api_key was removed from the API