Ti trovi qui:
Eseguire query in batch sui dati della cronologia dei campi archiviati
È possibile eseguire query sulle voci dell'itinerario di controllo campi memorizzate nell'oggetto FieldHistoryArchive.
È possibile eseguire query sulle voci dell'itinerario di controllo campi memorizzate nell'oggetto FieldHistoryArchive.
| Disponibile in: Lightning Experience |
| Disponibile in: versioni Enterprise Edition, Performance Edition e Unlimited Edition con l'acquisto di licenze Salesforce Shield o Field Audit Trail. |
Per restituire un numero elevato di risultati, utilizzare una query URI.
/services/data/vXX.X/jobs/queryDi seguito è riportato un esempio di richiesta Post.
{
"operation": "query",
"query": "SELECT ParentId, FieldHistoryType, Field, Id, NewValue, OldValueFROM FieldHistoryArchive WHERE FieldHistoryType = ‘Account’ AND CreatedDate > LAST_MONTH"
}Per ulteriori informazioni sulle query API in blocco, vedere Ottenere risultati per un processo di query nell'API in blocco 2.0 e nel manuale Bulk API Developer Guide.
È anche possibile effettuare una richiesta 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=50000Questi esempi danno come risultato un file CSV che può essere esaminato per scopi di controllo.

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.