作成日更新日影響を受けるバージョン修正バージョン

 

 

Management Console - 全バージョン
Blancco Cloud - 全バージョン
N/A

説明

Blancco Management Console APIでカスタム フィールドを取得しエクスポートしたCSVに含める、またはエクスポート検索フィールドとして使用する方法。

手順の説明

Blancco Management ConsoleレポートエクスポートAPIでカスタムフィールドにアクセスするには、リクエストxmlファイルにカスタムフィールドのパス「user_data.fields.fieldName」を指定する必要があります。例えば「Client」と命名したフィールドの場合、パスは「user_data.fields.Client」です。

検索パスとして使用する場合、「<search path="user_data.fields.fieldName" value="fieldValue" operator="eq" datatype="string" conjunction="true" />」のようにフルパスを指定する必要があります。例えば特定のクライアント名「Blancco」を検索する場合、検索パスは次の通りです<search path="user_data.fields.Client" value="Blancco" operator="eq" datatype="string" conjunction="true" />。

検索パスの例 - カスタムフィールドを検索条件として使用する場合

<?xml version="1.0" encoding="UTF-8"?>
<request>
<export-report>
<report mode="original"/>
<search path="user_data.fields.Client" value="Blancco" operator="eq" datatype="string" conjunction="true" />
</export-report>
</request>

CSVの例 - カスタムフィールドの値をCSVのカラムとしてエクスポートする場合

<?xml version="1.0" encoding="UTF-8"?> <request>
<export-report>
<report mode="original"/>
<search path="user_data.fields.Client" value="Blancco" operator="eq" datatype="string" conjunction="true" />
<reportColumns>
<columnPath>user_data.fields.Client</columnPath>
</reportColumns>
<csv-options csvLanguage="en_US" delimiter="," subDelimiter=":"/>
</export-report>
</request>