POST api/Employee/InsertEmployee

Request Information

URI Parameters

None.

Body Parameters

ParamsEmployee
NameDescriptionTypeAdditional information
itemEmployee

string

None.

UserName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "itemEmployee": "sample string 1",
  "UserName": "sample string 2"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

EMPLOYEE
NameDescriptionTypeAdditional information
EmployeeID

string

None.

EmployeeName

string

None.

FirstName

string

None.

MiddleName

string

None.

LastName

string

None.

PrefixName

string

None.

SecurityNo

string

None.

SocialInsuranceNo

string

None.

PassportNo

string

None.

Sex

integer

None.

BirthDate

date

None.

IsForeigner

boolean

None.

Nationality

string

None.

Address

string

None.

City

string

None.

State

string

None.

Zip

string

None.

Country

string

None.

Tel

string

None.

DepartmentID

string

None.

Position

string

None.

LaborContractNo

string

None.

HiredDate

date

None.

LastRaise

date

None.

ReleasedDate

date

None.

Photo

Collection of byte

None.

Vacation

integer

None.

Sick

integer

None.

EmployeeClassID

string

None.

BasicCoefficient

decimal number

None.

NetSalary

decimal number

None.

BasicSalary

decimal number

None.

AllowanceCoefficient

decimal number

None.

Allowance

decimal number

None.

IsSaleRep

boolean

None.

AdvanceAccount

string

None.

Inactive

boolean

None.

SelectedForPayroll

boolean

None.

PHAT

decimal number

None.

GHICHU

string

None.

Vanhoa

string

None.

Ngoaingu

string

None.

Chuyenmon

string

None.

Email

string

None.

HINHTHUCTINHLUONG

integer

None.

DiachiFileAnh

string

None.

Chithay

decimal number

None.

Noiohiennay

string

None.

DTNoio

string

None.

Nguyenquan

string

None.

Hotencha

string

None.

Namsinhcha

string

None.

Nghenghiepcha

string

None.

Hotenme

string

None.

Namsinhme

string

None.

Nghenghiepme

string

None.

Anhchiem

string

None.

TruonghoccapI

string

None.

CapITunam

string

None.

TruonghoccapII

string

None.

CapIItunam

string

None.

TruonghoccapIII

string

None.

CapIIItunam

string

None.

Truongkhac

string

None.

Quatrinhlamviecbanthan

string

None.

Khanangdaco

string

None.

Dudinhvitrimoi

string

None.

Tongluong

integer

None.

Nhomthuong

string

None.

NickName

string

None.

Mucgiaohang

integer

None.

Giaohangchokho

string

None.

Nhom

string

None.

NickIM

string

None.

Nhombanhang

string

None.

SoTK

string

None.

ModifiedDate

date

None.

ModifiedBy

string

None.

Gioihanduocbanno

integer

None.

CVID

string

None.

ChiNhanh

string

None.

MaTK1

string

None.

MaTK2

string

None.

MaTK3

string

None.

MaTK4

string

None.

Picture

Collection of byte

None.

latitude

decimal number

None.

longitude

decimal number

None.

monitor

boolean

None.

getposition

boolean

None.

MaSap

string

None.

LaKhachHang

boolean

None.

LaNhaCungCap

boolean

None.

NgayCap

date

None.

NoiCap

string

None.

NganHang

string

None.

DiaChiNganHang

string

None.

Password

string

None.

Chucvu

Chucvu

None.

Response Formats

application/json, text/json

