Since NetLicensing API (RESTful) is based on open standards, you can use any web development language to access the API; there are also lots of pre-built libraries for interacting with NetLicensing.
NetLicensing exposes all available service's functionality via an Application Programming Interface (API).
To access the API methods you will need a NetLicensing vendor account. If you do not have one already, signup here.
|Endpoint||Allowed operations||Supported authentication method (?)|
|Product Module Services||LISTGETCREATEUPDATEDELETE|
|License Template Services||LISTGETCREATEUPDATEDELETE|
|Payment Method Services||LISTGETUPDATE|
Structure of the RESTful URIs
NetLicensing API (RESTful) provide access to resources (data entities) via URI paths. To use a RESTful API, your application will make an HTTP(S) request and parse the response. The NetLicensing API (RESTful) uses JSON or XML as its response format
and the standard HTTP methods like GET, PUT, POST and DELETE (see API descriptions below for which methods are available for each resource).
Resources accessible by POST method may require additional input parameters, in which case parameters must be passed in the POST request message body (payload) using Form Encoded Data format. Use the following request header:
URIs for NetLicensing API (RESTful) resources have the following structure:
<host> - NetLicensing host name or IP, normally
go.netlicensing.io if you access NetLicensing directly
<port> - NetLicensing port, normally can be omitted (default 443 for https) if you access NetLicensing directly
<resource> - represents named resource (e.g. product, license etc.), you'll find the resource name on the wiki page describing corresponding resource
Depending on the value passed in the
Accept: field of the request header, NetLicensing will reply in XML or JSON format. The structure of the response is documented in XML Schema Definition that can be downloaded at https://go.netlicensing.io/schema/context/netlicensing-context-2.1.xsd.
All values are transmitted over HTTP in text form. The following table summarizes the text representation of non-trivial data types:
Always represented by two fields: decimal "price" and "currency" - 3-character code according to ISO 4217. Currently only "EUR" is supported.
- List of HTTP status codes - http://en.wikipedia.org/wiki/List_of_HTTP_status_codes