MOR API number pool delete
From Kolmisoft Wiki
Revision as of 08:04, 20 October 2022 by Edvardas (talk | contribs) (Created page with "=Description= MOR API for deleting number pools. <br><br> =Usage= * From '''MOR X17''' call: '''/api/number_pool_delete''' * Methods: POST, GET(if allowed, not recomended) <br><br> ===Parametres=== * u - username to login. '''Required'''. * number_pool_id - Selects Number Pool. '''Required'''. * hash – SHA1 hash constructed using '''API Secret Key''' ( More described in Constructing hash). '''Requir...")
Description
MOR API for deleting number pools.
Usage
- From MOR X17 call: /api/number_pool_delete
- Methods: POST, GET(if allowed, not recomended)
Parametres
- u - username to login. Required.
- number_pool_id - Selects Number Pool. Required.
- hash – SHA1 hash constructed using API Secret Key ( More described in Constructing hash). Required.
Request
If API Secret Key = secret
You send:
HTML POST: http://<SERVER IP>/billing/api/number_pool_delete?u=admin&number_pool_id=2&hash=e5e9fa1ba31ecd1ae84f75caaa474f3a663f05f4
Returns
Success
<?xml version="1.0" encoding="UTF-8"?> <page> <status> <success>Number Pool deleted</success> </status> </page>