docs.intersystems.com
InterSystems IRIS Data Platform 2019.2  /  Client-Side APIs for InterSystems IRIS Business Intelligence

Client-Side APIs for InterSystems IRIS Business Intelligence
POST /Info/Filters/:datasource
Previous section           Next section
InterSystems: The power behind what matters   
Search:  


Returns information about the filters available for the given data source (which is either a cube or a KPI).
URL Parameters
datasource Required. Name of the data source. This is one of the following:
  • cubename — a logical cube name
  • cubename.cube — a logical cube name, followed by .cube
  • kpiname.kpi — a logical KPI name, followed by .kpi
This name can include slashes; see Use of Slashes in Cube and KPI Names,” earlier in this book.
Request Body Details
This service ignores the request body.
Example Request
Example Response
{
   "Info":
       {"Error":"","DataSource":"aviationevents.cube","DataSourceType":"cube"},
   "Result":
       {"Filters":
          [
           {"caption":"Year","value":"[EventDateD].[H1].[Year]","type":"year"},
           {"caption":"Month","value":"[EventDateD].[H1].[Month]","type":""},
           {"caption":"Day","value":"[EventDateD].[H1].[Day]","type":""}
           ...]
       }
}
In the response object, the Result property contains a property called Filters, which contains an array of objects, one for each filter. Each object has the following properties:
For information that applies to all response objects, see the discussion at the start of this reference.


Previous section           Next section
Send us comments on this page
View this book as PDF   |  Download all PDFs
Copyright © 1997-2019 InterSystems Corporation, Cambridge, MA
Content Date/Time: 2019-08-23 05:35:26