Data Provider API
The Data Provider API uses Representational State Transfer (REST) web services that enable you to import and export a specific capacity view in the TrueSight Capacity Optimization Dashboard. You can integrate the API with your other business applications.
Before you begin
Ensure that the following requirements are met:
- The appropriate read or write activity is assigned to your user role to access the API. For more information, see Adding and managing roles.
- Valid user credentials or a bearer token is available for authentication. For more information, see Accessing the public APIs.
API methods
The following table provides the details of the Data Provider API methods:
Method | URI pattern | Description | Required Activity | Sample response |
|---|---|---|---|---|
GET | /v2/viewdefinition/view | Retrieve a list of all capacity views in the Helix Capacity Optimization Dashboard. |
| |
GET | /v2/viewdefinition/view/{viewid} /export | Export the configuration of the selected view in file format (.viewpkg). |
| <view name_date of export>.viewpkg file |
POST | /v2/viewdefinition/view/import | Import a capacity view from another environment. The request includes the name of the export file in the format: <view name_date of export>.viewpkg. |
|