Newer Version Available

This content describes an older version of this product. View Latest

View Recently Viewed Records

Use the Recently Viewed Items resource to get a list of recently viewed records.
Example usage for getting the last two most recently viewed records
1/services/data/v52.0/recent/?limit=2
Example request body
none required
Example response body
1{ 
2    "attributes" : 
3    { 
4        "type" : "Account", 
5        "url" : "/services/data/v52.0/sobjects/Account/a06U000000CelH0IAJ" 
6    }, 
7    "Id" : "a06U000000CelH0IAJ", 
8    "Name" : "Acme" 
9}, 
10{ 
11    "attributes" : 
12    { 
13        "type" : "Opportunity", 
14        "url" : "/services/data/v52.0/sobjects/Opportunity/a06U000000CelGvIAJ" 
15    }, 
16    "Id" : "a06U000000CelGvIAJ", 
17    "Name" : "Acme - 600 Widgets" 
18}