Overview

Resolves the target and return the response for the Smart Guide

Summary

This request will resolves the target and return the response for the Smart Guide

Request Arguments

Name Type Description Required
module String Record module True
record String Record ID True
journey_id String Journey ID True

Request Example

{
    "module": "CJ_Forms",
    "record": "7de43afc-37e5-11ed-9228-021dbb81fb69",
    "journey_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 / Journey Id is not found

Response Example

{
    [
        "parent" => [
            "id" => "f9239eaa-34d5-11ed-94b9-0645eae63751",
            "_module" => "Accounts",
        ],
        "target" => [
            "id" => "f9239eaa-34d5-11ed-94b9-0645eae63751",
            "_module" => "DRI_Workflows",
        ],
        "linkName" => "dri_workflows",
        "module" => "DRI_Workflows",
        "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" ], ], ] }