SLnet.WebExtApi

<back to all web services

ChangeDashboardFiltersMetadata

Generic API

The following routes are available for this service:
POST/api/{DomainName}/dashboards/{DashboardName}/metadata/filtersReturns the filters of the specified report

To override the Content-type in your clients HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /csv/reply/ChangeDashboardFiltersMetadata HTTP/1.1 
Host: drt-racing.gr 
Content-Type: text/csv
Content-Length: length

filterName,filters,DashboardName,DomainName
String,"[{Name:String,Description:String,FieldName:String,LinkName:String,Kind:String,DisplayAs:String,Behaviour:String,Operators:{From:String,To:String,Value:String},Required:False,Visible:False,Enable:False,Hidden:False,DataType:String,PredefinedValues:{From:{},To:{},Value:{}},AcceptedValues:{AcceptedValuesList:String,DisplayField1:String,DisplayField2:String,KeyField:String,IndexField:String,ParentField:String,SortFields:[{Name:String,Direction:String}],LookupData:[{String:{}}],DisplayInfo:{AutoSizeColumns:False,Columns:[{Name:String,Description:String,Width:0}]}},AllowedOperators:[String],UseRange:False,AllowNullState:False}]",String,String

HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

Name,Description,FieldName,LinkName,Kind,DisplayAs,Behaviour,Operators,Required,Visible,Enable,Hidden,DataType,PredefinedValues,AcceptedValues,AllowedOperators,UseRange,AllowNullState
String,String,String,String,String,String,String,"{From:String,To:String,Value:String}",False,False,False,False,String,"{From:{},To:{},Value:{}}","{AcceptedValuesList:String,DisplayField1:String,DisplayField2:String,KeyField:String,IndexField:String,ParentField:String,SortFields:[{Name:String,Direction:String}],LookupData:[{String:{}}],DisplayInfo:{AutoSizeColumns:False,Columns:[{Name:String,Description:String,Width:0}]}}",[String],False,False