ユーザーの複数のアプリケーション・プロビジョニング・レポートの取得
get
/essbase/rest/v1/users/{userId}/provisionReport/applications
すべてのアプリケーションで特定のユーザーについてプロビジョニング・レポートを取得します。ログイン・ユーザーに、少なくとも、そのアプリケーションのデータベース・マネージャ役割が必要となります。アプリケーション役割は、ログイン・ユーザーに少なくともそのアプリケーションのアプリケーション・マネージャ役割がある場合のみ、レポートに含まれます。
EPM共有サービス・セキュリティ・モードを使用している場合、この操作は実行できません。かわりに、共有サービス・コンソールでユーザー、グループおよび権限を管理します。
リクエスト
パス・パラメータ
- userId(required): string
ユーザーID。
問合せパラメータ
- expand: string
指定できる値は
all
またはnone
です。デフォルト値はnone
です。この場合は、アプリケーションへのリンクのみが返されます。all
を指定した場合は、すべてのアプリケーションについてプロビジョニング情報が返されます。
レスポンス
サポートされているメディア・タイプ
- application/json
- application/xml
200 レスポンス
OK
プロビジョニング・レポートが正常に返されました。
ネストされたスキーマ : ProvisionReportItem
型:
ソースの表示
object
- inheritedFromGroups: array inheritedFromGroups
一意のアイテムが必要:
true
- name: string
404 レスポンス
見つかりません
ユーザーが見つかりません。
500 レスポンス
サーバーの内部エラーです。
例
次の例で、すべてのEssbaseアプリケーションで特定のユーザーのプロビジョニング・レポートを取得する方法を示します。
この例では、cURLを使用して、Windowsシェル・スクリプトからREST APIにアクセスします。呼出し元ユーザーのIDおよびパスワードは変数であり、properties.bat
内でその変数値が設定されています。
cURLコマンドを含むスクリプト
call properties.bat
curl -X GET https://myserver.example.com:9001/essbase/rest/v1/users/user002/provisionReport/applications -H "Accept:application/json" -u %User%:%Password%
レスポンス本体の例
レスポンスは、Essbaseサーバー上の各アプリケーションのレポートへのリンクを返します。
{
"links" : [ {
"rel" : "CalcTuple",
"href" : "https://myserver.example.com:9001/essbase/rest/v1/users/user002/provisionReport/applications/CalcTuple",
"method" : "GET"
}, {
"rel" : "Facility",
"href" : "https://myserver.example.com:9001/essbase/rest/v1/users/user002/provisionReport/applications/Facility",
"method" : "GET"
}, {
"rel" : "Sample_Dynamic",
"href" : "https://myserver.example.com:9001/essbase/rest/v1/users/user002/provisionReport/applications/Sample_Dynamic",
"method" : "GET"
}, {
"rel" : "Demo",
"href" : "https://myserver.example.com:9001/essbase/rest/v1/users/user002/provisionReport/applications/Demo",
"method" : "GET"
}, {
"rel" : "Sample",
"href" : "https://myserver.example.com:9001/essbase/rest/v1/users/user002/provisionReport/applications/Sample",
"method" : "GET"
}, {
"rel" : "ASOSamp",
"href" : "https://myserver.example.com:9001/essbase/rest/v1/users/user002/provisionReport/applications/ASOSamp",
"method" : "GET"
}, {
"rel" : "Consolidation",
"href" : "https://myserver.example.com:9001/essbase/rest/v1/users/user002/provisionReport/applications/Consolidation",
"method" : "GET"
} ]
}