POST api/v2/quyen-du-lieu-nhan-vien/lay-theo/id-nhan-vien
Request Information
URI Parameters
None.
Body Parameters
Dictionary of string [key] and Object [value]Request Formats
application/json, text/json
Sample:
{
"sample string 1": {},
"sample string 3": {}
}
application/xml, text/xml
Sample:
<ArrayOfKeyValueOfstringanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<KeyValueOfstringanyType>
<Key>sample string 1</Key>
<Value />
</KeyValueOfstringanyType>
<KeyValueOfstringanyType>
<Key>sample string 3</Key>
<Value />
</KeyValueOfstringanyType>
</ArrayOfKeyValueOfstringanyType>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseWithTotalOfTG_TaiKhoan_DuLieu| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | boolean |
None. |
|
| Message | string |
None. |
|
| Data | Collection of TG_TaiKhoan_DuLieu |
None. |
|
| Total | integer |
None. |
|
| PIndex | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"status": true,
"message": "sample string 2",
"data": [
{
"id": 1,
"idNguoiDung": 2,
"idCoCauToChuc": 3,
"maCoCauToChuc": "sample string 4",
"createdBy": 5,
"createdOn": "2025-12-11T20:09:09.5104952+07:00",
"inUsed": true,
"editedBy": 1,
"editedOn": "2025-12-11T20:09:09.512494+07:00"
},
{
"id": 1,
"idNguoiDung": 2,
"idCoCauToChuc": 3,
"maCoCauToChuc": "sample string 4",
"createdBy": 5,
"createdOn": "2025-12-11T20:09:09.5104952+07:00",
"inUsed": true,
"editedBy": 1,
"editedOn": "2025-12-11T20:09:09.512494+07:00"
}
],
"total": 3,
"pIndex": 4
}
application/xml, text/xml
Sample:
<ResponseWithTotalOfTG_TaiKhoan_DuLieupv1JTFkd xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QuanLyPhatTu_API.Models">
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/DTO">
<d2p1:TG_TaiKhoan_DuLieu>
<d2p1:CreatedBy>5</d2p1:CreatedBy>
<d2p1:CreatedOn>2025-12-11T20:09:09.5104952+07:00</d2p1:CreatedOn>
<d2p1:EditedBy>1</d2p1:EditedBy>
<d2p1:EditedOn>2025-12-11T20:09:09.512494+07:00</d2p1:EditedOn>
<d2p1:ID>1</d2p1:ID>
<d2p1:IDCoCauToChuc>3</d2p1:IDCoCauToChuc>
<d2p1:IDNguoiDung>2</d2p1:IDNguoiDung>
<d2p1:InUsed>true</d2p1:InUsed>
<d2p1:MaCoCauToChuc>sample string 4</d2p1:MaCoCauToChuc>
</d2p1:TG_TaiKhoan_DuLieu>
<d2p1:TG_TaiKhoan_DuLieu>
<d2p1:CreatedBy>5</d2p1:CreatedBy>
<d2p1:CreatedOn>2025-12-11T20:09:09.5104952+07:00</d2p1:CreatedOn>
<d2p1:EditedBy>1</d2p1:EditedBy>
<d2p1:EditedOn>2025-12-11T20:09:09.512494+07:00</d2p1:EditedOn>
<d2p1:ID>1</d2p1:ID>
<d2p1:IDCoCauToChuc>3</d2p1:IDCoCauToChuc>
<d2p1:IDNguoiDung>2</d2p1:IDNguoiDung>
<d2p1:InUsed>true</d2p1:InUsed>
<d2p1:MaCoCauToChuc>sample string 4</d2p1:MaCoCauToChuc>
</d2p1:TG_TaiKhoan_DuLieu>
</Data>
<Message>sample string 2</Message>
<PIndex>4</PIndex>
<Status>true</Status>
<Total>3</Total>
</ResponseWithTotalOfTG_TaiKhoan_DuLieupv1JTFkd>