POST api/ReceiptBook/ListReceiptBookItemPagination

Request Information

URI Parameters

None.

Body Parameters

ListReceiptBookItemRequest
NameDescriptionTypeAdditional information
PageSize

integer

None.

PageIndex

integer

None.

From

date

None.

To

date

None.

Request Formats

application/json, text/json

Sample:
{
  "PageSize": 1,
  "PageIndex": 1,
  "From": "2026-04-14T21:52:14.6482866+07:00",
  "To": "2026-04-14T21:52:14.6482866+07:00"
}

application/xml, text/xml

Sample:
<ListReceiptBookItemRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.Model.Request.ReceiptBook">
  <From>2026-04-14T21:52:14.6482866+07:00</From>
  <PageIndex>1</PageIndex>
  <PageSize>1</PageSize>
  <To>2026-04-14T21:52:14.6482866+07:00</To>
</ListReceiptBookItemRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ListReceiptBookItemRequest'.

Response Information

Resource Description

PaginatorResponseOfListReceiptBookItemResponse
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.

NhapHang_SoTienDaDua

decimal number

None.

NhapHang_SoLuongSanPham

decimal number

None.

NhapHang_TongTienSanPham

decimal number

None.

NhapHang_HoanTien

decimal number

None.

NhapHang_GhiChuTien

decimal number

None.

Items

Collection of ListReceiptBookItemResponse

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,
  "NhapHang_SoTienDaDua": 9.0,
  "NhapHang_SoLuongSanPham": 10.0,
  "NhapHang_TongTienSanPham": 11.0,
  "NhapHang_HoanTien": 12.0,
  "NhapHang_GhiChuTien": 13.0,
  "Items": [
    {
      "ReceiptBookCategoryName": "sample string 1",
      "ReceiptBookCategoryId": "666ce451-3cb0-481d-ba5d-1a075f190a62",
      "Note": "sample string 3",
      "Money": 4.0,
      "Id": "765188fd-ae1c-4b52-96e1-d60152a6aa33",
      "Date": "2026-04-14T21:52:14.6629376+07:00",
      "Icon": "sample string 7",
      "Color": "sample string 8"
    },
    {
      "ReceiptBookCategoryName": "sample string 1",
      "ReceiptBookCategoryId": "666ce451-3cb0-481d-ba5d-1a075f190a62",
      "Note": "sample string 3",
      "Money": 4.0,
      "Id": "765188fd-ae1c-4b52-96e1-d60152a6aa33",
      "Date": "2026-04-14T21:52:14.6629376+07:00",
      "Icon": "sample string 7",
      "Color": "sample string 8"
    }
  ]
}

application/xml, text/xml

Sample:
<PaginatorResponseOfListReceiptBookItemResponse4q5w2jkR 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.ReceiptBook">
    <d2p1:ListReceiptBookItemResponse>
      <d2p1:Color>sample string 8</d2p1:Color>
      <d2p1:Date>2026-04-14T21:52:14.6629376+07:00</d2p1:Date>
      <d2p1:Icon>sample string 7</d2p1:Icon>
      <d2p1:Id>765188fd-ae1c-4b52-96e1-d60152a6aa33</d2p1:Id>
      <d2p1:Money>4</d2p1:Money>
      <d2p1:Note>sample string 3</d2p1:Note>
      <d2p1:ReceiptBookCategoryId>666ce451-3cb0-481d-ba5d-1a075f190a62</d2p1:ReceiptBookCategoryId>
      <d2p1:ReceiptBookCategoryName>sample string 1</d2p1:ReceiptBookCategoryName>
    </d2p1:ListReceiptBookItemResponse>
    <d2p1:ListReceiptBookItemResponse>
      <d2p1:Color>sample string 8</d2p1:Color>
      <d2p1:Date>2026-04-14T21:52:14.6629376+07:00</d2p1:Date>
      <d2p1:Icon>sample string 7</d2p1:Icon>
      <d2p1:Id>765188fd-ae1c-4b52-96e1-d60152a6aa33</d2p1:Id>
      <d2p1:Money>4</d2p1:Money>
      <d2p1:Note>sample string 3</d2p1:Note>
      <d2p1:ReceiptBookCategoryId>666ce451-3cb0-481d-ba5d-1a075f190a62</d2p1:ReceiptBookCategoryId>
      <d2p1:ReceiptBookCategoryName>sample string 1</d2p1:ReceiptBookCategoryName>
    </d2p1:ListReceiptBookItemResponse>
  </Items>
  <NhapHang_GhiChuTien>13</NhapHang_GhiChuTien>
  <NhapHang_HoanTien>12</NhapHang_HoanTien>
  <NhapHang_SoLuongSanPham>10</NhapHang_SoLuongSanPham>
  <NhapHang_SoTienDaDua>9</NhapHang_SoTienDaDua>
  <NhapHang_TongTienSanPham>11</NhapHang_TongTienSanPham>
  <PayingAmount>3</PayingAmount>
  <TotalDebt>6</TotalDebt>
  <TotalIncome>4</TotalIncome>
  <TotalMoney>2</TotalMoney>
  <TotalOrderAmount>7</TotalOrderAmount>
  <TotalPaid>8</TotalPaid>
  <TotalSpend>5</TotalSpend>
</PaginatorResponseOfListReceiptBookItemResponse4q5w2jkR>