Get the record Count of all countable Sobjects in Salesforce
Salesforce: Get the record count of all objects
Use case: A client wants to access the data volume for data migration and needs to get record counts from all countable objects in Salesforce
Solution:
1) log in to Workbench
2) Go to Utilities > Rest Explorer
3) Do a GET call on this URI: /services/data/v56.0/limits/recordCount ( change 56.0 with the latest API version)
4) Check the result. Copy the JSON and convert it to CSV
Note:
1) The Rest call result does not include uncountable objects and record count for deleted records in the recycle bin
2) Ensure your user has "View Setup and Configuration” permission
Comments
Post a Comment