ClickLink REST API Developer Reference

run

POST

URI /services/apexrest/ffirule/v1.0/rules/*/run
Description Rest method to run a Rule and create target objects
Call: /v1.0/rules/{ruleId}/run
Where {ruleId} is replaced by the actual ID of the rule.

Runs a rule for a given set of source record IDs.
Note: This service respects the Source Object Process and Source Object Processed settings available when using ClickLink's user interface, for more information about these settings see the ClickLink User Guide. Currently, if Source Object Process is not selected or Source Object Processed is selected for a source record, this service will not create the target record. Nor will it return an error message. This functionality will be enhanced in future releases.

Input Parameters

SourceRecordIDs Source record IDs are passed in a json file.

Sample Code


Request:
{
        "sourceRecordIDs": [
        "a0E9000000qpbIk",
        "a0E9000000qpXOP",
        "a0E9000000qpXKb"
        ]
}
© Copyright 2009–2019 FinancialForce.com, inc. All rights reserved. Various trademarks held by their respective owners.