アプリケーションのリスト

get

/essbase/rest/v1/applications

Essbaseアプリケーションのリストを返します。接続名、および接続のアプリケーション名はオプションのパラメータです。

接続名のみを指定しアプリケーション名を指定しなかった場合、このAPIでは、指定された接続を使用してすべてのアプリケーションがフェッチされます。

接続名とアプリケーション名を指定した場合、このAPIでは、指定された接続を使用して、指定されたアプリケーションがフェッチされます。

必要なフィールドのみを返すには、fieldsパラメータを使用します。

制限: レスポンスでアプリケーション・ステータスが必要な場合は、制限が100以下である必要があります。

リクエスト

問合せパラメータ
先頭に戻る

レスポンス

サポートされているメディア・タイプ

200 レスポンス

OK

アプリケーション・リストが正常に返されました。

本体()
ルート・スキーマ : ApplicationList
型: object
ソースの表示
ネストされたスキーマ : items
型: array
ソースの表示
ネストされたスキーマ : properties
型: object
使用可能なその他のプロパティ
ソースの表示
ネストされたスキーマ : Application
型: object
ソースの表示

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?filter=*&offset=0&limit=50&links=none" -H "accept: application/json" -u %User%:%Password%

レスポンス本体の例

次の例では、レスポンス本体の内容をJSON形式で示します。

{
  "items": [
    {
      "name": "ASOSamp",
      "owner": "admin",
      "creationTime": 1572892960265,
      "status": "stopped",
      "type": "ASO",
      "connectedUsersCount": 0,
      "description": "",
      "modifiedBy": "admin",
      "modifiedTime": 1572892960000,
      "role": "app_manager",
      "startStopAppAllowed": "true",
      "inspectAppAllowed": "true",
      "appVariablesSetting": {
         "showVariables": true,
         "updateVariables": true
       }
    },
    {
      "name": "Sample",
      "owner": "admin",
      "creationTime": 1571317262832,
      "status": "stopped",
      "type": "BSO",
      "connectedUsersCount": 0,
      "description": "",
      "modifiedBy": "admin",
      "modifiedTime": 1571317262000,
      "role": "app_manager",
      "startStopAppAllowed": "true",
      "inspectAppAllowed": "true",
      "appVariablesSetting": {
         "showVariables": true,
         "updateVariables": true
       }
    },
    {
      "name": "Sample_Dynamic",
      "owner": "admin",
      "creationTime": 1571317308132,
      "status": "stopped",
      "type": "BSO",
      "connectedUsersCount": 0,
      "description": "",
      "modifiedBy": "admin",
      "modifiedTime": 1571317308000,
      "role": "app_manager",
      "startStopAppAllowed": "true",
      "inspectAppAllowed": "true",
      "appVariablesSetting": {
         "showVariables": true,
         "updateVariables": true
       }
    }
  ],
  "offset": 0,
  "limit": 50,
  "count":  3,
  "totalResults":  3,
  "hasMore": false
}
先頭に戻る