netlicensing

v1.0.2
com.mcparmory/netlicensing Checked 3 days ago Published 6 months ago

Create and manage software licenses, products, modules, and customer licensing agreements

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_products List Products

Retrieve a complete list of all configured products available for the current vendor. Use this to discover and enumerate products in your vendor account.

create_product Create Product

Creates a new product with licensing configuration. The product is identified by its name and version combination and can be immediately activated or disabled for new licensee registrations.

ParameterTypeDescription
active *booleanActivation status of the product. When set to false, the product is disabled and prevents new licensee registrations and license issuance to existing licensees.
name *stringThe product name, which together with the version uniquely identifies the product for end customers.
version *stringThe product version, which together with the name uniquely identifies the product for end customers.
descriptionstringA descriptive text providing additional information about the product.
licenseeAutoCreatebooleanWhen enabled, non-existing licensees are automatically created upon their first license validation attempt.
licensingInfostringLicensing-related information or terms associated with the product.
vatModestringTax calculation mode for the product. Choose GROSS for prices including tax or NET for prices excluding tax.

get_product Get Product

Retrieve a specific product by its unique product number. Use this operation to fetch detailed information about a single product.

ParameterTypeDescription
productNumber *stringThe unique identifier for the product. This value must exactly match the product number in the system.

update_product Update Product

Update product properties such as name, version, licensing settings, and VAT configuration. Returns the updated product with all applied changes.

ParameterTypeDescription
productNumber *stringThe unique identifier for the product to update.
activebooleanEnable or disable the product. When disabled, new licensees cannot be registered and existing licensees cannot obtain new licenses.
descriptionstringA description of the product for internal or customer-facing documentation.
licenseeAutoCreatebooleanWhen enabled, licensees that do not exist will be automatically created during their first license validation attempt.
licensingInfostringLicensing terms and conditions information associated with the product.
namestringThe product name, typically displayed to end customers alongside the version.
vatModestringThe VAT calculation mode for the product: GROSS (price includes VAT) or NET (price excludes VAT).
versionstringThe product version, used alongside the name to identify the product to end customers.

delete_product Delete Product

Permanently delete a product by its unique product number. Optionally cascade the deletion to remove all dependent objects.

ParameterTypeDescription
productNumber *stringThe unique identifier for the product to delete.
forceCascadebooleanWhen enabled, forces deletion of the product and all its dependent objects. Use with caution as this operation cannot be undone.

list_product_modules List Product Modules

Retrieve a complete list of all Product Modules available for the current Vendor. This operation returns all modules without filtering or pagination.

create_product_module Create Product Module

Creates a new Product Module within a Product, establishing the licensing model and configuration for how licenses are managed and validated for end customers.

ParameterTypeDescription
active *booleanActivation status of the Product Module. When set to false, the module is disabled and Licensees cannot obtain new Licenses for it.
licensingModel *stringThe licensing model that governs how this Product Module's licenses are configured and validated. The selected model determines which License Templates can be used and validation behavior.
name *stringDisplay name for the Product Module shown to end customers in the NetLicensing Shop.
productNumber *stringUnique identifier for the Product Module within the Vendor's Product catalog. Can be assigned by the Vendor or auto-generated by NetLicensing. Becomes read-only once the first Licensee is created for…
licenseTemplatearrayLicense Template configuration defining license types and rules. Required when using the Try & Buy licensing model. Specify as an array of template objects.
maxCheckoutValiditystringMaximum number of days a License can remain checked out offline. Required when using the Floating licensing model.
nodeSecretModearraySecret Mode configuration for node-locked licensing. Required when using the Node-Locked licensing model. Specify as an array of mode values.
redThresholdstringRemaining time volume threshold (in days) that triggers red status alerts. Required when using the Rental licensing model.
yellowThresholdstringRemaining time volume threshold (in days) that triggers yellow status alerts. Required when using the Rental licensing model.

get_product_module Get Product Module

Retrieve a specific Product Module by its unique identifier. Returns the complete Product Module details for the given productModuleNumber.

ParameterTypeDescription
productModuleNumber *stringThe unique identifier for the Product Module, assigned by the Vendor or auto-generated by NetLicensing. This value becomes read-only once the first Licensee is created for the Product.

