POST api/Supplier/ListSupplierPagination
Request Information
URI Parameters
None.
Body Parameters
GetListCategoryRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| PageIndex | integer |
None. |
|
| PageSize | integer |
None. |
|
| KeySearch | string |
None. |
|
| Type | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"PageIndex": 1,
"PageSize": 1,
"KeySearch": "sample string 1",
"Type": 1
}
application/xml, text/xml
Sample:
<GetListCategoryRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.Model.Request.Category"> <KeySearch>sample string 1</KeySearch> <PageIndex>1</PageIndex> <PageSize>1</PageSize> <Type>1</Type> </GetListCategoryRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
PaginatorResponseOfSupplierDto| 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 SupplierDto |
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": 1,
"Code": "sample string 2",
"Name": "sample string 3",
"Phone": "sample string 4",
"TinhThanhCode": "sample string 5",
"QuanHuyenCode": "sample string 6",
"PhuongXaCode": "sample string 7",
"FullAddress": "sample string 8",
"Address": "sample string 9",
"BranchId": 10,
"Email": "sample string 11",
"Company": "sample string 12",
"MaSoThue": "sample string 13",
"Note": "sample string 14",
"CreatedId": "e9a5a919-f08b-47eb-bcea-d5c2ed82f656",
"CreatedTime": "2025-10-26T13:14:56.1137383+07:00",
"IsActive": true,
"Debt": 18.0
},
{
"Id": 1,
"Code": "sample string 2",
"Name": "sample string 3",
"Phone": "sample string 4",
"TinhThanhCode": "sample string 5",
"QuanHuyenCode": "sample string 6",
"PhuongXaCode": "sample string 7",
"FullAddress": "sample string 8",
"Address": "sample string 9",
"BranchId": 10,
"Email": "sample string 11",
"Company": "sample string 12",
"MaSoThue": "sample string 13",
"Note": "sample string 14",
"CreatedId": "e9a5a919-f08b-47eb-bcea-d5c2ed82f656",
"CreatedTime": "2025-10-26T13:14:56.1137383+07:00",
"IsActive": true,
"Debt": 18.0
}
]
}
application/xml, text/xml
Sample:
<PaginatorResponseOfSupplierDto2sYTMMgG 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.Dto.Supplier">
<d2p1:SupplierDto>
<d2p1:Address>sample string 9</d2p1:Address>
<d2p1:BranchId>10</d2p1:BranchId>
<d2p1:Code>sample string 2</d2p1:Code>
<d2p1:Company>sample string 12</d2p1:Company>
<d2p1:CreatedId>e9a5a919-f08b-47eb-bcea-d5c2ed82f656</d2p1:CreatedId>
<d2p1:CreatedTime>2025-10-26T13:14:56.1137383+07:00</d2p1:CreatedTime>
<d2p1:Debt>18</d2p1:Debt>
<d2p1:Email>sample string 11</d2p1:Email>
<d2p1:FullAddress>sample string 8</d2p1:FullAddress>
<d2p1:Id>1</d2p1:Id>
<d2p1:IsActive>true</d2p1:IsActive>
<d2p1:MaSoThue>sample string 13</d2p1:MaSoThue>
<d2p1:Name>sample string 3</d2p1:Name>
<d2p1:Note>sample string 14</d2p1:Note>
<d2p1:Phone>sample string 4</d2p1:Phone>
<d2p1:PhuongXaCode>sample string 7</d2p1:PhuongXaCode>
<d2p1:QuanHuyenCode>sample string 6</d2p1:QuanHuyenCode>
<d2p1:TinhThanhCode>sample string 5</d2p1:TinhThanhCode>
</d2p1:SupplierDto>
<d2p1:SupplierDto>
<d2p1:Address>sample string 9</d2p1:Address>
<d2p1:BranchId>10</d2p1:BranchId>
<d2p1:Code>sample string 2</d2p1:Code>
<d2p1:Company>sample string 12</d2p1:Company>
<d2p1:CreatedId>e9a5a919-f08b-47eb-bcea-d5c2ed82f656</d2p1:CreatedId>
<d2p1:CreatedTime>2025-10-26T13:14:56.1137383+07:00</d2p1:CreatedTime>
<d2p1:Debt>18</d2p1:Debt>
<d2p1:Email>sample string 11</d2p1:Email>
<d2p1:FullAddress>sample string 8</d2p1:FullAddress>
<d2p1:Id>1</d2p1:Id>
<d2p1:IsActive>true</d2p1:IsActive>
<d2p1:MaSoThue>sample string 13</d2p1:MaSoThue>
<d2p1:Name>sample string 3</d2p1:Name>
<d2p1:Note>sample string 14</d2p1:Note>
<d2p1:Phone>sample string 4</d2p1:Phone>
<d2p1:PhuongXaCode>sample string 7</d2p1:PhuongXaCode>
<d2p1:QuanHuyenCode>sample string 6</d2p1:QuanHuyenCode>
<d2p1:TinhThanhCode>sample string 5</d2p1:TinhThanhCode>
</d2p1:SupplierDto>
</Items>
<PayingAmount>3</PayingAmount>
<TotalDebt>6</TotalDebt>
<TotalIncome>4</TotalIncome>
<TotalMoney>2</TotalMoney>
<TotalOrderAmount>7</TotalOrderAmount>
<TotalPaid>8</TotalPaid>
<TotalSpend>5</TotalSpend>
</PaginatorResponseOfSupplierDto2sYTMMgG>