Salesforce API Versions Retirement
Hi,
As of the Summer '22 release, the following Salesforce Platform API legacy versions have been deprecated and are no longer supported by Salesforce. You can continue to access these legacy API versions until Summer '23 is released, which is when these legacy versions will become retired and unavailable.
What is changing?
- SOAP: 21.0, 22.0, 23.0, 24.0, 25.0, 26.0, 27.0, 28.0, 29.0, 30.0
- REST: v21.0, v22.0, v23.0, v24.0, v25.0, v26.0, v27.0, v28.0, v29.0, v30.0
- Bulk: 21.0, 22.0, 23.0, 24.0, 25.0, 26.0, 27.0, 28.0, 29.0, 30.0
When versions 21.0 through 30.0 are retired, applications consuming these versions of the API will experience disruption as calls will fail and result in an error indicating that the requested endpoint is not found and unable to be processed by the platform.
Solution
Event Log Files in Salesforce enables monitor all types of events that occur in Salesforce. e.g. Login, Logout, API calls made to Salesforce etc. If your Org is enabled for Event Monitoring then Salesforce records all types of Event Logs in Event Log Files including which API version is used for Login or API calls made to Salesforce. Using the Event Log Files you can determine if the API versions 21.0 through 30.0 are still being used in your Org.
Note: You must have Event Monitoring enabled for your Org in order to access all types of Event Log Files.
Here are simple steps how you can easily search and export Event Log Files in your Org to a CSV file and then analyze those to determine the API Versions being used.
1. Login to https://www.packmagix.com using your Salesforce credentials.
2. Click on Export Event Logs menu item in the Home tab.
3. Click on Get Event Logs button without applying any filters.
4. Event Log Files in your Org will be displayed.
5. Type API in the Quick Find search box to find all API type of Event Log Files.
6. Select the API, RestApi and ApiTotalUsage EventType event log files and click on Export Selected Event Logs button.
7. The selected Event Log Files will download on your local system one by one.
8. Review each .CSV file downloaded and determine if requests are being made to endpoints with API versions 30 and below.
- For SOAP / API EventType -- review values in column API_VERSION for records of API_TYPE of “E” or “P”
- For REST / RestApi EventType -- review values in column URI and note endpoints featuring “/v30.0” or lower in the path
- For API Total Usage / ApiTotalUsage EventType -- review all events with API_VERSION of 30 and below
Any integrations that consume versions 30.0 and below will be impacted by this API retirement.
References
Salesforce Platform API Versions 21.0 through 30.0 Retirement
https://help.salesforce.com/s/articleView?id=000389618&type=1
Comments
Post a Comment