Overview

Resolves the target and return the response for the stage

Summary

This request will resolves the target and return the response for the stage

Request Arguments

Name Type Description Required
module String Record module True
record String Record ID True
stage_id String Stage ID True

Request Example

{
    "module": "CJ_Forms",
    "record": "7de43afc-37e5-11ed-9228-021dbb81fb69",
    "stage_id": "f9239eaa-34d5-11ed-94b9-0645eae63751",
}

Response

The response will be an object containing the following fields:
Name Type Description
Anonymous Array Array containing parent, target, linkName, module and emailData OR Array containing status and message if Form / Stage Id is not found

Response Example

{
    [
        "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" => "

Hello World!

", "recipientsInfo" => "A 35 years old doctor", "recipientsWithTheirNames" => [ "f9239eaa-34d5-11ed-94b9-0645eae63751" => "James Hopes" ], ], ] }