MOR API user balance get

From Kolmisoft Wiki
Revision as of 07:02, 4 January 2011 by Vitalija (talk | contribs) (→‎erros)
Jump to navigationJump to search

This functionality is available from MOR 9

MOR API

In SETTINGS->Setup->Settings->Variuos->Allow devices to check balance over HTTP, check to allow this functionality:

Request

HTML POST: http://<SERVER_IP>/mor/api/balance?username=USERNAME

Result

-349282.18

returns balance of user

Erros

When user is not found.

User not found

When feature is off.

Feature disabled