Versions Compared

Key

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

...

Code Block
languagejson
{
  "error": "api cannot be executed during office hours time condition",
  "status_code": 441
}

Warning

HTTP status code -

432

442

Returns the following error response if the value passed for insert_leads is not a bool value or no value was provided.

Code Block
languagejson
{
  "error": "insert_leads must be a boolean value",
  "status_code": 432442
}

Warning

HTTP status code -

433

443

Returns the following error response if the value passed for update_leads is not a bool value or no value was provided.

Code Block
languagejson
{
  "error": "update_leads must be a boolean value",
  "status_code": 433443
}

Warning

HTTP status code -

434

444

Returns the following error response if the value passed for delete_leads is not a bool value or no value was provided.

Code Block
languagejson
{
  "error": "delete_leads must be a boolean value",
  "status_code": 434444
}

Warning

HTTP status code -

435

445

Returns the following error response if the value passed for lead_ids is not an integer value or was passed with double quotes.

Code Block
languagejson
{
  "error": "lead_ids must only contain integer values",
  "lead_count": 1,
  "lead_ids": [
    "0"
  ],
  "status_code": 435445
}

Warning

HTTP status code -

436

446

Returns the following error response if no value was passed for lead_ids.

Code Block
languagejson
{
  "error": "lead_ids must contain atleast 1 value",
  "status_code": 436446
}

Warning

HTTP status code -

437

447

Returns the following error response if the values passed for lead_ids exceed 500 values.

Code Block
languagejson
{
  "error": "lead_ids cannot exceed 500 values",
  "status_code": 437447
}

Warning

HTTP status code -

438

448

Returns the following error response if the values passed for lead_ids contain duplicate values.

Code Block
languagejson
{
  "error": "lead_ids cannot contain duplicate values",
  "lead_count": 1,
  "lead_ids": [
    0
  ],
  "status_code": 438448
}

Warning

HTTP status code -

439

449

Returns the following error response if the values passed for lead_ids do not exist in the vicidial_list table.

Code Block
languagejson
{
  "error": "lead_ids does not exist",
  "lead_count": 1,
  "values": [
    0
  ],
  "status_code": 439449
}

Warning

HTTP status code -

440

450

Returns the following error response for any other errors not mentioned above.

Code Block
languagejson
{
  "error": "Unexpected character encountered while parsing number: s. Path 'lead_ids[97]', line 104, position 5.",
  "status_code": 440450
}

Conclusion

If you encounter any issues with the API, please log a ticket with our support department. You can also contact us at 010-035-0909 or email our dedicated Customer Experience team at cex@teleforge.co.za. Please ensure to include your ticket number for reference and expedited support.

...