Get Filter
/essbase/rest/v1/applications/{applicationName}/databases/{databaseName}/filters/{filterName}
Returns the named filter from the specified application and database.
Request
-
applicationName(required): string
Application name.
-
databaseName(required): string
Database name.
-
filterName(required): string
Filter name.
Response
- application/json
- application/xml
200 Response
OK
The filter was retrieved successfully, with links to get, edit, or delete the filter, and to get the filter rows.
400 Response
Bad Request
Failed to get the filter. The application name, database name, or filter name may be incorrect.
500 Response
Internal Server Error.
Examples
The following example shows how to get details of a named Essbase security filter.
This example uses cURL to access the REST API from a Windows shell script. The calling user's ID and password are variables whose values are set in properties.bat
.
Script with cURL Command
call properties.bat
curl -X GET https://myserver.example.com:9001/essbase/rest/v1/applications/Efficient/databases/UserFilters/filters/dslookupfilter -H "Accept: application/json" -u %User%:%Password%
Example of Response Body
{
"name" : "dslookupfilter",
"links" : [ {
"rel" : "get",
"href" : "https://myserver.example.com:9001/essbase/rest/v1/applications/Efficient/databases/UserFilters/filters/dslookupfilter",
"method" : "GET"
}, {
"rel" : "delete",
"href" : "https://myserver.example.com:9001/essbase/rest/v1/applications/Efficient/databases/UserFilters/filters/dslookupfilter",
"method" : "DELETE"
}, {
"rel" : "edit",
"href" : "https://myserver.example.com:9001/essbase/rest/v1/applications/Efficient/databases/UserFilters/filters/dslookupfilter",
"method" : "PUT"
}, {
"rel" : "rows",
"href" : "https://myserver.example.com:9001/essbase/rest/v1/applications/Efficient/databases/UserFilters/filters/dslookupfilter/rows",
"method" : "GET"
} ]
}