POST api/Customer/ListCustomerPagination

Request Information

URI Parameters

None.

Body Parameters

GetListCategoryRequest
NameDescriptionTypeAdditional 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

PaginatorResponseOfCustomerDto
NameDescriptionTypeAdditional 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 CustomerDto

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,
      "Name": "sample string 2",
      "Debt": 3.0,
      "Phone": "sample string 4",
      "PhoneSub": "sample string 5",
      "Address": "sample string 6",
      "TinhThanhCode": "sample string 7",
      "QuanHuyenCode": "sample string 8",
      "FullAddress": "sample string 9",
      "PhuongXaCode": "sample string 10",
      "DateOfBirth": "2025-10-26T13:04:15.2649064+07:00",
      "MaSoThue": "sample string 11",
      "Email": "sample string 12",
      "Facebook": "sample string 13",
      "Note": "sample string 14",
      "AvartaId": "98ab377d-0f3e-4fb3-a79f-db274c6a7b41",
      "Type": 15,
      "IsDeleted": true,
      "DeleteTime": "2025-10-26T13:04:15.2659015+07:00",
      "CreatedTime": "2025-10-26T13:04:15.2659015+07:00",
      "CreatedId": "21631e31-67b9-42da-813b-1225c083597b",
      "DeletedId": "f000ea04-105a-46d8-8e50-fe35d98dd278",
      "Code": "sample string 19",
      "Gender": true,
      "IsActive": true
    },
    {
      "Id": 1,
      "Name": "sample string 2",
      "Debt": 3.0,
      "Phone": "sample string 4",
      "PhoneSub": "sample string 5",
      "Address": "sample string 6",
      "TinhThanhCode": "sample string 7",
      "QuanHuyenCode": "sample string 8",
      "FullAddress": "sample string 9",
      "PhuongXaCode": "sample string 10",
      "DateOfBirth": "2025-10-26T13:04:15.2649064+07:00",
      "MaSoThue": "sample string 11",
      "Email": "sample string 12",
      "Facebook": "sample string 13",
      "Note": "sample string 14",
      "AvartaId": "98ab377d-0f3e-4fb3-a79f-db274c6a7b41",
      "Type": 15,
      "IsDeleted": true,
      "DeleteTime": "2025-10-26T13:04:15.2659015+07:00",
      "CreatedTime": "2025-10-26T13:04:15.2659015+07:00",
      "CreatedId": "21631e31-67b9-42da-813b-1225c083597b",
      "DeletedId": "f000ea04-105a-46d8-8e50-fe35d98dd278",
      "Code": "sample string 19",
      "Gender": true,
      "IsActive": true
    }
  ]
}

application/xml, text/xml

Sample:
<PaginatorResponseOfCustomerDtoYMZ6AJxZ 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.Customer">
    <d2p1:CustomerDto>
      <d2p1:Address>sample string 6</d2p1:Address>
      <d2p1:AvartaId>98ab377d-0f3e-4fb3-a79f-db274c6a7b41</d2p1:AvartaId>
      <d2p1:Code>sample string 19</d2p1:Code>
      <d2p1:CreatedId>21631e31-67b9-42da-813b-1225c083597b</d2p1:CreatedId>
      <d2p1:CreatedTime>2025-10-26T13:04:15.2659015+07:00</d2p1:CreatedTime>
      <d2p1:DateOfBirth>2025-10-26T13:04:15.2649064+07:00</d2p1:DateOfBirth>
      <d2p1:Debt>3</d2p1:Debt>
      <d2p1:DeleteTime>2025-10-26T13:04:15.2659015+07:00</d2p1:DeleteTime>
      <d2p1:DeletedId>f000ea04-105a-46d8-8e50-fe35d98dd278</d2p1:DeletedId>
      <d2p1:Email>sample string 12</d2p1:Email>
      <d2p1:Facebook>sample string 13</d2p1:Facebook>
      <d2p1:FullAddress>sample string 9</d2p1:FullAddress>
      <d2p1:Gender>true</d2p1:Gender>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IsActive>true</d2p1:IsActive>
      <d2p1:IsDeleted>true</d2p1:IsDeleted>
      <d2p1:MaSoThue>sample string 11</d2p1:MaSoThue>
      <d2p1:Name>sample string 2</d2p1:Name>
      <d2p1:Note>sample string 14</d2p1:Note>
      <d2p1:Phone>sample string 4</d2p1:Phone>
      <d2p1:PhoneSub>sample string 5</d2p1:PhoneSub>
      <d2p1:PhuongXaCode>sample string 10</d2p1:PhuongXaCode>
      <d2p1:QuanHuyenCode>sample string 8</d2p1:QuanHuyenCode>
      <d2p1:TinhThanhCode>sample string 7</d2p1:TinhThanhCode>
      <d2p1:Type>15</d2p1:Type>
    </d2p1:CustomerDto>
    <d2p1:CustomerDto>
      <d2p1:Address>sample string 6</d2p1:Address>
      <d2p1:AvartaId>98ab377d-0f3e-4fb3-a79f-db274c6a7b41</d2p1:AvartaId>
      <d2p1:Code>sample string 19</d2p1:Code>
      <d2p1:CreatedId>21631e31-67b9-42da-813b-1225c083597b</d2p1:CreatedId>
      <d2p1:CreatedTime>2025-10-26T13:04:15.2659015+07:00</d2p1:CreatedTime>
      <d2p1:DateOfBirth>2025-10-26T13:04:15.2649064+07:00</d2p1:DateOfBirth>
      <d2p1:Debt>3</d2p1:Debt>
      <d2p1:DeleteTime>2025-10-26T13:04:15.2659015+07:00</d2p1:DeleteTime>
      <d2p1:DeletedId>f000ea04-105a-46d8-8e50-fe35d98dd278</d2p1:DeletedId>
      <d2p1:Email>sample string 12</d2p1:Email>
      <d2p1:Facebook>sample string 13</d2p1:Facebook>
      <d2p1:FullAddress>sample string 9</d2p1:FullAddress>
      <d2p1:Gender>true</d2p1:Gender>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IsActive>true</d2p1:IsActive>
      <d2p1:IsDeleted>true</d2p1:IsDeleted>
      <d2p1:MaSoThue>sample string 11</d2p1:MaSoThue>
      <d2p1:Name>sample string 2</d2p1:Name>
      <d2p1:Note>sample string 14</d2p1:Note>
      <d2p1:Phone>sample string 4</d2p1:Phone>
      <d2p1:PhoneSub>sample string 5</d2p1:PhoneSub>
      <d2p1:PhuongXaCode>sample string 10</d2p1:PhuongXaCode>
      <d2p1:QuanHuyenCode>sample string 8</d2p1:QuanHuyenCode>
      <d2p1:TinhThanhCode>sample string 7</d2p1:TinhThanhCode>
      <d2p1:Type>15</d2p1:Type>
    </d2p1:CustomerDto>
  </Items>
  <PayingAmount>3</PayingAmount>
  <TotalDebt>6</TotalDebt>
  <TotalIncome>4</TotalIncome>
  <TotalMoney>2</TotalMoney>
  <TotalOrderAmount>7</TotalOrderAmount>
  <TotalPaid>8</TotalPaid>
  <TotalSpend>5</TotalSpend>
</PaginatorResponseOfCustomerDtoYMZ6AJxZ>