The details of an allocation can be retrieved using this method.



Replace with your tenant ID and with the same received in the allocation request

curl -X GET<your_sid>/greenvn/<greenvn_id>
var request = require('request');
var options = {
    url: '<your_sid>/greenvn/<greenvn_id>'
function callback(error, response, body) {
    if (!error && response.statusCode == 200) {
request(options, callback);
$headers = array();
$response = Requests::get('<your_sid>/greenvn/<greenvn_id>', $headers);
import requests
require 'net/http'
require 'uri'
uri = URI.parse("<your_sid>/greenvn/<greenvn_id>")
response = Net::HTTP.get_response(uri)
# response.code
# response.body

HTTP Response:

  • On success, the HTTP response status code will be 200.
  • The HTTP response body will contain a JSON similar to the one below:
"success": true,
"status": 200,
“state”: “active|vault”,

The parameters in the above request are the same as described in the response of the allocation request.