Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Disable SSL verification upon sending the request.

  1. Insert leads lead IDs into the vicidial_list_archive table. Ignores leads Ignore lead IDs that exist in the vicidial_list_archive table.

  2. Update leads lead ID in the vicidial_list_archive table with lead ID data from the vicidial_list table.

  3. Delete leads lead IDs from the vicidial_list table. Performs safe delete by checking if the lead ID exists in the vicidial_list_archive table and if the column data matches the vicidial_list table lead ID.

Code Block
languagebash
curl -k -X POST https://server/vicidial/lead/archive/ \
-H "Authorization: Key=YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
      "insert_leads": true,
      "update_leads": true,
      "delete_leads": true,
      "lead_ids": [
        0,
        1
      ]
    }'

...