Using the vRealize Automation REST API

To make vRealize Automation REST API service calls, you can use a browser application or an HTTP client program to send requests and review responses.

REST Client Applications

Any client application that can send HTTPS requests is an appropriate tool for developing REST applications with the vRealize Automation API. The following open-source applications are commonly used:
  • cURL. http://curl.haxx.se
  • Postman application. http://www.getpostman.com

Ensuring Backwards Compatibility

If a client deployed with an earlier version of the catalog service REST API is making a call to a server running a later version of the API, you must include a version header in the request so that the server correctly recognizes the client and sends a compatible response.

In the following example, the client running version 6.2 of the catalog service REST API is making a call to a server running a later version of the API.

curl --insecure -H "version:6.2" -H "Accept: application/json" -H "Content-Type: application/json" -H
"Authorization: Bearer $token" https://$vRA/catalog-service/api/consumer/requests/7aaf9bafaa4e-
47c4-997b-edd7c7983a5b