Overview

1. Result

{
    "resultCode": "success",
    "result": {
        "campaignTitle": "AA_Outbound1",
        "listName": "Home1",
        "leadId": 119486,
        "timezone": "Australia/Sydney",
        "isComplete": 0,
        "customerKey": "",
        "phone1": "+614XXXXXXXX",
        "phone2": "",
        "phone3": "",
        "leadUploadDate": "2020-06-24 22:46:02",
        "lastDiallerTimestamp": "2020-07-22 22:50:21",
        "scheduledCallTimestamp": "2020-07-24 00:51:52",
        "campaignId": 1303,
        "listId": 336,
        "isDialling": 1,
        "agentId": 1441,
        "leadData": "{\"state\":null,\"Age\":null,\"Name\":\"Sagar3\"}",
        "dialAttempts": 2,
        "diallerOutcomes": [
            {
                "dialStatus": "Answered",
                "dialTimestamp": "2020-07-22 22:45:00",
                "answeredTimestamp": "2020-07-22 22:45:08",
                "hangupTimestamp": "2020-07-22 22:46:06"
            },
            {
                "dialStatus": "Answered",
                "dialTimestamp": "2020-07-22 22:50:28",
                "answeredTimestamp": "2020-07-22 22:50:34",
                "hangupTimestamp": "2020-07-22 22:50:35"
            }
        ],
        "wrapCodeId": 3,
        "leadInteractions": [
            {
                "interactionId": 19274,
                "activities": [
                    20674
                ]
            },
            {
                "interactionId": 19278,
                "activities": [
                    20676
                ]
            }
        ],
        "leadActivities": [
            {
                "activityId": 20674,
                "interactions": [
                    19274
                ]
            },
            {
                "activityId": 20676,
                "interactions": [
                    19278
                ]
            }
        ]
    }
}
CODE

2. Parameters

Parameter

Required

Description

Data Type

leadId

Yes

The unique system identifier for each individual lead. E.g. 1234.

Numeric