19.15 IMPORT_BLUEPRINT Procedure
This procedure imports a JSON blueprint.
Syntax
APEX_DG_DATA_GEN.IMPORT_BLUEPRINT (
    p_clob              IN CLOB,
    p_override_name     IN VARCHAR2 DEFAULT NULL,
    p_replace           IN BOOLEAN  DEFAULT FALSE,
    p_blueprint_id      OUT NUMBER )Parameters
Table 19-15 IMPORT_BLUEPRINT Parameters
| Parameter | Description | 
|---|---|
| p_clob | Blueprint in JSON format. | 
| p_override_name | Name of blueprint. This overrides the name provided in p_clob. | 
| p_replace | Return error if blueprint exists and p_replaceisFALSE. Replaces the blueprint (orp_override_nameif provided). | 
| p_blueprint_id | ID of the imported blueprint ( OUT). | 
Example
DECLARE
   l_json clob;
   l_blueprint_id number;
BEGIN
   l_json := apex_dg_data_gen.export_blueprint(
                p_name => 'Cars');
   apex_dg_data_gen.import_blueprint(
                p_clob => l_json,
                p_replace => TRUE,
                p_blueprint_id => l_blueprint_id);
END;Parent topic: APEX_DG_DATA_GEN