Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

This page refers to End-user REST API version 2 only. See End-user REST API for links to other versions of the End-user REST API.


The following page lists The following page lists the HTTP operations that need to be performed to successfully query successfully query an LAC license. 

To obtain a license for a given activation key filtered by its state, use the following request:

...

Code Block
languagejs
firstline1
linenumberstrue
GET/rest/v1v2/licenses/25N8D-NC35D-WD01P-8JI4K?state=success,failed HTTP/1.1 
Host: license.x-formation.com
Accept: application/hal+json

...

Code Block
languagejs
firstline1
linenumberstrue
HTTP/1.1 403 Forbidden
Content-Type: application/hal+json
 
{
	"code": 1703,
    "message": "License order has been disabled."
}
Code Block
languagejs
firstline1
linenumberstrue
HTTP/1.1 404 Not Found
Content-Type: application/hal+json

...