MOR API number pool create

From Kolmisoft Wiki
Revision as of 07:30, 16 December 2024 by Edvardas (talk | contribs) (→‎Parametres)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Description

MOR API for creating number pools.




Usage

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



Parametres

Parameters that are included in hash:

  • u - username to login. Required.

Parameters that are NOT included in hash:



Request

If API Secret Key = secret

You send:

HTML POST: http://<SERVER IP>/billing/api/number_pool_create?u=admin&name=test2&comment=test_comment&hash=e5e9fa1ba31ecd1ae84f75caaa474f3a663f05f4



Returns

Success

<?xml version="1.0" encoding="UTF-8"?>
 <page>
  <status>
    <success>Number Pool created</success>
    <number_pool_id>2</number_pool_id>
  </status>
</page>