30日間の無料評価版をお試しいただけます。

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

Expand
titleSCHEMA

SCHEMAリクエストは、指定されたレポートについて、レポートのカラムおよびフィルターのメタデータも含むスキーマ情報を返します。これを実行するコードは以下の通りです。

Code Block
ReportServiceRequest rsr = new ReportServiceRequest();
ReportServiceResponse rs = null;

rsr.setLoginId(this.username);
rsr.setPassword(this.password);
// This is the primary organization
rsr.setOrgId(new Integer(1));
rsr.setReportRequest("SCHEMA");
rsr.setReportId(12345);
// This is the report's web service name. If ReportId is set, this is not needed
rsr.setObjectName("MYREPORT");

rs = ReportService.remoteAdministrationCall(rsr);

返されるReportServiceResponseオブジェクトは、以下の項目で構成されます。

応答要素

データ型

説明

取得コード

ReportId

Integer

指定されたレポートのID

getReportId()

StatusCode

String

Webサービスリクエストのステータス

getStatusCode()

FormatCode

String

指定されたレポートのフォーマットコード

getFormatCode()

ReportType

String

指定されたレポートのレポートタイプ

getReportType()

LastRunStatus

String

最後のレポート実行のステータスコード

getLastRunStatus()

LastRunTime

Decimal

YYYYMMDDHHMMSS形式で示されるレポートの最終実行時間

getLastRunTime()

ReportName

String

指定されたレポートの名前

getReportName()

BinaryData

String

イメージ、HTML、CSV、またはPDFのBase64エンコードバイナリーチャンク

getBinaryData()

ViewName

String

レポートが依存するビューの名前

getViewName()

HitCount

Integer

指定されたレポートがアクセスされた回数

getHitCount()

DrillCode

String

ドリルタイプ(レポートで使用可能な場合)

getDrillCode()

Private

 

レポートが個人用または共有のいずれであるかを判別します。

getPrivate()

Results

Array(ReportRow)

レポート結果セットの結果が含まれる、ReportRowオブジェクトの配列(ReportRowを参照)

getResults()

ContentType

String

返されたオブジェクトのMIMEコンテンツタイプ。可能な値は以下の通りです。

  • 「text/html」
  • 「text/comma-separated-values」
  • 「image/png」
  • 「application/pdf」

getContentType()

Messages

Array(String)

レポートがサーバー上で実行されるときにデバッグ情報を示す文字列の配列。エラーのデバッグおよび追跡に使用します。

getMessages()

Charts

Array (ReportChart)

HTMLレポート応答に付加される、複数のグラフビットマップを含むReportChartオブジェクトの配列(ReportChartを参照)

getCharts()

Columns

Array (ReportSchema)

レポート結果セットの各カラムの情報、およびユーザープロンプトフィルターデータをレポートに渡す必要があるかどうかを示す情報が含まれるReportSchemaオブジェクトの配列(ReportSchemaを参照)

getColumns()

...

Expand
titleLOADDASHBOARDTAB

LOADDASHBOARDTABリクエストは、指定されたダッシュボードタブとそのメタデータをロードします。

これを実行するコードは以下の通りです。

Code Block
ReportServiceRequest rsr = new ReportServiceRequest();
ReportServiceResponse rs = null;
DashboardDefinition dd = null;

rsr.setLoginId(this.username);
rsr.setPassword(this.password);
// This is the primary organization
rsr.setOrgId(new Integer(1));
rsr.setReportRequest("LOADDASHBOARDTAB");
// This is the ID of the dashboard tab
rsr.setDashboardTabId(11111);

rs = ReportService.remoteAdministrationCall(rsr);
dd = rs.getDashboard();

返されるReportServiceResponseオブジェクトは、以下の項目で構成されます。

応答要素

データ型

説明

取得コード

DashboardDefinition

DashboardDefinitionオブジェクト

ダッシュボードタブのメタデータを含むDashboardDefinitionオブジェクト(DashboardDefinitionを参照を参照)

getDashboard()

Expand
titleAPPLYDASHBOARDFILTERS

これを実行するコードは以下の通りです。

Code Block
ReportServiceRequest rsr = new ReportServiceRequest();
ReportServiceResponse rs = null;
DashboardFilter[] dfarray = null;
DashboardFilter df = new DashboardFilter();

rsr.setLoginId(this.username);
rsr.setPassword(this.password);
// This is the primary organization
rsr.setOrgId(new Integer(1));
rsr.setReportRequest("APPLYDASHBOARDFILTERS");
// This is the ID of the dashboard tab
rsr.setDashboardTabId(11111);

df.setTabId(11111);
df.setReportId(12121);
df.setFilterId(33333);
df.setFilterType("BETWEEN");
df.setFilterValue("120|150");
dfarray[0] = df;
rsr.setDashboardFilters(dfarray);

rs = ReportService.remoteAdministrationCall(rsr);

...

Expand
titleScheduleRecord

ScheduleRecord要素

データ型

説明

取得コード

Recipient

Integer

購読の受信者のID

getRecipient()

Subject

String

購読の件名

getSubject()

BodyText

String

購読のメッセージ

getBodyText()

FrequencyTypeCode

String

購読の頻度。次の値があります。

  • MINUTES
  • DAILY
  • WEEKLY
  • FORTNIGHTLY
  • MONTHLY
  • QUARTERLY
  • BIANNUAL
  • ANNUAL
  • ENDOFMONTH

getFrequencyTypeCode()

FrequencyCode

String

頻度タイプコードに応じた追加の頻度コード

getFrequencyCode()

FrequencyUnit

String

頻度タイプコードに応じた追加の頻度単位

getFrequencyCode()

Format

String

購読ファイルタイプ。次の値があります。

  • PDF
  • HTML
  • CSV
  • DOC
  • XLS
  • RTF

getFormat()

ConditionList

Array(Condition)

配信ルールを格納するConditionオブジェクトの配列(Conditionを参照)

getConditionList()

AdvancedTimezoneCode

String

購読が行われるタイムゾーン

getAdvancedTimezoneCode()

AdvancedTime

Integer

購読のローカル実行時間

getAdvancedTime()

...