48.3 ENABLE Procedure

This procedure enables synchronization for the REST Data Source.

Syntax

APEX_REST_SOURCE_SYNC.ENABLE (
  p_application_id    IN NUMBER    DEFAULT {current application id},
  p_module_static_id  IN VARCHAR2 )

Parameters

Table 48-3 ENABLE Parameters

Parameter Description
p_application_id (Optional) The application ID.
p_module_static_id Static ID to identify the REST Data Source.

Example

The following example enables synchronization for the rest_movie REST Data Source in application 152.

BEGIN
    apex_rest_source_sync.enable(
    p_application_id => 152,
    p_module_static_id => 'rest_movie' );
END;