Versions Compared

Key

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

To check the status of a license order for a given activation key, use the following request:

Panel

HEAD /license-orders/(activation_key)

where:

and

Note: This method returns the same status codes as GET, but without the body. It is used for checking the state/availability of a license order.

Example request

Code Block
languagejs
firstline1
linenumberstrue
HEAD /rest/v1/license-orders/25N8D-NC35D-WD01P-8JI4K HTTP/1.1
Host: license.x-formation.com
Accept: application/hal+json

Response

The following table lists the Internet status codes that can be returned in a response by a server.

Status CodeHeader FieldDescription
200 OKLicense order details.
403 ForbiddenLicense order has been disabled.
404 Not FoundLicense order was not found.

Example responses

Code Block
languagejs
firstline1
linenumberstrue
HTTP/1.1 200 OK
Content-Type: application/hal+json
Code Block
languagejs
firstline1
linenumberstrue
HTTP/1.1 403 Forbidden

Content-Type: application/hal+json
Code Block
languagejs
firstline1
linenumberstrue
HTTP/1.1 404 Not Found
Content-Type: application/hal+json

For more information about HTTP methods, see Supported HTTP methods.