cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How Snapshot date is calculated in SF OData Queries

0 Likes
631

Dear Community,

When we use the SF OData API (EmpJob as an example), to be able to use snapshot, I can specify paging=snapshot. When we do this, how the system identifies which date to use? In case of Compound Employee API, we can pass the value for Snapshot date. Is there a way in OData API to pass a specific date as snapshot date or how system identifies which date to use for SnapShot?

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member663843
Participant
0 Likes

Hi,

You can use the filter criteria asOfDate to get the relevant date's snapshot.

/odata/v2/EmpJob?$filter=asOfDate=2015-01-01