認証

Oracle BI Publisher Rest APIは、HTTPの基本認証をサポートします。

cURLを使用して認証するには、-u cURLオプションを使用してOracle BI Publisherのユーザー名とパスワードを渡します。

curl --u username:password -H "Accept:application/json" -X GET http://host:port/xmlpserver/services/rest/v1/reports/<reportPath>

次に例を示します。

curl --u jsmith:mypassword1 -H "Accept:application/json" -X GET http://example.com/xmlpserver/services/rest/v1/reports/%2FSample%20Lite%2FPublished%20Reporting%2FReports%2FBalance%20Letter