Difference between revisions of "MOR API rate get"

From Kolmisoft Wiki
Jump to navigationJump to search
m
Line 14: Line 14:
[[File:Settings_various_rate_over_http.png]]
[[File:Settings_various_rate_over_http.png]]
<br><br>
<br><br>
3. Ensure that MOR API is enabled
<br><br>
[[File:Mor_api_rate_api_cfg.png]]
<br><br>
==Request==
==Request==



Revision as of 07:36, 22 March 2011

This feature is available starting from MOR 10, but was also backported to MOR 9

About

This feature enables you to check rate over http.

Enable check check rate over http feature

1. Go to SETTINGS - Setup -> Settings

Settings path.png

2. In Various tab check the marked option:

Settings various rate over http.png

3. Ensure that MOR API is enabled

Mor api rate api cfg.png

Request

HTML POST: http://<SERVER_IP>/billing/api/rate?username=USERNAME&prefix=PREFIX
Example: http://127.0.0.1/billing/api/rate?username=admin&prefix=370

Result

Result is returned in format: rate#destination#prefix
Example: 35.0#Lithuania#370

See Also