POST api/loaikhachhang/TaoLoaiKH

Tạo loại khách hàng

Request Information

URI Parameters

None.

Body Parameters

LoaiKhachHang
NameDescriptionTypeAdditional information
IDLoaiKH

integer

None.

TenLoaiKH

string

None.

MaLoaiKH

string

None.

GhiChu

string

None.

Request Formats

application/json, text/json

Sample:
{
  "IDLoaiKH": 1,
  "TenLoaiKH": "sample string 2",
  "MaLoaiKH": "sample string 3",
  "GhiChu": "sample string 4"
}

application/xml, text/xml

Sample:
<LoaiKhachHang xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API_KD.Models">
  <GhiChu>sample string 4</GhiChu>
  <IDLoaiKH>1</IDLoaiKH>
  <MaLoaiKH>sample string 3</MaLoaiKH>
  <TenLoaiKH>sample string 2</TenLoaiKH>
</LoaiKhachHang>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />