Difference between revisions of "MOR API system version get"

From Kolmisoft Wiki
Jump to navigationJump to search
Line 7: Line 7:


* Call: /api/system_version_get
* Call: /api/system_version_get
* For Backwards-compatibility old name 'get_version' is also usable. Call: '''/api/get_version'''
* Methods: POST, GET(if allowed, not recomended)
* Methods: POST, GET(if allowed, not recomended)
<br><br>
<br><br>

Revision as of 14:15, 31 July 2013

Description

MOR API for getting MOR version number

Usage

  • Call: /api/system_version_get
  • For Backwards-compatibility old name 'get_version' is also usable. Call: /api/get_version
  • Methods: POST, GET(if allowed, not recomended)



Parameters



Returns

Success:

<?xml version="1.0" encoding="UTF-8"?>
<page>
  <version>MOR GUI version</version>
</page>

Errors:

  • Allow API globally setting is unchecked.
<?xml version="1.0" encoding="UTF-8"?>
<page>
   <status>
      <error>Access Denied</error>
   </status>
</page>
  • User is not authorized.
<?xml version="1.0" encoding="UTF-8"?>
<page>
   <status>
      <error>Access Denied</error>
   </status>
</page>
  • Hash is not correct. Check API Secret Key and order or params while concatenating hash_string.
<?xml version="1.0" encoding="UTF-8"?>
<page>
   <status>
      <error>Access Denied</error>
   </status>
</page>



See also