Difference between revisions of "MOR API system version get"

From Kolmisoft Wiki
Jump to navigationJump to search
Line 24: Line 24:
'''Errors:'''
'''Errors:'''


* <error>API Requests are disabled</error> – '''Allow API globally''' setting is unchecked.
* '''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:
<?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>


  <status>
    <error>API Requests are disabled</error>
  </status>
<br><br>
<br><br>
=See also=
=See also=


* [[MOR API]]
* [[MOR API]]

Revision as of 13:03, 29 May 2013

Description

MOR API for getting MOR version number

Usage

  • Call: /api/system_version_get
  • Methods: POST, GET(if allowed, not recomended)



Parameters



Returns

Success:

 <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