Przejdź do treści

Voice Campaign Resumed

Zdarzenie informujące o wyłączeniu pauzy kampanii.

Webhook Configuration Example

"subscriptions": {
    "voice_campaign_resumed": {
        "active": true
    }
}
"subscriptions": {
    "voice_campaign_resumed": {
        "active": true,
        "filter": {
            "_id": ["5b7c389fe8df7b60af688989"]
        }
    }
}

Body

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

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 <VoiceCampaign> Informacje o Kampanii

Example

{
    "event_name": "voice_campaign_resumed",
    "event_time": "2018-05-01 22:27:12",
    "event_type": "voice_campaign",
    "data": {
        "_id": "5b7c389fe8df7b60af688989",
        "name": "Kampania190",
        "active": 1,
        "paused": 0,
        "activate_date": "2018-11-01 22:13:42",
        "end_date": "2018-11-01 22:13:55",
        "mode": "AUTO",
        "new_records_active": 0,
        "retry_records_active": 0,
        "recall_records_active": 1,
        "check_opt_out": 0,
        "active_calls_limit": 3,
        "progressive_wait_time": 30,
        "dialing_method": "PREVIEW",
        "moh_announcement_id": "5b7c3891e8df7b60af686989",
        "initial_announcement_id": "5b1c3891e8df7b60af686989",
        "initial_announcement_mandatory": 0,
        "project_id": 1,
        "project_name": "Infolinia",
        "recording_share_enabled": 1,
        "recording_share_lifetime": 3600,
        "webapp_required": 1,
        "aggressiveness_indicator": 50
    }
}