Advertisement
Guest User

me_info init

a guest
Sep 26th, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.81 KB | None | 0 0
  1. {
  2. zone: {
  3. id: PK of the office zone where user workstation is situated,
  4. name: name of the office zone where user workstation is situated,
  5. },
  6. billing_state: {
  7. postpay: {
  8. total_minutes: How much time user can spent on postpaid,
  9. spent_minutes: How much time user already spent on postpaid,
  10. spent_amount: How much money user must to pay for postpaid session
  11. }
  12. session_end_date: time the session ends,
  13. amount: User account amount,
  14. need_refill: Is user need refill,
  15. seconds_left: How many seconds left to session end,
  16. real_price_per_hour: Price per hour for current user,
  17. ticket: {
  18. purchase_date: Datetime when ticket was purchased,
  19. start_date: Datetime of the ticket activation,
  20. end_date: Datetime of the ticket ends,
  21. spent_minutes: Count of spent minutes on the ticket,
  22. name: Name of the ticket,
  23. price: Ticket price user payed,
  24. },
  25. tariff: {
  26. discount: Discount that provides current TariffLevel,
  27. experience: Experience of the current user account,
  28. level: Level of the current user account,
  29. },
  30. next_tariff: {
  31. discount: Discount that provides current TariffLevel,
  32. experience: Experience of the current user account,
  33. level: Level of the current user account,
  34. },
  35. },
  36. notification_state: {
  37. unread_messages_count: Count of the new messages for the user,
  38. },
  39. workstation: {
  40. num: Number of the user workstation,
  41. }
  42. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement