アプリケーションのリスト
/essbase/rest/v1/applications
Essbaseアプリケーションのリストを返します。接続名、および接続のアプリケーション名はオプションのパラメータです。
接続名のみを指定しアプリケーション名を指定しなかった場合、このAPIでは、指定された接続を使用してすべてのアプリケーションがフェッチされます。
接続名とアプリケーション名を指定した場合、このAPIでは、指定された接続を使用して、指定されたアプリケーションがフェッチされます。
必要なフィールドのみを返すには、fields
パラメータを使用します。
制限: レスポンスでアプリケーション・ステータスが必要な場合は、制限が100以下である必要があります。
リクエスト
- applicationNameForConnection: string
接続のアプリケーション名。
- connectionName: string
接続名。
- fields: string
レスポンス・フィールドで返されるフィールドのカンマ区切りリスト。省略した場合は、すべてのフィールドが返されます。
- filter: string
デフォルト値:
*
- limit: integer(int32)
返される最大アプリケーション数。デフォルトは50です。
デフォルト値:50
- offset: integer(int32)
結果セットの先頭から省略するアプリケーションの数。デフォルト値は0です。
デフォルト値:0
レスポンス
- application/json
- application/xml
200 レスポンス
OK
アプリケーション・リストが正常に返されました。
object
- connectedUsersCount: integer(int32)
アプリケーションに現在接続されているユーザー数。
- creationTime: integer(int64)
- description: string
- easManagedApp: boolean
trueの場合、アプリケーションはEssbase Webインタフェースではなく、Essbase Administration Services (EAS) Liteで管理されます。EAS Liteでアプリケーションに接続する前に、そのアプリケーションをEAS管理対象アプリケーションとして設定する必要があります。Essbase Webインタフェースは、現時点のすべてのプラットフォーム機能をサポートする最新の管理インタフェースですが、EAS Liteは、Essbase 21c独立デプロイメントにのみ使用可能な制限付きオプションの代替物として使用できます。
- inspectAppAllowed: boolean
- links: array links
- modifiedBy: string
- modifiedTime: integer(int64)
- name: string
- owner: string
- role: string
- startStopAppAllowed: boolean
少なくとも読取り権限を持つユーザーがアプリケーションを起動できる場合はtrue。
- 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?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
}