API Lấy dữ liệu nhân viên

Mô tả API lấy dữ liệu thông tin nhân viên trên hệ thống

Thông tin
Mô tả

User

string

Password

string

Hình thức authen

Bearer<token>

Method

GET

Tạo request

curl -X 'GET' \
  'https://localhost:7222/API/Voice/ReportWorkingTime/GetAllAccounts' \
  -H 'accept: */*' \

GET https://localhost:7222/API/Voice/ReportWorkingTime/GetAllAccounts

Lây dữ liệu thông tin của nhân viên trên hệ thống

Respone Body

[
  {
    "id": "8595d384-96d7-4696-873e-ec000ee18102",
    "text": "Đỗ Thị Quyên",
    "selected": false,
    "OrderIndex": 0,
    "Type": null,
    "GuidValue": null,
    "Text1": "quyendt",
    "DateValue": null,
    "LoaiTieuChi": 0,
    "CRM_DepartmentId": null,
    "Name": null,
    "children": null
  },
  {
    "id": "8420dcab-78e5-49ce-b3a1-7cd4d50bef0c",
    "text": "Hỗ trợ khách hàng Asean",
    "selected": false,
    "OrderIndex": 0,
    "Type": null,
    "GuidValue": null,
    "Text1": "tranhien",
    "DateValue": null,
    "LoaiTieuChi": 0,
    "CRM_DepartmentId": null,
    "Name": null,
    "children": null
  },
  {
    "id": "d1fce453-127a-4a39-b2ec-d5966c1394b8",
    "text": "Hỗ trợ khách hàng Asean",
    "selected": false,
    "OrderIndex": 0,
    "Type": null,
    "GuidValue": null,
    "Text1": "trangdt",
    "DateValue": null,
    "LoaiTieuChi": 0,
    "CRM_DepartmentId": null,
    "Name": null,
    "children": null
  },
  {
    "id": "7a3acbd1-41ee-40a3-90ad-2e6f25e564d7",
    "text": "Kỹ thuật Asean",
    "selected": false,
    "OrderIndex": 0,
    "Type": null,
    "GuidValue": null,
    "Text1": "binhnc",
    "DateValue": null,
    "LoaiTieuChi": 0,
    "CRM_DepartmentId": null,
    "Name": null,
    "children": null
  },
  {
    "id": "83c33f78-3d5a-4825-800d-8d70a80fcc26",
    "text": "Kỹ thuật Asean",
    "selected": false,
    "OrderIndex": 0,
    "Type": null,
    "GuidValue": null,
    "Text1": "hoanlv",
    "DateValue": null,
    "LoaiTieuChi": 0,
    "CRM_DepartmentId": null,
    "Name": null,
    "children": null
  },
  {
    "id": "9c714510-b720-4345-ab64-4e38b55c38de",
    "text": "Kỹ thuật ASEAN",
    "selected": false,
    "OrderIndex": 0,
    "Type": null,
    "GuidValue": null,
    "Text1": "thangnv",
    "DateValue": null,
    "LoaiTieuChi": 0,
    "CRM_DepartmentId": null,
    "Name": null,
    "children": null
  },
  {
    "id": "a651bf22-2ee1-48b6-adf6-a449f4a7e0b1",
    "text": "Kỹ thuật ASEAN",
    "selected": false,
    "OrderIndex": 0,
    "Type": null,
    "GuidValue": null,
    "Text1": "sonmt",
    "DateValue": null,
    "LoaiTieuChi": 0,
    "CRM_DepartmentId": null,
    "Name": null,
    "children": null
  },
  {
    "id": "8c3a2484-2195-4225-8a66-12beae31632a",
    "text": "LE HOANG THINH",
    "selected": false,
    "OrderIndex": 0,
    "Type": null,
    "GuidValue": null,
    "Text1": "thinhlh",
    "DateValue": null,
    "LoaiTieuChi": 0,
    "CRM_DepartmentId": null,
    "Name": null,
    "children": null
  },
  {
    "id": "efcde487-ced8-4eb2-9e64-508e5f25718f",
    "text": "LE THI BICH HANH",
    "selected": false,
    "OrderIndex": 0,
    "Type": null,
    "GuidValue": null,
    "Text1": "bichhanhlt",
    "DateValue": null,
    "LoaiTieuChi": 0,
    "CRM_DepartmentId": null,
    "Name": null,
    "children": null
  },
  {
    "id": "c58d964d-105a-42e7-ac69-d292c33f68f3",
    "text": "Nga Nguyễn",
    "selected": false,
    "OrderIndex": 0,
    "Type": null,
    "GuidValue": null,
    "Text1": "nganguyen",
    "DateValue": null,
    "LoaiTieuChi": 0,
    "CRM_DepartmentId": null,
    "Name": null,
    "children": null
  },
  {
    "id": "f60d0923-a5a0-462c-91b1-54346cac6706",
    "text": "NGUYEN VAN ANH",
    "selected": false,
    "OrderIndex": 0,
    "Type": null,
    "GuidValue": null,
    "Text1": "anhnv",
    "DateValue": null,
    "LoaiTieuChi": 0,
    "CRM_DepartmentId": null,
    "Name": null,
    "children": null
  },
  {
    "id": "f8108c5f-7122-40f1-b569-ab9d47a34bb0",
    "text": "Nguyễn Công Bình",
    "selected": false,
    "OrderIndex": 0,
    "Type": null,
    "GuidValue": null,
    "Text1": "admin",
    "DateValue": null,
    "LoaiTieuChi": 0,
    "CRM_DepartmentId": null,
    "Name": null,
    "children": null
  },
  {
    "id": "2e361a9e-80c4-4240-bb78-fef70b9ed9ed",
    "text": "Nguyễn Mai Yến Nhi",
    "selected": false,
    "OrderIndex": 0,
    "Type": null,
    "GuidValue": null,
    "Text1": "yennhinm",
    "DateValue": null,
    "LoaiTieuChi": 0,
    "CRM_DepartmentId": null,
    "Name": null,
    "children": null
  },
  {
    "id": "0721d4b9-e96a-4538-8b26-4b17d063ee6d",
    "text": "TRAN THI NGOC NHUNG",
    "selected": false,
    "OrderIndex": 0,
    "Type": null,
    "GuidValue": null,
    "Text1": "ngocnhungtt",
    "DateValue": null,
    "LoaiTieuChi": 0,
    "CRM_DepartmentId": null,
    "Name": null,
    "children": null
  }
]

Lưu ý:

  • Dữ liệu body trả về có dạng mảng có các thông tin sau

Tên Trường
Kiểu Dữ Liệu
Mô Tả

id

string

UUID định danh nhân viên

text

string

Tên nhân viên hiển thị

selected

boolean

Đã được chọn hay chưa

OrderIndex

number

Vị trí trong danh sách (hiện là 0 cho tất cả)

Type

string/null

Loại (không dùng, đang null)

GuidValue

string/null

Một mã GUID phụ (đang null)

Text1

string

Tên đăng nhập (username)

DateValue

string/null

Giá trị ngày tháng (không dùng, đang null)

LoaiTieuChi

number

Loại tiêu chí (hiện đều là 0)

CRM_DepartmentId

string/null

Mã phòng ban CRM (đang null)

Name

string/null

Có thể là tên phụ (đang null)

children

object/null

Dùng cho danh sách con (hiện không có dữ liệu con)

Last updated