詳細情報:
アーカイブされた項目履歴データのクエリバッチ
FieldHistoryArchive オブジェクトに保存されている項目監査履歴エントリを照会できます。
FieldHistoryArchive オブジェクトに保存されている項目監査履歴エントリを照会できます。
| 使用可能なインターフェース: Lightning Experience |
| 使用可能なエディション: Salesforce Shield または Field Audit Trail ライセンスを購入した Enterprise Edition、Performance Edition、および Unlimited Edition。 |
多数の結果を返すには、URI クエリを使用します。
/services/data/vXX.X/jobs/queryPost 要求の例を次に示します。
{
"operation": "query",
"query": "SELECT ParentId, FieldHistoryType, Field, Id, NewValue, OldValueFROM FieldHistoryArchive WHERE FieldHistoryType = ‘Account’ AND CreatedDate > LAST_MONTH"
}Bulk API クエリの詳細については、『Bulk API 2.0 および Bulk API 開発者ガイド』の「クエリジョブの結果の取得」を参照してください。
CURL 要求を実行することもできます。
curl --include --request GET \
--header "Authorization: Bearer token" \
--header "Accept: text/csv" \
https://instance.salesforce.com/services/data/vXX.X/jobs/query/750R0000000zxr8IAA/results ?maxRecords=50000これらの例では、監査目的で調査できる CSV ファイルが作成されます。

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.