This method allows to copy LLD rules with all of the prototypes to the given hosts.

    (boolean) Returns if the copying was successful.

    Copy an LLD rule to multiple hosts

    Request:

    1. {
    2. "id": 1
    3. }

    CDiscoveryrule::copy() in ui/include/classes/api/services/CDiscoveryRule.php.