Difference between revisions of "MOR API user details get"

From Kolmisoft Wiki
Jump to navigationJump to search
Line 13: Line 13:
* Methods: POST, GET(if allowed, not recomended)
* Methods: POST, GET(if allowed, not recomended)
* Params:
* Params:
** user_id - Users ID in MOR database. Required.
** user_id - Users ID in MOR database. Required. Type: INTEGER
** [[MOR API hash construction | hash]] - SHA1 hash constructed using user_id and API_Secret_Key ([[MOR API hash construction | More described in Constructing hash]]). Required.
** [[MOR API hash construction | hash]] - SHA1 hash constructed using user_id and API_Secret_Key ([[MOR API hash construction | More described in Constructing hash]]). Required.
* Returns:
* Returns:

Revision as of 14:49, 4 November 2010

This functionality is available from MOR 8


MOR API

Retrieves user details






  • Call: /api/user_details
  • Methods: POST, GET(if allowed, not recomended)
  • Params:
  • Returns:
    • Errors:
      • <error>User was not found</error> - User was not found using user_id. Use correct user_id.
      • <error>Incorrect hash</error> - Hash was not correct. Check API_Secret_Key and order or params while concatenating hash_string.\