update_product_module Update Product Module

Update properties of an existing Product Module. Modifies the specified Product Module configuration and returns the updated module details.

ParameterTypeDescription
productModuleNumber *stringUnique identifier for the Product Module within the Vendor's product catalog. This value becomes read-only once the first Licensee is created for the Product.
activebooleanEnable or disable the Product Module. When disabled, Licensees cannot obtain new Licenses for this module.
licenseTemplatearrayLicense Template configuration for this Product Module. Required when using the Try & Buy licensing model.
licensingModelstringLicensing model that governs how this Product Module's licenses are configured and validated. The selected model determines which additional properties are required.
maxCheckoutValiditystringMaximum number of days a license can remain checked out. Required when using the Floating licensing model.
namestringDisplay name for the Product Module shown to end customers in NetLicensing Shop.
nodeSecretModearraySecret Mode configuration for node-locked licensing. Required when using the Node-Locked licensing model.
redThresholdstringRemaining time volume threshold (in days) that triggers red status. Required when using the Rental licensing model.
yellowThresholdstringRemaining time volume threshold (in days) that triggers yellow status. Required when using the Rental licensing model.

delete_product_module Delete Product Module

Permanently delete a Product Module by its unique number. Optionally cascade the deletion to all descendant objects.

ParameterTypeDescription
productModuleNumber *stringThe unique identifier for the Product Module within a Vendor's product catalog. This number must exactly match an existing Product Module.
forceCascadebooleanWhen enabled, forces deletion of the Product Module and all its child objects in the hierarchy. Use with caution as this operation cannot be undone.

list_license_templates List License Templates

Retrieve all available license templates configured for the current vendor. Use this to discover template options before creating or managing licenses.

create_license_template Create License Template

Creates a new License Template for a specified Product Module, defining the licensing model and availability rules for licensees.

ParameterTypeDescription
active *booleanControls whether the License Template is active; when disabled, licensees cannot obtain new licenses from this template.
licenseType *stringSpecifies the licensing model for licenses created from this template. Choose from: FEATURE (feature-based licensing), TIMEVOLUME (time-limited volume licensing), FLOATING (concurrent user licensing),…
name *stringA descriptive name for the License Template that identifies its purpose and licensing model.
productModuleNumber *stringThe unique identifier of the Product Module under which this License Template will be created.
automaticbooleanWhen enabled, new licensees automatically receive one license from this template upon creation. Automatic licenses must have a price of zero.
hiddenbooleanWhen enabled, this License Template is hidden from the NetLicensing Shop and not offered for direct purchase by customers.
hideLicensesbooleanWhen enabled, licenses created from this template are hidden from end customers but still participate in license validation checks.
quotastringRequired for quota-based licensing models; defines the maximum quota allocation for licenses created from this template.
timeVolumePeriodstringRequired when licenseType is set to TIMEVOLUME; specifies the duration period for time-volume licenses (e.g., monthly, yearly).

get_license_template Get License Template

Retrieve a specific License Template by its unique identifier. This template defines the licensing model and terms for products from a vendor.

ParameterTypeDescription
licenseTemplateNumber *stringThe unique identifier for the License Template, assigned by the vendor during creation or auto-generated by NetLicensing. This value becomes read-only once the first License is created from this templ…

update_license_template Update License Template

Update properties of an existing License Template. Changes apply to the template itself and affect how new Licenses are created from it.

