Difference between revisions of "MOR API user balance get by psw"
From Kolmisoft Wiki
Jump to navigationJump to search
m (Created page with '=Description= <!---This functionality is available from MOR 10---> MOR API Get User Balance by Password<br><br> =Usage= '''To turn on functionality''' go to: Setup > Settin…') |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
=Description= | =Description= | ||
<!---This functionality is available from MOR | <!---This functionality is available from MOR X4---> | ||
[[MOR API]] Get User Balance by Password<br><br> | [[MOR API]] Get User Balance by Password<br><br> | ||
=Usage= | =Usage= | ||
Line 20: | Line 20: | ||
'''Success''' | '''Success''' | ||
<html> | |||
< | <head></head> | ||
<body>66.0000</body> | |||
</html> | |||
<br><br> | <br><br> | ||
Line 28: | Line 29: | ||
'''Errors''' | '''Errors''' | ||
* | * Feature disabled - This functionality is disabled. | ||
* | * User was not found - Setting: Settings->API->API allow Registration, is off. Turn on API allow Registration. | ||
<br><br> | <br><br> | ||
Latest revision as of 13:40, 19 August 2014
Description
MOR API Get User Balance by Password
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_psw/ Here should be Device Password
- Methods: POST, GET(if allowed, not recomended)
Request
HTML POST: http://<SERVER_IP>/billing/api/user_balance_get_by_psw/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.