MOR API User Balance get by Username

From Kolmisoft Wiki
Revision as of 16:17, 8 September 2014 by Karolinas (talk | contribs) (Created page with '=Description= <!---This functionality is available from MOR X4---> MOR API Get User Balance by Username<br><br> =Usage= '''To turn on functionality''' go to: Setup > Settin…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Description

MOR API Get User Balance by Username

Usage

To turn on functionality go to: Setup > Setting > select API tab > check "Allow devices to check balance over HTTP"

  • Call: /api/user_balance_get_by_username/ Here should be Device Username
  • Methods: POST, GET(if allowed, not recommended)



Request

HTML POST: http://<SERVER_IP>/billing/api/user_balance_get_by_username/qqf5j971bygy



Returns

Success

    
    66.0000
 




Errors

  • Feature disabled - This functionality is disabled.
  • User was not found - Setting: Settings->API->API allow Registration, is off. Turn on API allow Registration.



See also