Difference between revisions of "MOR API autodialer redial all failed calls"

From Kolmisoft Wiki
Jump to navigationJump to search
(Created page with '=Description= MOR API Autodialer redial all failed calls. <br><br> Initiate redial all failed calls action for a specific campaign. =Usage= * Call: /api/autodialer_redial_a…')
 
Line 6: Line 6:
=Usage=
=Usage=


* Call: /api/autodialer_redial_all_failed_calls
* Call: */api/autodialer_redial_all_failed_calls*
* Methods: POST, GET(if allowed, not recomended)  
* Methods: POST, GET(if allowed, not recomended)  
<br><br>
<br><br>

Revision as of 07:35, 3 June 2020

Description

MOR API Autodialer redial all failed calls.

Initiate redial all failed calls action for a specific campaign.

Usage

  • Call: */api/autodialer_redial_all_failed_calls*
  • Methods: POST, GET(if allowed, not recomended)



Parameters

Parameters which are included into hash:

  • id - campgain id. Required.



Parameters which are not included into hash:

  • hash - SHA1 hash constructed using parameters which are listed above. Note that parameters are shown in the same order as they have to be when generating the hash. Last parameter in a row is API_Secret_Key ( More described in Constructing hash). Required.
  • u - simple user for which belongs campgain. Required.



Request

We have user = campgain_user, id = 1, API Secret Key = secret

HTML POST: http://192.168.99.100/billing/api/autodialer_redial_all_failed_calls?u=campgain_user&id=1&hash=bc2f114099d16656d37e45fd9e8744cb9386d462



Returns

<?xml version="1.0" encoding="UTF-8"?> <page>

 <status>
   <success>All failed calls redial was successful</success>
 </status>

</page>




Errors

  • Incorrect hash
  • Access Denied
  • You are not authorized to use this functionality
  • Campaign was not found


Example:

<?xml version="1.0" encoding="UTF-8"?>
<page>
  <error>Error message</error>
</page>



See also