GetUser

Retrieving a user with a given identifier.

  • Input data type => object
  • Output data type => object

Input parameters

  1. _session_hash (string)
  2. Required. Session identifier (received during login - doLogin)

  3. id (integer)
  4. Identifier of the created user.

Output data

  1. created_at (dateTime)
  2. Entry creation date.

  3. id (integer)
  4. Identifier.

  5. username (string)
  6. Username.

  7. last_login (dateTime)
  8. Date of last login.

  9. salt (integer)
  10. Salt.

  11. password (string)
  12. Password.

  13. is_active (integer)
  14. Active.

  15. is_super_admin (integer)
  16. Super administrator.

  17. wholesale (string)
  18. Wholesale customer. Returns a digit:

    • 0 - no wholesale group
    • 1 - wholesale group A
    • 2 - wholesale group B
    • 3 - wholesale group C

  19. points (integer)
  20. Number of customer points.

  21. discount (double)
  22. Overall discount.