Difference between revisions of "MOR API user details get"

From Kolmisoft Wiki
Jump to navigationJump to search
Line 15: Line 15:
** user_id - Users ID in MOR database. Required. Type: INTEGER
** 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.
** u - Users username
** p - Users password
* Returns:
* Returns:
** Errors:
** Errors:
*** <error>User was not found</error> - User was not found using user_id. Use correct user_id.
*** <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.\
*** <error>Incorrect hash</error> - Hash was not correct. Check API_Secret_Key and order or params while concatenating hash_string.\

Revision as of 06:12, 26 May 2011

This functionality is available from MOR 8


MOR API

Retrieves user details






  • Call: /api/user_details
  • Methods: POST, GET(if allowed, not recomended)
  • Params:
    • user_id - Users ID in MOR database. Required. Type: INTEGER
    • hash - SHA1 hash constructed using user_id and API_Secret_Key ( More described in Constructing hash). Required.
    • u - Users username
    • p - Users password
  • 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.\