/
var
/
www
/
html
/
sugardemo
/
include
/
api
/
help
/
Upload File
HOME
<!-- /* * Your installation or use of this SugarCRM file is subject to the applicable * terms available at * http://support.sugarcrm.com/Resources/Master_Subscription_Agreements/. * If you do not agree to all of the applicable terms or do not have the * authority to bind the entity as an authorized representative, then do not * install or use this SugarCRM file. * * Copyright (C) SugarCRM Inc. All rights reserved. */ --> <h2 xmlns="http://www.w3.org/1999/html">Overview</h2> <span class="lead"> Resolves the target and return the response for the stage </span> <h2>Summary</h2> <span class="lead"> This request will resolves the target and return the response for the stage </span> <h2>Request Arguments</h2> <table class="table table-hover"> <thead> <tr> <th>Name</th> <th>Type</th> <th>Description</th> <th>Required</th> </tr> </thead> <tbody> <tr> <td> module </td> <td> String </td> <td> Record module </td> <td> True </td> </tr> <tr> <td> record </td> <td> String </td> <td> Record ID </td> <td> True </td> </tr> <tr> <td> stage_id </td> <td> String </td> <td> Stage ID </td> <td> True </td> </tr> </tbody> </table> <br> <h3>Request Example</h3> <pre class="pre-scrollable"> { "module": "CJ_Forms", "record": "7de43afc-37e5-11ed-9228-021dbb81fb69", "stage_id": "f9239eaa-34d5-11ed-94b9-0645eae63751", } </pre> <h2>Response</h2> <span class="lead"> The response will be an object containing the following fields: </span> <table class="table table-hover"> <thead> <tr> <th>Name</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td> Anonymous </td> <td> Array </td> <td> Array containing parent, target, linkName, module and emailData OR Array containing status and message if Form / Stage Id is not found </td> </tr> </tbody> </table> <h3>Response Example</h3> <pre class="pre-scrollable">{ [ "parent" => [ "id" => "f9239eaa-34d5-11ed-94b9-0645eae63751", "_module" => "DRI_Workflows", ], "target" => [ "id" => "f9239eaa-34d5-11ed-94b9-0645eae63751", "_module" => "DRI_SubWorkflows", ], "linkName" => "dri_subworkflows", "module" => "DRI_SubWorkflows", "emailData" => [ "id" => "f9239eaa-34d5-11ed-94b9-0645eae63751", "subject" => "Testing", "body_html" => "<p>Hello World!</p>", "recipientsInfo" => "A 35 years old doctor", "recipientsWithTheirNames" => [ "f9239eaa-34d5-11ed-94b9-0645eae63751" => "James Hopes" ], ], ] }</pre>