GET api/Users/GetUserInforEdit?Lang={Lang}
Đọc thông tin người dùng để sửa. Gọi PutUserInfor api để cập nhật thông tin người dùng.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| Lang |
Lang ngôn ngữ hiện hành (en/vi). Mặc định là vi. |
string |
Default value is vi |
Body Parameters
None.
Response Information
Resource Description
Trả về cấu trúc TUserInforEditModel.
TUserInforEditModel| Name | Description | Type | Additional information |
|---|---|---|---|
| UserInforEdit |
Thông tin người dùng để hiện và soạn thảo |
TUserInforEdit |
None. |
| Avatar |
Hình ảnh đại diện (Avatar) |
string |
None. |
| GenderList |
Danh sách giới tính |
Collection of TIntIDList |
None. |
Response Formats
application/json, text/json
Sample:
{
"UserInforEdit": {
"$id": "2",
"ID": 1,
"FullName": "sample string 2",
"Gender": 3,
"Birthday": "2026-01-09T22:12:56.8816519+07:00",
"PhoneNumber": "sample string 4",
"Role": "sample string 5",
"Address": "sample string 6",
"Note": "sample string 7"
},
"Avatar": "sample string 1",
"GenderList": [
{
"$id": "3",
"ID": 1,
"Text": "sample string 2"
},
{
"$ref": "3"
}
]
}