PUT - Update power dialer campaign

 

Purpose

Use this API to update the power dialer campaign.

 

Authorization

HeaderKey

Description

Authorization*

Zoho-oauthtoken<space><ACCESS_TOKEN>

Accept*

Set to application/json.

Request URL

Method: PUT

https://voice.zoho.com/rest/json/zv/api/powerdialer

Scope: ZohoVoice.powerdialer.UPDATE

Parameters:

Param Name

Data Type

Description

campaign_id *

Long

Represents the power dialer campaign ID.

name

String

Represents the power dialer campaign name.

break_duration_secs

Integer

Represents the snooze interval (in seconds) for the power dialer campaign.

assign_users

JSONArray

Represents the list of user IDs assigned to the power dialer campaign.

contactDetails*

JSONArray

Represents the list of contact details in JSON format.

 

Example:

[
 {
   "first_name": "ZohoVoice",
   "mobile": ""
 }
]

field_mapping*

JSONObject

Represents the field mapping configuration.

 

Example:

{

"defaultCC":"us"

}

Sample Request

Copiedcurl "https://voice.zoho.com/rest/json/zv/api/powerdialer" \
-X PUT \
-H "Authorization:Zoho-oauthtoken *****"

Sample Response - Success

Copied{
  "code": "200",
  "message": "success",
  "status": "SUCCESS"
}

Sample Response - Error

Copied{
  "code": "ZVTPD001",
  "message": "Name already exists. Choose a different name.",
  "status": "ERROR"
}