...
Code Block | ||
---|---|---|
| ||
user = api.user_servise.get('userID') # |
Student state
Code Block | ||
---|---|---|
| ||
# get user's legal info info = api.user_servise.get_legal_info(user.id) |
Student state
Code Block | ||
---|---|---|
| ||
from trivoreid.models.user import StudentState, StudentStatus
user = api.user_servise.get('userID')
# 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
Mobile/wiki/spaces/TISpubdoc/pages/20515253
/wiki/spaces/TISpubdoc/pages/20515254
/wiki/spaces/TISpubdoc/pages/20515250
...