POST api/users/login?username={username}&password={password}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
username

string

Required

password

string

Required

Body Parameters

None.

Response Information

Resource Description

user
NameDescriptionTypeAdditional information
id

integer

None.

cluster_id

integer

None.

center_id

integer

None.

create_time

date

None.

modify_time

date

None.

modify_by

integer

None.

record_status_id

signed byte

None.

title

string

None.

username

string

None.

password

string

None.

hash_code

string

None.

user_type_id

integer

None.

email

string

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "cluster_id": 2,
  "center_id": 3,
  "create_time": "2024-12-12T17:52:13.1577714+07:00",
  "modify_time": "2024-12-12T17:52:13.1577714+07:00",
  "modify_by": 6,
  "record_status_id": 64,
  "title": "sample string 8",
  "username": "sample string 9",
  "password": "sample string 10",
  "hash_code": "sample string 11",
  "user_type_id": 12,
  "email": "sample string 13"
}