Difference between revisions of "MOR API"
From Kolmisoft Wiki
Jump to navigationJump to search
Line 6: | Line 6: | ||
=Functions= | =Functions= | ||
== API Related == | |||
* [[MOR API hash construction|Hash construction]] - How to construct hash to authenticate data over API | |||
==Login== | ==Login== | ||
Line 29: | Line 33: | ||
* [[MOR API calls|calls]] - Retrieves list of calls in selected time period for some user/device | * [[MOR API calls|calls]] - Retrieves list of calls in selected time period for some user/device | ||
<br><br><br><br> | <br><br><br><br> |
Revision as of 15:50, 29 December 2008
MOR API lets other software interact to MOR without knowing internal structure of DB and other logic.
MOR accepts requests by HTML POST and returns result in XML.
Functions
API Related
- Hash construction - How to construct hash to authenticate data over API
Login
Details
- MOR API user_details - get user details
Callback
- callback - Initiates callback
- c2c_callback - Initiates Click2Call specific callback
Accounting
- invoices - Retrieves list of invoices in selected time period.
Calls
- calls - Retrieves list of calls in selected time period for some user/device
HTML POST
All requests are in similar format:
HTML POST: http://<SERVER_IP>/mor/api/<function>?u=username&p=password
- username/password - of the user who is asking for the data.
If user has 'admin' rights - he will get more results and he can perform more actions compared to the user who does not have such rights.