Update Outbound Calls

API Endpoint

PUT https://kpi.knowlarity.com/Basic/v1/account/call/campaign/order-edit/<order_id>

Optional Parameter

ParameterDescription
call_scheduling_start_timeString
call_scheduling_stop_timString
start_timeString
stop_timeString
call_schedulingString
retry_timeInterval frequency
times_trFrequency (max retry is equal to time retry)
is_lifoboolean
priorityInteger
user_idInteger

Sample Request

curl --location --request \
  PUT 'https://kpi.knowlarity.com/Basic/v1/account/call/campaign/order-edit/52574762' \
  --header 'Authorization: <authorization-key>' \
  --header 'x-api-key: <x-api-key>' \
  --data-raw '{
      "call_scheduling_start_time": "09:00",
      "call_scheduling_stop_time": "21:00",
      "start_time": "2022-08-03 17:06",
      "stop_time": "2022-08-04 18:46",
      "call_scheduling": "[1, 1, 1, 1, 1, 0, 0]",
      "retry_time": "30",
      "times_try": "2",
      "is_lifo": false,
      "priority": 1,
      "user_id": <user_id>
  }'

Sample Response

{
    "Campaign": "Order edit initiated successfully"
}