AnsweredAssumed Answered

Select Box in Catalog invoke REST or Curl

Question asked by Poyato on May 11, 2018
Latest reply on May 16, 2018 by Grant Bruneau

Is it possible through a form with a select box from the Service Catalog I invoke a REST or Curl call?
I ask this because I want a form field to bring the information of the Cluster on a given vCenter.

 

 

I have the REST request:

https://172.1.1.1/rest/vcenter/cluster?filter.datacenters=datacenter-2
and return the Response:

{
  "value": [
    {
      "drs_enabled": true,
      "cluster": "domain-1",
      "name": "VDI-01",
      "ha_enabled": true
    },
    {
      "drs_enabled": true,
      "cluster": "domain-2",
      "name": "VDI-02",
      "ha_enabled": false
    }
  ]
}

Outcomes