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 |
---|
language | js |
---|
firstline | 1 |
---|
linenumbers | true |
---|
|
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 |
---|
language | js |
---|
firstline | 1 |
---|
linenumbers | true |
---|
|
HTTP/1.1 403 Forbidden
Content-Type: application/hal+json
{
"code": 1703,
"message": "License order has been disabled."
} |
Code Block |
---|
language | js |
---|
firstline | 1 |
---|
linenumbers | true |
---|
|
HTTP/1.1 404 Not Found
Content-Type: application/hal+json |
...