Difference between revisions of "MOR API provider delete"

From Kolmisoft Wiki
Jump to navigationJump to search
(Created page with "=Description= MOR API for deleting providers. <br><br> =Usage= * From '''MOR X17''' call: '''/api/provider_delete''' * Methods: POST, GET(if allowed, not recomended) <br><br> ===Parametres=== * u - username to login. '''Required'''. * provider_id - Selects Provider '''Required'''. <br><br> ===Request=== If API Secret Key = secret You send: HTML POST: http://<SERVER IP>/billing/api/provider_delete?u=admin&provider_id=7&hash=e5e9fa1ba31ecd1ae84f75caaa474f3a663f0...")
 
 
Line 21: Line 21:
  HTML POST: http://<SERVER IP>/billing/api/provider_delete?u=admin&provider_id=7&hash=e5e9fa1ba31ecd1ae84f75caaa474f3a663f05f4
  HTML POST: http://<SERVER IP>/billing/api/provider_delete?u=admin&provider_id=7&hash=e5e9fa1ba31ecd1ae84f75caaa474f3a663f05f4


'''* Note that username (u) is not included in the hash'''
<br><br>
<br><br>
===Returns===
===Returns===



Latest revision as of 09:13, 25 October 2023

Description

MOR API for deleting providers.




Usage

  • From MOR X17 call: /api/provider_delete
  • Methods: POST, GET(if allowed, not recomended)



Parametres

  • u - username to login. Required.
  • provider_id - Selects Provider Required.



Request

If API Secret Key = secret

You send:

HTML POST: http://<SERVER IP>/billing/api/provider_delete?u=admin&provider_id=7&hash=e5e9fa1ba31ecd1ae84f75caaa474f3a663f05f4



Returns

Success

<?xml version="1.0" encoding="UTF-8"?>
<page>
 <status>
   <success>Provider deleted</success>
 </status>
</page>


See also