v1
latestOpenAPI 3.0.32026-07-24156161.2 MBCampaigns
Update specific campaign
The Update specific campaign method enables you to update the details of a specific campaign specified by the campaign id.
put/campaigns/{id}
Request body
Example request
{
"agent_callerid_name": "AgentId",
"agent_callerid_number": "11223344",
"auto_dial": "0",
"auto_dial_delay": "0",
"available_agent_search_timeout": "10",
"call_hours": "[{\"start\":\"0\",\"end\":\"0\",\"country\":\"0\"}]",
"campaign_type": "predictive",
"client_callerid_name": "Client",
"client_callerid_number": "777777777777",
"created_at": "2012-04-22 11:16:22",
"creator_user_id": "2",
"custom_call_fields": "[\"campaignleadid\",\"original_identifier\",\"first_name\",\"last_name\"]",
"default_answer_status": "2",
"default_busy_status": "45",
"default_direct_dial_status": "0",
"default_error_status": "0",
"default_fax_status": "44",
"default_not_exists_status": "46",
"default_permanent_expiration_days": "5",
"default_timeout_status": "43",
"default_voice_mail_status": "42",
"default_weight": "0",
"description": "Test Campaign123",
"feedback_default_status": "2",
"feedback_timeout": "3000",
"fetch_leads_type": "priority",
"highest_priority_weight": "10000",
"is_active": "1",
"is_deleted": "0",
"lead_status_workflow": "{\"45\":{2:[],6:[]},\"3\":{45:[],2:[]}}",
"min_weight": "0",
"name": "Test Campaign44",
"permanent_agent_offline_keepalive": "3",
"permanent_callback_keepalive": "1",
"permanent_daily_limit": "0",
"permanent_total_limit": "0",
"predictive_call_ratio": "3",
"predictive_call_timeout": "30",
"predictive_fallback_action": "playback",
"predictive_fallback_action_options": "test.wav",
"predictive_fallback_action_timeout": "0",
"predictive_preservation_min_ringing_duration": "40",
"predictive_ringing_preservation_ratio": "1",
"remote_call_screen_enabled": "0",
"remote_data_url": "http://localhost/lead.php",
"updated_at": "2014-08-18 11:28:08",
"voice_mail_button_status": "9",
"voicemail_playback_file": "test.wav",
"voicemail_time_options": "once"
}Response
Successful operation