Using API Reporting Views
As of the EOS release, reporting views are available to help you efficiently run reports in any application of your choice.
You can extend existing entities or add other data types. In both cases, you will also need to add the view to the API.
Before You Start
You must be a qualified System Administrator.
You must have API Explorer enabled on your General Access Security Role.
You will need to be able to log into the SQL server hosting the ASM application Database.
You should understand the basic capabilities and functions of an API.
You should understand how to write statements/queries in SQL.
Extend existing entities
Define a View
This view will be accessible via the API and all Service permissions will be applied to API queries
Add the View to the API
Insert a record into SU_API_VIEW so that it will be accessible by the API
VIEW_NAME must be unique
RELATED_ENTITY_ID is the Entity Id of the primary type e.g. Configuration Item (or even Desktop)
Entity Id's are visible in the API Explorer
Add Other Data Types
Define a New Custom View
Define a custom view for aggregation and reporting which does not use the primary relation
Permissions are applied to data from navigation properties but not to the data exposed directly from the view
Analysts must have the Dashboards permission (formerly Reporting) from the Dashboard Security Role to use these aggregate views
Users must have the Dashboards permission in the Dashboard Management section for their portal security role
Add the View to the API
Insert a record into SU_API_VIEW so that it will be accessible by the API
VIEW_NAME must be unique
RELATED_ENTITY_ID must be 00000000-0000-0000-0000-000000000000 to disable the (otherwise mandatory) join on a primary relation