フィルタの取得
get
/essbase/rest/v1/applications/{applicationName}/databases/{databaseName}/filters/{filterName}
指定されたアプリケーションおよびデータベースから、指定されたフィルタを返します。
リクエスト
パス・パラメータ
- applicationName(required): string
アプリケーション名。
- databaseName(required): string
データベース名。
- filterName(required): string
フィルタ名。
レスポンス
サポートされているメディア・タイプ
- application/json
- application/xml
200 レスポンス
OK
フィルタを正常に取得しました。フィルタを取得、編集または削除するためのリンク、およびフィルタ行を取得するためのリンクが含まれます。
400 レスポンス
不正なリクエスト
フィルタの取得に失敗しました。アプリケーション名、データベース名またはフィルタ名が正しくない可能性があります。
500 レスポンス
サーバーの内部エラーです。
例
次の例では、名前付きEssbaseセキュリティ・フィルタの詳細を取得する方法を示します。
この例では、cURLを使用して、Windowsシェル・スクリプトからREST APIにアクセスします。呼出し元ユーザーのIDおよびパスワードは変数であり、properties.bat
内でその変数値が設定されています。
cURLコマンドを含むスクリプト
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%
レスポンス本体の例
{
"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"
} ]
}