0
votes

I'm using getItemSummariesForSite to gather account-level summary information using a Site-based flow and the REST API. I have a few questions about the transactions returned by this call and about querying transaction-level data in a Site-based flow.

1) Not all sites return transactions with getItemSummariesForSite. Is this determined by the container type or does it vary by Site?

2) How many transactions are returned when there are transactions from getItemSummariesForSite? Is it for a fixed number of days back or some other criteria?

3) Is there a way to force the returning of transactions and control how many transactions are returned (by how many days back, for example) OR to disable the returning of transactions entirely (as with DataExtent in getItemSummaryForItem1) when using getItemSummariesForSite?

4) If I want precise control of the transactions being queried (and to query them uniformly for all sites and container types) in a site-based flow (e.g. be sure that I get 7 days of transactions from the last time I downloaded transactions) is executeUserSearchRequest the right API call?

1

1 Answers

0
votes

I would request you to please use the executeUserSearchRequest API for getting transactions.

getItemSummariesForSite API is not the correct API for getting transactions. Using executeUserSearchRequest you can control the date range for which you need transactions.