Fetching Environment Details from VMware Aria Suite Lifecycle using API
Step:1 Get the login token from VMware Aria Suite Lifecycle
Below table describes the data we need
Method | POST |
URL | {{lcmurl}}/lcm/authzn/api/login |
Authentication | Basic Auth ( admin@local & password ) |

When this API is executed , it generates a cookie which is stored under cookies section

Step:2 Execute VMware Aria Suite Lifecycle API's
Fetch Environment Details using API
Method | GET |
URL | {{lcm}}/lcm/lcops/api/v2/environments |
Authentication | Basic Auth ( admin@local & password ) |
Content-Type | application/json |

As seen above , we have all the details of globalenvironment. globalenvironment is nothing but VMware Identity Manager
Fetching VMware Aria Suite Lifecycle Version and System Informaiton
Method | GET |
URL | {{lcmurl}}/lcm/lcops/api/settings/systemsettings |
Authentication | Basic Auth ( admin@local & password ) |
Content-Type | application/json |
