Przejdź do treści

Voice Campaign Request Recall

Zdarzenie informujące o kolejnej próbie przetwarzania sprawy ze statusem Oddzwonienie

Webhook Configuration Example

"subscriptions": {
    "voice_campaign_request_recall": {
        "active": true
    }
}
"subscriptions": {
    "voice_campaign_request_recall": {
        "active": true,
        "filter": {
            "voice_campaign_id": ["5b7c389fe8df7b60af688989"]
        }
    }
}

Body

{
    "event_name": <STRING>,
    "event_time": <STRING>,
    "event_type": <STRING>,
    "data": <VoiceCampaignRequest>
}

Parameters

Parametr Rodzaj Opis
event_name <STRING> nazwa danego wydarzenia (działania)
event_time <STRING> data wykonania zdarzenia w UTC w formacie YYYY-MM-DD HH:mm:ss
event_type <STRING> typ wydarzenia
data <VoiceCampaignRequest> Informacje o Sprawie z Kampanii

Example

{
    "event_name": "voice_campaign_request_recall",
    "event_time": "2018-05-02 23:52:15",
    "event_type": "voice_campaign",
    "data": {
        "id": "5b9a80037bfc84794477fef1",
        "name": "SPRAWA #9171613",
        "contact_number": "48123123123",
        "current_contact_number": "48123123123",
        "contact_info": "Roszczenia ze stosunku pracy",
        "contact_identifier": "9171613",
        "case_id": "5999990",
        "case_group": "Reklamacje #22",
        "consultant_try": 1,
        "contact_try": 2,
        "priority": 100,
        "process_not_before": "2018-05-02 23:10:00",
        "process_date": "ANY",
        "process_from_date": null,
        "process_to_date": null,
        "process_days": [],
        "process_time": "RANGE",
        "process_from_time": 36000,
        "process_to_time": 82800,
        "process_hours": [],
        "dialing_method": "PREVIEW",
        "application_state": "RETRY",
        "call_state": "WAITING",
        "call_state_reason": "USER_BUSY",
        "state": "PROCESSING",
        "close_reason": null,
        "project_id": 1,
        "tenant_user_id": null,
        "voice_campaign_id": "5b7c389fe8df7b60af688989",
        "call_info": {
            "sell_probability": {
                "value": false,
                "tenant_user_id": 4,
                "date": "2018-05-02 23:35:10"
            }
        },
        "trigger_code": null,
        "user_reservation_try": 1,
        "custom": "{\"parametrx\":\"wartoscx\", \"parametry\":\"wartoscy\"}",
        "user_recall": true,
        "user_recall_process_not_before": "2018-05-03 12:00:00"
    }
}