Tipo di evento:
CampaignCanceledInviato quando una campagna viene annullata. Una campagna annullata non può essere riattivata. Il payload contiene la configurazione della campagna, e l'origin della modifica.
Valori possibili per gli enum utilizzati nel payload:
Stato della campagna
DraftActivePausedFinishedCanceledModalità dialer
PowerPredictiveProgressiveProvisioning del numero
StaticDynamicSelezione numero
FifoLifoPriorità numero
RetryPendingNotContactedTipi di gestione chiamata
CallflowAiAgentRilevatori di tipo di risposta
DisabledStandardAmdAgentTipi di trattamento risposta sconosciuta
HumanVoicemailTipi di messaggio per segreteria
NeverOnFirstDetectionOnLastAttemptOnEveryAttemptPayload CampaignCanceled (v2)
{
"id": "01928761-9826-7ca4-9283-eb6f7a338c91",
"object": "event",
"apiVersion": 2,
"createdAt": "2024-10-13T19:36:13.093",
"type": "CampaignCanceled",
"data": {
"customer": {
"id": "0192830c-58a0-7be2-8e3d-dc8997d0a631",
"name": "SIP Caller (Demo account)"
},
"campaign": {
"id": "01928761-27c6-7355-9add-0c4f40154847",
"name": "Campaign 1",
"phoneSystem": {
"id": "01928310-2d96-7a70-bdfc-4bcd24c22c95",
"name": "My Phone System",
"extension": {
"id": "07bcd1de-1e5d-47b5-99bf-b846c7a12f09",
"name": "SIP Caller Extension"
}
},
"dialer": {
"mode": "Power"
},
"state": "Canceled",
"numberProvisioning": "Static",
"numberSelection": "Fifo",
"numberPriority": "RetryPending",
"runningPriority": 0,
"startDate": "2024-10-13",
"endDate": "2024-10-13",
"timeZoneId": "America/Argentina/Buenos_Aires",
"callHandling": {
"$t": "Callflow",
"answerTypeDetector": {
"$t": "AmdAgent",
"amdAgent": {
"id": "019f8f68-f2d9-7ae9-9e8c-790ee1c1413a",
"name": "Voicemail Detector AI Agent"
},
"unknownAnswerTreatment": "Human",
"messageForVoicemail": {
"$t": "OnFirstDetection",
"callflow": {
"id": "019f8c61-daf6-762d-b23a-a0199de9cba3",
"name": "Leave voicemail"
},
"isCallRetryEnabled": true
}
},
"callflow": {
"id": "019f944f-d5ab-717e-a36f-06097fe6be3c",
"name": "Survey"
},
"ttsVoiceId": "azu-es-AR-ElenaNeural"
},
"varNames": [
"Customer Name",
"Due Balance"
],
"startedAt": null,
"endedAt": "2024-10-13T19:36:13.093"
},
"origin": {
"user": {
"id": "0192830c-589d-7384-b157-f922afab9e55",
"name": "John Doe",
"email": "john.doe@example.com"
},
"ipAddress": "98.97.134.223"
}
}
}