ParameterTypeDescription
licenseTemplateNumber *stringThe unique identifier for the License Template within the Vendor's product portfolio. This value is immutable once the first License is created from this template.
activebooleanEnable or disable the License Template. When disabled, new Licensees cannot obtain Licenses from this template, though existing Licenses remain valid.
automaticbooleanWhen enabled, each newly created Licensee automatically receives one License from this template at no cost. Automatic Licenses must have a price of zero.
hiddenbooleanWhen enabled, this License Template is excluded from the NetLicensing Shop and is not available for direct purchase by customers.
hideLicensesbooleanWhen enabled, Licenses created from this template are hidden from end-customer visibility but still participate in license validation checks.
licenseTypestringSpecifies the licensing model for Licenses created from this template. Choose from: FEATURE (feature-based licensing), TIMEVOLUME (time and volume-based), FLOATING (concurrent usage), or QUANTITY (fix…
namestringA human-readable name for the License Template to identify it in the system.
quotastringRequired when using the Quota License Model. Specifies the quota limit for Licenses created from this template.
timeVolumePeriodstringRequired for TIMEVOLUME License Type. Defines the time period over which volume is measured (e.g., monthly, yearly).

delete_license_template Delete License Template

Permanently delete a License Template by its unique number. Optionally cascade the deletion to remove all dependent objects.

ParameterTypeDescription
licenseTemplateNumber *stringThe unique identifier for the License Template to delete, assigned across all Products within a Vendor.
forceCascadebooleanWhen enabled, forces deletion of the License Template and all its descendant objects. Use with caution as this operation cannot be undone.

list_licensees List Licensees

Retrieve a complete list of all licensees associated with the current vendor account.

create_licensee Create Licensee

Creates a new Licensee entity that can obtain licenses and be validated. The licensee's active status determines whether it can acquire new licenses and participate in validation processes.

ParameterTypeDescription
active *booleanDetermines whether the Licensee is active. When set to false, the Licensee is disabled and cannot obtain new licenses or participate in validation.
productNumber *stringThe product number to assign to the new Licensee. This identifier links the licensee to a specific product.
markedForTransferbooleanIndicates whether this Licensee is marked for transfer to another entity. Used to flag licensees pending transfer operations.
namestringThe display name for the Licensee. Used to identify the licensee in the system.

get_licensee Get Licensee

Retrieve a specific licensee by their unique identifier. Returns complete licensee details including licensing status and associated metadata.

ParameterTypeDescription
licenseeNumber *stringThe unique identifier assigned to the licensee within the vendor's product ecosystem. This value is either vendor-assigned during licensee creation or auto-generated by NetLicensing, and becomes read-…

update_licensee Update Licensee

Update properties of an existing Licensee. Modify activation status, name, or transfer eligibility and receive the updated Licensee object.

ParameterTypeDescription
licenseeNumber *stringThe unique identifier for the Licensee within the Vendor's product ecosystem. This value is assigned by the Vendor during creation or auto-generated by NetLicensing, and becomes read-only once the fir…
activebooleanEnable or disable the Licensee. When set to false, the Licensee cannot obtain new Licenses and validation checks are disabled.
markedForTransferbooleanFlag indicating whether this Licensee is eligible for transfer to another Vendor or account.
namestringDisplay name or label for the Licensee.

delete_licensee Delete Licensee

Permanently delete a licensee by its unique number. Optionally cascade the deletion to remove all dependent objects and descendants.

ParameterTypeDescription
licenseeNumber *stringThe unique identifier for the licensee to delete. This number is unique across all products for a given vendor.
forceCascadebooleanWhen enabled, forces deletion of the licensee and all its dependent objects and descendants. Use with caution as this operation cannot be undone.

validate_licensee Validate Licensee

Validates the active licenses for a specific licensee, supporting both node-locked and floating licensing models. Use this to verify license status and manage session allocation for floating licenses.

ParameterTypeDescription
licenseeNumber *stringThe unique identifier for the licensee to validate. Maximum length is 1000 characters.
actionstringThe session action for floating licensing models. Use 'checkOut' to allocate a session from the pool or 'checkIn' to return a session to the pool.
licenseeNamestringHuman-readable name for the licensee. Used as a custom property if the licensee is auto-created during validation.
nodeSecretstringA unique secret value for node-locked licensing models. Used to identify and validate the specific node.
productModuleNumberstringThe product module identifier for node-locked licensing models. Specifies which module within the product is being validated.
productNumberstringThe product identifier associated with the licensee. Required when licensee auto-creation is enabled to specify which product the new licensee should be added to.
sessionIdstringA unique session identifier for floating licensing models. Used to track and manage the session within the available pool.

transfer_licenses_between_licensees Transfer Licenses Between Licensees

Transfer licenses from a source licensee to a destination licensee. This operation moves all or specified licenses between two licensee accounts.

ParameterTypeDescription
licenseeNumber *stringThe destination licensee number that will receive the transferred licenses. Must be a valid licensee identifier with a maximum length of 1000 characters.
sourceLicenseeNumber *stringThe source licensee number from which licenses will be transferred. Must be a valid licensee identifier with a maximum length of 1000 characters.

list_licenses List Licenses

Retrieve a complete list of all licenses associated with the current vendor account.

create_license Create License

Creates a new license by associating a licensee with a license template. The license inherits default properties from the template unless explicitly overridden.

ParameterTypeDescription
active *booleanWhether the license is active and available for use immediately upon creation.
licenseTemplateNumber *stringThe unique identifier of the license template that defines the license type, model, and default properties.
licenseeNumber *stringThe unique identifier of the licensee to whom this license will be assigned.
hiddenbooleanIf set to true, this license will not be displayed in the NetLicensing Shop as a purchased license. If not specified, the value from the license template will be used.
namestringA display name for the licensed item. If not provided, the name from the license template will be used automatically.
parentfeaturestringRequired when the license template uses the 'TIMEVOLUME' type or 'RENTAL' licensing model. Identifies the parent feature or product this license applies to.
startDatestringThe date and time when the license becomes effective. Required for 'TIMEVOLUME' license type. Must be provided in ISO 8601 date-time format.
timeVolumePeriodstringThe time period unit for time-volume based licenses (e.g., 'MONTH', 'YEAR'). Only applicable for 'TIMEVOLUME' license type.
usedQuantitystringThe quantity of the licensed resource already consumed. Required for 'Pay-per-Use' licensing model to track usage.

get_license Get License

Retrieve a specific license by its unique identifier. Returns complete license details including status, product information, and licensee data.

ParameterTypeDescription
licenseNumber *stringThe unique license identifier assigned by the vendor or auto-generated by NetLicensing. This value is immutable after the associated creation transaction is closed.

update_license Update License

Update an existing license by its unique license number. Modify license properties such as activation status, name, validity period, and usage tracking.

ParameterTypeDescription
licenseNumber *stringThe unique identifier for the license to update. This number is assigned by the vendor or auto-generated by NetLicensing and cannot be changed after the creation transaction is closed.
activebooleanEnable or disable the license. When disabled, the license becomes inactive.
hiddenbooleanWhen set to true, this license will not be displayed in the NetLicensing Shop as a purchased license. If not specified, the setting from the License Template is used.
namestringA human-readable name for the licensed item. If not provided during update, the existing name from the License Template is retained.
parentfeaturestringThe parent feature that this license is associated with or depends on.
startDatestringThe start date and time for the license validity period. Required for TIMEVOLUME license types. Must be provided in ISO 8601 date-time format.
timeVolumePeriodstringThe time period duration for TIMEVOLUME license types (e.g., monthly, yearly, or custom interval).
usedQuantitystringThe quantity of the licensed resource that has been consumed or used. Required and must be tracked for Pay-per-Use license models.

delete_license Delete License

Permanently delete a license by its unique identifier. Once deleted, the license cannot be recovered.

ParameterTypeDescription
licenseNumber *stringThe unique license identifier assigned by the vendor or generated by NetLicensing. This value is immutable after the associated creation transaction is closed.

list_transactions List Transactions

Retrieve a complete list of all transactions associated with the current vendor account.

create_transaction Create Transaction

Creates a new transaction in the system. Transactions are always initialized in an active state and require a status and source to be specified.

ParameterTypeDescription
active *booleanActivation status of the transaction. Must always be set to true when creating a transaction.
source *stringThe origin system for this transaction. Must be set to SHOP, indicating this is a point-of-sale transaction for internal use.
status *stringThe current state of the transaction. Must be one of: PENDING (awaiting processing), CLOSED (completed), or CANCELLED (voided).
licenseeNumberstringOptional identifier for the licensee associated with this transaction.
paymentMethodstringOptional payment method used for this transaction (e.g., credit card, cash, digital wallet).

get_transaction Get Transaction

Retrieve a specific transaction by its unique identifier. Returns complete transaction details including all associated metadata and status information.

ParameterTypeDescription
transactionNumber *stringThe unique transaction identifier assigned by the vendor. This number is globally unique across all products within the vendor's system and is used to retrieve the specific transaction record.

update_transaction Update Transaction

Update specific properties of an existing transaction identified by its transaction number. Returns the updated transaction with all changes applied.

ParameterTypeDescription
transactionNumber *stringThe unique identifier for the transaction to update. This number is unique across all products for a given vendor.
activebooleanFlag indicating whether the transaction is active. This field should always be set to true for transactions.
paymentMethodstringThe payment method used for the transaction (e.g., credit card, debit card, digital wallet).
sourcestringThe origin system for the transaction. Currently only SHOP is supported; AUTO transactions are reserved for internal system use only.
statusstringThe current state of the transaction. Valid states are: PENDING (awaiting processing), CLOSED (completed), or CANCELLED (voided).

list_tokens List Tokens

Retrieve all authentication tokens associated with the current vendor account. Use this to view and manage API credentials.

create_token Create Token

Generate authentication or shop tokens for different use cases. The token type determines which additional parameters are required: APIKEY tokens for programmatic access, SHOP tokens for customer checkout flows, or DEFAULT tokens for licensee login actions.

ParameterTypeDescription
tokenType *stringThe category of token to generate. Choose DEFAULT for licensee login actions, SHOP for customer checkout flows, or APIKEY for programmatic API access.
actionstringThe specific operation for DEFAULT tokens with type=ACTION only. Currently supports licenseeLogin action.
apiKeyRolestringThe permission level for APIKEY tokens only. Defaults to ROLE_APIKEY_LICENSEE if not specified. Select from licensee, analytics, operation, maintenance, or admin roles.
cancelURLTitlestringThe link title for SHOP tokens only, displayed to the customer if they cancel the checkout process.
licenseTemplateNumberstringThe license template identifier for SHOP tokens only. Determines the licensing terms applied to purchases made with this token.
licenseeNumberstringThe licensee identifier required for SHOP tokens or DEFAULT tokens with type=ACTION. Identifies which licensee owns or is associated with the token.
predefinedShoppingItemstringThe shopping item name for SHOP tokens only. Displayed to the customer during the checkout process.
privateKeystringThe private key for APIKEY tokens only, used for token validation. Must be provided as a single line without spaces.
productNumberstringThe product identifier required for SHOP tokens. Specifies which product the customer can purchase through the generated shop token.
successURLTitlestringThe link title for SHOP tokens only, displayed to the customer after successful checkout completion.
typestringThe token behavior for DEFAULT tokens only. Currently supports ACTION type for performing specific licensee login operations.

get_token Get Token

Retrieve a specific token by its token number. Use this operation to fetch details about an individual token in the system.

ParameterTypeDescription
tokenNumber *stringThe unique identifier of the token to retrieve, provided as a string value.

delete_token Delete Token

Permanently delete a token by its number. This operation removes the token from the system and cannot be undone.

ParameterTypeDescription
tokenNumber *stringThe unique identifier of the token to delete, provided as a string.

list_payment_methods List Payment Methods

Retrieve all payment methods configured for the current vendor account. Returns a complete list of available payment options.

get_payment_method Get Payment Method

Retrieve detailed information about a specific payment method using its unique payment method number.

ParameterTypeDescription
paymentMethodNumber *stringThe unique identifier for the payment method to retrieve.

update_payment_method Update Payment Method

Update properties of an existing payment method, such as enabling/disabling it or modifying PayPal account details. Returns the updated payment method.

ParameterTypeDescription
paymentMethodNumber *stringThe unique identifier of the payment method to update.
activebooleanSet to false to disable the payment method, or true to enable it. If not provided, the current active status is preserved.
paypal_subjectstringThe email address associated with the PayPal account. Required only when updating PayPal-based payment methods.

list_licensing_models List Licensing Models

Retrieve a complete list of all licensing models supported by the service. Use this to understand available licensing options for your integration.

list_license_types List License Types

Retrieve a complete list of all license types supported by the service. Use this to understand available licensing options for your integration.