vCenter Chargeback provides a fully featured API that allows to automate many tasks like user and rights management, cost configuration or reporting.
Chargeback API is a REST-based one, this means that it will receive requests and send responses using HTTP protocol and methods. CBM API implements a set of basic CRUD operations, and each of them maps with an HTTP method as shown in he below table.
API syntax is actually very easy, it is composed of:
- Request method
- Base URL
- API signature
It’s better illustrated with an example:
We can map the above example with the different elements of the API syntax:
- POST –This is the request method
- https://chargeback.corp.loca./vCenter-CB/api – This the base URL
- /login – This is the API signature, composed of the path to the API we want to call.
We have also included the API version…
View original post 415 more words