English
English
简体中文
Contact Us
Register
Log In

Add User

Last Updated on : 2021-07-19 12:48:12download

Create a user based on the student number and username. The new user ID will be returned on success.

API address

POST: /v1.0/iot-03/users

Request parameter

Description of body

Parameter name Type IN Required Description
external_id String false The external ID, with no more than 40 characters.
user_no String false The student number or work number.
user_account String false The login account or username.
password String false The password.
name String false The name.
mobile String false The mobile phone number.
email String false The email address.
gender String false The gender.
country_code String false The country code.
start_time Long false The time when the system is logged in to.
end_time Long false The time when the system is logged out of.

Return parameter

Parameter name Type Description
result String The user ID.

Request example

POST: /v1.0/iot-03/users

Return example

{ "result": "bay1623377542714Ncfd", "t": 1623377543020, "success": true }

Error code

For more information, see error code.