Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagepy
user = api.user_servise.get('userID')

# get user's legal info
info = api.user_servise.get_legal_info(user.id)

Student state

Code Block
languagepy
from trivoreid.models.user import StudentState, StudentStatus

user = api.user_servise.get('userID')

Student state

...

')

# get user's legal info
state = api.user_service.get_student_state(user.id)

# update student state of the user
state.state = StudentStatus.FULL_TIME
state = api.user_service.update_student_state(user.id, state)

User Service Models

/wiki/spaces/TISpubdoc/pages/20515245

/wiki/spaces/TISpubdoc/pages/20515276

Names

Mobile/wiki/spaces/TISpubdoc/pages/20515253

/wiki/spaces/TISpubdoc/pages/20515254

/wiki/spaces/TISpubdoc/pages/20515250

...