Difference between revisions of "MOR API system version get"
From Kolmisoft Wiki
Jump to navigationJump to search
Line 3: | Line 3: | ||
[[MOR API]] for getting MOR version number | [[MOR API]] for getting MOR version number | ||
<br><br> | <br><br> | ||
=Usage= | =Usage= |
Revision as of 14:03, 21 May 2013
Description
MOR API for getting MOR version number
Usage
- Call: /api/system_version_get
- Methods: POST, GET(if allowed, not recomended)
Parameters
- u - username to login. Required.
- hash – SHA1 hash constructed using API Secret Key ( More described in Constructing hash). Required.
Returns
Success:
<page> <version>MOR GUI version</version> </page>
Errors:
- <error>API Requests are disabled</error> – Allow API globally setting is unchecked.
- <error>Access Denied</error> – User was not authorized.
- <error>Incorrect hash</error> – Hash was not correct. Check API Secret Key and order or params while concatenating hash_string.
Example:
<status> <error>API Requests are disabled</error> </status>