MOR API provider delete

From Kolmisoft Wiki
Revision as of 10:25, 18 July 2022 by Dmitrij (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

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

* Note that username (u) is not included in the hash

Returns

Success

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


See also