POST api/v2/quyen-su-kien-nhan-vien/lay-theo/id-nhan-vien/tat-ca-su-kien
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_SuKien_View| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | boolean |
None. |
|
| Message | string |
None. |
|
| Data | Collection of TG_TaiKhoan_SuKien_View |
None. |
|
| Total | integer |
None. |
|
| PIndex | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"status": true,
"message": "sample string 2",
"data": [
{
"chon": true,
"maSuKien": "sample string 2",
"tenSuKien": "sample string 3",
"userName": "sample string 4",
"hoVaTen": "sample string 5",
"id": 6,
"idNguoiDung": 7,
"idSuKien": 8,
"inUsed": true,
"createdBy": 10,
"createdOn": "2025-12-11T20:10:53.3035656+07:00",
"editedBy": 1,
"editedOn": "2025-12-11T20:10:53.3040491+07:00"
},
{
"chon": true,
"maSuKien": "sample string 2",
"tenSuKien": "sample string 3",
"userName": "sample string 4",
"hoVaTen": "sample string 5",
"id": 6,
"idNguoiDung": 7,
"idSuKien": 8,
"inUsed": true,
"createdBy": 10,
"createdOn": "2025-12-11T20:10:53.3035656+07:00",
"editedBy": 1,
"editedOn": "2025-12-11T20:10:53.3040491+07:00"
}
],
"total": 3,
"pIndex": 4
}
application/xml, text/xml
Sample:
<ResponseWithTotalOfTG_TaiKhoan_SuKien_Viewpv1JTFkd 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_SuKien_View>
<d2p1:CreatedBy>10</d2p1:CreatedBy>
<d2p1:CreatedOn>2025-12-11T20:10:53.3035656+07:00</d2p1:CreatedOn>
<d2p1:EditedBy>1</d2p1:EditedBy>
<d2p1:EditedOn>2025-12-11T20:10:53.3040491+07:00</d2p1:EditedOn>
<d2p1:Id>6</d2p1:Id>
<d2p1:IdNguoiDung>7</d2p1:IdNguoiDung>
<d2p1:IdSuKien>8</d2p1:IdSuKien>
<d2p1:InUsed>true</d2p1:InUsed>
<d2p1:Chon>true</d2p1:Chon>
<d2p1:HoVaTen>sample string 5</d2p1:HoVaTen>
<d2p1:MaSuKien>sample string 2</d2p1:MaSuKien>
<d2p1:TenSuKien>sample string 3</d2p1:TenSuKien>
<d2p1:UserName>sample string 4</d2p1:UserName>
</d2p1:TG_TaiKhoan_SuKien_View>
<d2p1:TG_TaiKhoan_SuKien_View>
<d2p1:CreatedBy>10</d2p1:CreatedBy>
<d2p1:CreatedOn>2025-12-11T20:10:53.3035656+07:00</d2p1:CreatedOn>
<d2p1:EditedBy>1</d2p1:EditedBy>
<d2p1:EditedOn>2025-12-11T20:10:53.3040491+07:00</d2p1:EditedOn>
<d2p1:Id>6</d2p1:Id>
<d2p1:IdNguoiDung>7</d2p1:IdNguoiDung>
<d2p1:IdSuKien>8</d2p1:IdSuKien>
<d2p1:InUsed>true</d2p1:InUsed>
<d2p1:Chon>true</d2p1:Chon>
<d2p1:HoVaTen>sample string 5</d2p1:HoVaTen>
<d2p1:MaSuKien>sample string 2</d2p1:MaSuKien>
<d2p1:TenSuKien>sample string 3</d2p1:TenSuKien>
<d2p1:UserName>sample string 4</d2p1:UserName>
</d2p1:TG_TaiKhoan_SuKien_View>
</Data>
<Message>sample string 2</Message>
<PIndex>4</PIndex>
<Status>true</Status>
<Total>3</Total>
</ResponseWithTotalOfTG_TaiKhoan_SuKien_Viewpv1JTFkd>