Sample:
{
  "EmployeeID": "sample string 1",
  "EmployeeName": "sample string 2",
  "FirstName": "sample string 3",
  "MiddleName": "sample string 4",
  "LastName": "sample string 5",
  "PrefixName": "sample string 6",
  "SecurityNo": "sample string 7",
  "SocialInsuranceNo": "sample string 8",
  "PassportNo": "sample string 9",
  "Sex": 1,
  "BirthDate": "2022-05-22T14:15:40.7915189+07:00",
  "IsForeigner": true,
  "Nationality": "sample string 10",
  "Address": "sample string 11",
  "City": "sample string 12",
  "State": "sample string 13",
  "Zip": "sample string 14",
  "Country": "sample string 15",
  "Tel": "sample string 16",
  "DepartmentID": "sample string 17",
  "Position": "sample string 18",
  "LaborContractNo": "sample string 19",
  "HiredDate": "2022-05-22T14:15:40.7915189+07:00",
  "LastRaise": "2022-05-22T14:15:40.7915189+07:00",
  "ReleasedDate": "2022-05-22T14:15:40.7915189+07:00",
  "Photo": "QEA=",
  "Vacation": 1,
  "Sick": 1,
  "EmployeeClassID": "sample string 20",
  "BasicCoefficient": 1.1,
  "NetSalary": 1.0,
  "BasicSalary": 1.0,
  "AllowanceCoefficient": 1.1,
  "Allowance": 1.0,
  "IsSaleRep": true,
  "AdvanceAccount": "sample string 21",
  "Inactive": true,
  "SelectedForPayroll": true,
  "PHAT": 1.1,
  "GHICHU": "sample string 22",
  "Vanhoa": "sample string 23",
  "Ngoaingu": "sample string 24",
  "Chuyenmon": "sample string 25",
  "Email": "sample string 26",
  "HINHTHUCTINHLUONG": 1,
  "DiachiFileAnh": "sample string 27",
  "Chithay": 1.1,
  "Noiohiennay": "sample string 28",
  "DTNoio": "sample string 29",
  "Nguyenquan": "sample string 30",
  "Hotencha": "sample string 31",
  "Namsinhcha": "sample string 32",
  "Nghenghiepcha": "sample string 33",
  "Hotenme": "sample string 34",
  "Namsinhme": "sample string 35",
  "Nghenghiepme": "sample string 36",
  "Anhchiem": "sample string 37",
  "TruonghoccapI": "sample string 38",
  "CapITunam": "sample string 39",
  "TruonghoccapII": "sample string 40",
  "CapIItunam": "sample string 41",
  "TruonghoccapIII": "sample string 42",
  "CapIIItunam": "sample string 43",
  "Truongkhac": "sample string 44",
  "Quatrinhlamviecbanthan": "sample string 45",
  "Khanangdaco": "sample string 46",
  "Dudinhvitrimoi": "sample string 47",
  "Tongluong": 1,
  "Nhomthuong": "sample string 48",
  "NickName": "sample string 49",
  "Mucgiaohang": 1,
  "Giaohangchokho": "sample string 50",
  "Nhom": "sample string 51",
  "NickIM": "sample string 52",
  "Nhombanhang": "sample string 53",
  "SoTK": "sample string 54",
  "ModifiedDate": "2022-05-22T14:15:40.7915189+07:00",
  "ModifiedBy": "sample string 55",
  "Gioihanduocbanno": 1,
  "CVID": "sample string 56",
  "ChiNhanh": "sample string 57",
  "MaTK1": "sample string 58",
  "MaTK2": "sample string 59",
  "MaTK3": "sample string 60",
  "MaTK4": "sample string 61",
  "Picture": "QEA=",
  "latitude": 1.1,
  "longitude": 1.1,
  "monitor": true,
  "getposition": true,
  "MaSap": "sample string 62",
  "LaKhachHang": true,
  "LaNhaCungCap": true,
  "NgayCap": "2022-05-22T14:15:40.7915189+07:00",
  "NoiCap": "sample string 63",
  "NganHang": "sample string 64",
  "DiaChiNganHang": "sample string 65",
  "Password": "sample string 66",
  "Chucvu": {
    "CVID": "sample string 1",
    "CVName": "sample string 2",
    "HeSoLuong": "sample string 3",
    "ModifiedBy": "sample string 4",
    "ModifiedDate": "2022-05-22T14:15:40.7915189+07:00",
    "DoanhSo": 1,
    "MaThuTu": "sample string 5",
    "CVIDCaoNhatDaDat": "sample string 6",
    "DuLieuTimKiem": "sample string 7",
    "EMPLOYEE": []
  }
}