Versions Compared

Key

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

...

GET /licenses/(activation_key)/(hostids)

 

where the request parameters are as follows:  

  • activation_key (string) (Your product activation key), and  
     
  • states (string) (The required, comma-separated, and available states are: activated, failed, in-progress.

...

(Note that request headers are used by default.)

...

Panel
GET /rest/v1/licenes/4CT1V-4T10N-K3Y1S-C000L/dHlwZTE9dmFsdwUxLHR5cGUyPXZhbHVlPTI= HTTP/1.1 
Host: license.x-formation.com
Accept: application/hal_json

Response 

The LAC REST API returns standard HTTP response codes as described in the following table.

...

Panel

HTTP/1.1 200 OK

Content-Type: application/hal+json

[

    {     

       "request_time": "2012-05-03 02:10:48",

       "activation_time: "2012-05-03 02:12:48",

       "license": "3qfhb34q89g-7bqh-qhff3fg379n6349mzfeuoylgaw4807g*&

GQWEdf806VGQ#F807gQF87g"

   },

   {            

      "request_time": "2012-05-03 02:10:48",

      "activation_time": null,

      "license": null

   }

   ]

 

 

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