POST api/v2/vo-duong/them-moi

Request Information

URI Parameters

None.

Body Parameters

DM_VoDuong
NameDescriptionTypeAdditional information
ID

integer

None.

Ma

string

None.

Ten

string

None.

IDTinh

integer

None.

IDHuyen

integer

None.

IDXa

integer

None.

SoNha

string

None.

IDSuChuTri

integer

None.

TenSuChuTri

string

None.

SoDienThoai

string

None.

SoFax

string

None.

Email

string

None.

SoTaiKhoan

string

None.

TenNganHang

string

None.

IDTaiKhoan

integer

None.

NgayThanhLap

date

None.

Website

string

None.

GhiChu

string

None.

InUsed

boolean

None.

CreatedBy

integer

None.

CreatedOn

date

None.

EditedOn

date

None.

EditedBy

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "ma": "sample string 2",
  "ten": "sample string 3",
  "idTinh": 1,
  "idHuyen": 1,
  "idXa": 1,
  "soNha": "sample string 4",
  "idSuChuTri": 5,
  "tenSuChuTri": "sample string 6",
  "soDienThoai": "sample string 7",
  "soFax": "sample string 8",
  "email": "sample string 9",
  "soTaiKhoan": "sample string 10",
  "tenNganHang": "sample string 11",
  "idTaiKhoan": 1,
  "ngayThanhLap": "2025-12-11T20:42:48.0412635+07:00",
  "website": "sample string 12",
  "ghiChu": "sample string 13",
  "inUsed": true,
  "createdBy": 15,
  "createdOn": "2025-12-11T20:42:48.0417657+07:00",
  "editedOn": "2025-12-11T20:42:48.0417657+07:00",
  "editedBy": 1
}

application/xml, text/xml

Sample:
<DM_VoDuong xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO">
  <CreatedBy>15</CreatedBy>
  <CreatedOn>2025-12-11T20:42:48.0417657+07:00</CreatedOn>
  <EditedBy>1</EditedBy>
  <EditedOn>2025-12-11T20:42:48.0417657+07:00</EditedOn>
  <Email>sample string 9</Email>
  <GhiChu>sample string 13</GhiChu>
  <ID>1</ID>
  <IDHuyen>1</IDHuyen>
  <IDSuChuTri>5</IDSuChuTri>
  <IDTaiKhoan>1</IDTaiKhoan>
  <IDTinh>1</IDTinh>
  <IDXa>1</IDXa>
  <InUsed>true</InUsed>
  <Ma>sample string 2</Ma>
  <NgayThanhLap>2025-12-11T20:42:48.0412635+07:00</NgayThanhLap>
  <SoDienThoai>sample string 7</SoDienThoai>
  <SoFax>sample string 8</SoFax>
  <SoNha>sample string 4</SoNha>
  <SoTaiKhoan>sample string 10</SoTaiKhoan>
  <Ten>sample string 3</Ten>
  <TenNganHang>sample string 11</TenNganHang>
  <TenSuChuTri>sample string 6</TenSuChuTri>
  <Website>sample string 12</Website>
</DM_VoDuong>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ResponseObjectOfInt32
NameDescriptionTypeAdditional information
Status

boolean

None.

Message

string

None.

Data

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "status": true,
  "message": "sample string 2",
  "data": 3
}

application/xml, text/xml

Sample:
<ResponseObjectOfint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QuanLyPhatTu_API.Models">
  <Data>3</Data>
  <Message>sample string 2</Message>
  <Status>true</Status>
</ResponseObjectOfint>