MOR API Card Groups get

From Kolmisoft Wiki

Jump to: navigation, search


[edit] NOTE: Available from MOR X7

[edit] Description

MOR API Calling Cards Groups get

[edit] Usage

  • From MOR X7 Calling Cards Groups: /api/cc_groups_get
  • Methods: POST, GET(if allowed, not recomended)

[edit] Parametres

[edit] Request

We have: API Secret Key = secret

We send:

HTML POST: http://<SERVER_IP>/billing/api/cc_groups_get?u=admin&cc_group_id=1&hash=e5e9fa1ba31ecd1ae84f75caaa474f3a663f05f4

NOTE that username is not included in hash


   <group_description>Test_cardgroup description</group_description>
   <group_tarrif>Test Tariff for Users</group_tarrif>


  • <error>Incorrect hash</error> - Hash was not correct. Check API_Secret_Key and order or params while concatenating hash_string.
  • <error>You are not authorized to use this functionality</error> - User does not have rights to manage Calling Cards.
  • <error>Access Denied</error> - User does not have access to Calling Cards.
  • <error>Wrong calling cards group ID</error> - User supplied wrong Calling Cards group ID.
  • <error>Calling cards groups were not found</error> - Calling cards groups were not found.

[edit] See also

Personal tools


Try M2