MOR API location rule get

From Kolmisoft Wiki

Jump to: navigation, search


[edit] Description

Admin – can get any location rules.
Reseller – can get his and his users location rules.

[edit] Usage

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

[edit] Parametres

  • u – username for authentication. This is owner (admin or reseller) Required.
  • location_rule_id - location rule ID in MOR database Required.
  • hash - SHA1 hash constructed using params and API_Secret_Key ( More described in Constructing hash). Required (if setting Disable hash checking is not checked).

[edit] Request

We send:

HTML POST: http://<SERVER_IP>/billing/api/location_rule_get?u=admin&location_rule_id=2&hash=4c7a876a669431a4716ba37499ce49dd9e3df1ab 

[edit] Returns


     <name>STANDARD prefix</name>


  • <error>Location rule was not found</error>
  • <error>Access denied</error> - authentication user is incorrect.

[edit] See also

Personal tools


Try M2