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

From Kolmisoft Wiki
Jump to navigationJump to search
 
(One intermediate revision by the same user not shown)
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>
Line 17: Line 17:


* '''[[MOR API hash construction | 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''' ([[MOR API hash construction | More described in Constructing hash]]). '''Required'''.<br>
* '''[[MOR API hash construction | 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''' ([[MOR API hash construction | More described in Constructing hash]]). '''Required'''.<br>
* '''u''' - simple user for which belongs campgain. '''Required'''.
* '''u''' - simple user under which campgain is created. '''Required'''.
<br><br>
<br><br>



Latest revision as of 07:36, 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 under which campgain is created. 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