データベースの取得
get
/essbase/rest/v1/applications/{applicationName}/databases/{databaseName}
指定されたデータベース名およびアプリケーション名に基づいてデータベースの詳細を返します。
リクエスト
パス・パラメータ
- applicationName(required): string
アプリケーション名。
- databaseName(required): string
データベース名。
レスポンス
サポートされているメディア・タイプ
- application/json
- application/xml
200 レスポンス
OK
データベース詳細が正常に返されました。
ルート・スキーマ : Cube
型:
ソースの表示
object
- application: string
- applicationRole: string
- creationTime: integer(int64)
- description: string
- easManagedApp: boolean
trueの場合、アプリケーションはEssbase Webインタフェースではなく、Essbase Administration Services (EAS) Liteで管理されます。EAS Liteは、Essbase 21c独立デプロイメントにのみ使用可能な制限付きオプションの代替物として使用できます。
- inspectDBAllowed: boolean
- links: array links
- modifiedBy: string
- modifiedTime: integer(int64)
- name: string
- owner: string
- startStopDBAllowed: boolean
- startTime: integer(int64)
- status: string
- type: string
指定可能な値:
[ "ASO", "BSO", "CURRENCY" ]
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/ASOSamp/databases/Basic?links=none" -H "Accept:application/json" -H "Content-Type:application/json" -u %User%:%Password%
レスポンス本体の例
{
"name" : "Basic",
"application" : "ASOSamp",
"owner" : "admin",
"creationTime" : 1658867730017,
"status" : "started",
"startTime" : 1663814133852,
"type" : "ASO",
"description" : "",
"modifiedBy" : "admin",
"modifiedTime" : 1663814134304,
"startStopDBAllowed" : true,
"inspectDBAllowed" : true,
"dbVariablesSetting" : {
"showVariables" : true,
"updateVariables" : true
}
}