SyncMadeEasy/force-app/main/default/classes/UpdateStoreConfigurationAPI...

14 lines
576 B
OpenEdge ABL

@RestResource(urlMapping='/external/updateStoreConfiguration')
global without sharing class UpdateStoreConfigurationAPI {
// DEPRECATED: This endpoint is no longer in use.
// All functionality has been moved to the new API architecture.
// Please use the new endpoint instead.
@HttpPost
global static void receiveData() {
// Deprecated - no operation performed
RestContext.response.statusCode = 410;
RestContext.response.responseBody = Blob.valueOf('{"error": "This endpoint is deprecated. Please use the new API."}');
}
}