ccrz.ccApi.unregisterService

Removes a data service registration from the B2B Commerce for Visualforce API. This method is typically used only during development, and is rarely used in production.

Compatibility

This reference applies to:

Release Managed Package Version API Version
B2B Commerce for Visualforce Winter ’21 4.13 12
B2B Commerce for Visualforce Spring ’20 4.12 11
B2B Commerce for Visualforce Summer ’19 4.11 10
B2B Commerce for Visualforce Spring ’19 4.10 9
B2B Commerce for Visualforce Summer ’18 4.9 8

Signature

global static Map<String, Object> unregisterService(Map<String, Object>)

Inputs (Required)

Map<String, Object>, where each key is the key used to register the data service. The value for each key is a Boolean:

Value Usage
true The method first checks for an override of the data service. If an override exists, the method returns ccrz.ccApi.UnregisterServiceException.
false The method first checks for an override of the data service. If an override exists, the override is removed. If an override doesn't exist, the data service is unregistered.

Outputs

Map<String, Object> that includes all registered data service and logic service providers.