POST api/Account/GetListAccount
Request Information
URI Parameters
None.
Body Parameters
GetListAccountRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| PageSize | integer |
None. |
|
| PageIndex | integer |
None. |
|
| FullName | string |
None. |
|
| string |
None. |
||
| Role | RoleEnum |
None. |
|
| IsActive | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"PageSize": 1,
"PageIndex": 1,
"FullName": "sample string 1",
"Email": "sample string 2",
"Role": 0,
"IsActive": true
}
application/xml, text/xml
Sample:
<GetListAccountRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.Model.Request.Account"> <Email>sample string 2</Email> <FullName>sample string 1</FullName> <IsActive>true</IsActive> <PageIndex>1</PageIndex> <PageSize>1</PageSize> <Role>Admin</Role> </GetListAccountRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
PaginatorResponseOfGetListAccountResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Count | integer |
None. |
|
| TotalMoney | decimal number |
None. |
|
| PayingAmount | decimal number |
None. |
|
| TotalIncome | decimal number |
None. |
|
| TotalSpend | decimal number |
None. |
|
| TotalDebt | decimal number |
None. |
|
| TotalOrderAmount | decimal number |
None. |
|
| TotalPaid | decimal number |
None. |
|
| Items | Collection of GetListAccountResponse |
None. |
Response Formats
application/json, text/json
Sample:
{
"Count": 1,
"TotalMoney": 2.0,
"PayingAmount": 3.0,
"TotalIncome": 4.0,
"TotalSpend": 5.0,
"TotalDebt": 6.0,
"TotalOrderAmount": 7.0,
"TotalPaid": 8.0,
"Items": [
{
"Id": "21b9be8e-d349-437b-8424-8c3371c58198",
"FullName": "sample string 1",
"AvatarId": "9ac48dfe-18fc-4f67-9e47-76f1a55f2d82",
"Email": "sample string 2",
"Roles": [
0,
0
],
"RolesName": "Quản lý, Quản lý",
"IsActive": true,
"CreatedTime": "2025-10-26T13:07:36.6537211+07:00",
"LastLoginTime": "2025-10-26T13:07:36.6546536+07:00",
"TimeIn": "sample string 3",
"TimeOut": "sample string 4"
},
{
"Id": "21b9be8e-d349-437b-8424-8c3371c58198",
"FullName": "sample string 1",
"AvatarId": "9ac48dfe-18fc-4f67-9e47-76f1a55f2d82",
"Email": "sample string 2",
"Roles": [
0,
0
],
"RolesName": "Quản lý, Quản lý",
"IsActive": true,
"CreatedTime": "2025-10-26T13:07:36.6537211+07:00",
"LastLoginTime": "2025-10-26T13:07:36.6546536+07:00",
"TimeIn": "sample string 3",
"TimeOut": "sample string 4"
}
]
}
application/xml, text/xml
Sample:
<PaginatorResponseOfGetListAccountResponsedSUSZGhA xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.Model.Generics">
<Count>1</Count>
<Items xmlns:d2p1="http://schemas.datacontract.org/2004/07/Common.Model.Response.Account">
<d2p1:GetListAccountResponse>
<d2p1:AvatarId>9ac48dfe-18fc-4f67-9e47-76f1a55f2d82</d2p1:AvatarId>
<d2p1:CreatedTime>2025-10-26T13:07:36.6537211+07:00</d2p1:CreatedTime>
<d2p1:Email>sample string 2</d2p1:Email>
<d2p1:FullName>sample string 1</d2p1:FullName>
<d2p1:Id>21b9be8e-d349-437b-8424-8c3371c58198</d2p1:Id>
<d2p1:IsActive>true</d2p1:IsActive>
<d2p1:LastLoginTime>2025-10-26T13:07:36.6546536+07:00</d2p1:LastLoginTime>
<d2p1:Roles xmlns:d4p1="http://schemas.datacontract.org/2004/07/Common.Enums">
<d4p1:RoleEnum>Admin</d4p1:RoleEnum>
<d4p1:RoleEnum>Admin</d4p1:RoleEnum>
</d2p1:Roles>
<d2p1:TimeIn>sample string 3</d2p1:TimeIn>
<d2p1:TimeOut>sample string 4</d2p1:TimeOut>
</d2p1:GetListAccountResponse>
<d2p1:GetListAccountResponse>
<d2p1:AvatarId>9ac48dfe-18fc-4f67-9e47-76f1a55f2d82</d2p1:AvatarId>
<d2p1:CreatedTime>2025-10-26T13:07:36.6537211+07:00</d2p1:CreatedTime>
<d2p1:Email>sample string 2</d2p1:Email>
<d2p1:FullName>sample string 1</d2p1:FullName>
<d2p1:Id>21b9be8e-d349-437b-8424-8c3371c58198</d2p1:Id>
<d2p1:IsActive>true</d2p1:IsActive>
<d2p1:LastLoginTime>2025-10-26T13:07:36.6546536+07:00</d2p1:LastLoginTime>
<d2p1:Roles xmlns:d4p1="http://schemas.datacontract.org/2004/07/Common.Enums">
<d4p1:RoleEnum>Admin</d4p1:RoleEnum>
<d4p1:RoleEnum>Admin</d4p1:RoleEnum>
</d2p1:Roles>
<d2p1:TimeIn>sample string 3</d2p1:TimeIn>
<d2p1:TimeOut>sample string 4</d2p1:TimeOut>
</d2p1:GetListAccountResponse>
</Items>
<PayingAmount>3</PayingAmount>
<TotalDebt>6</TotalDebt>
<TotalIncome>4</TotalIncome>
<TotalMoney>2</TotalMoney>
<TotalOrderAmount>7</TotalOrderAmount>
<TotalPaid>8</TotalPaid>
<TotalSpend>5</TotalSpend>
</PaginatorResponseOfGetListAccountResponsedSUSZGhA>