GET api/Cashbook/CashbookList?TransactionId={TransactionId}&CurrentPage={CurrentPage}&RowPerPage={RowPerPage}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
TransactionId

integer

Required

CurrentPage

integer

None.

RowPerPage

integer

None.

Body Parameters

None.

Response Information

Resource Description

Collection of CashbookModel
NameDescriptionTypeAdditional information
Id

integer

None.

Code

string

None.

EmployeeName

string

None.

EmployeePhone

string

None.

DateOfCollected

date

None.

PayerName

string

None.

Amount

decimal number

None.

Description

string

None.

TypeName

string

None.

EmployeeCreateName

string

None.

EmployeeCreatePhone

string

None.

EmployeeUpdateName

string

None.

EmployeeUpdatePhone

string

None.

TransactionCode

string

None.

DateOfTransaction

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "code": "sample string 2",
    "employeeName": "sample string 3",
    "employeePhone": "sample string 4",
    "dateOfCollected": "2025-12-06T12:28:49.7151629+07:00",
    "payerName": "sample string 6",
    "amount": 7.0,
    "description": "sample string 8",
    "typeName": "sample string 9",
    "employeeCreateName": "sample string 10",
    "employeeCreatePhone": "sample string 11",
    "employeeUpdateName": "sample string 12",
    "employeeUpdatePhone": "sample string 13",
    "transactionCode": "sample string 14",
    "dateOfTransaction": "2025-12-06T12:28:49.7151629+07:00"
  },
  {
    "id": 1,
    "code": "sample string 2",
    "employeeName": "sample string 3",
    "employeePhone": "sample string 4",
    "dateOfCollected": "2025-12-06T12:28:49.7151629+07:00",
    "payerName": "sample string 6",
    "amount": 7.0,
    "description": "sample string 8",
    "typeName": "sample string 9",
    "employeeCreateName": "sample string 10",
    "employeeCreatePhone": "sample string 11",
    "employeeUpdateName": "sample string 12",
    "employeeUpdatePhone": "sample string 13",
    "transactionCode": "sample string 14",
    "dateOfTransaction": "2025-12-06T12:28:49.7151629+07:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfCashbookModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgencyWebAPI.Models.Cashbook">
  <CashbookModel>
    <Amount>7</Amount>
    <Code>sample string 2</Code>
    <DateOfCollected>2025-12-06T12:28:49.7151629+07:00</DateOfCollected>
    <DateOfTransaction>2025-12-06T12:28:49.7151629+07:00</DateOfTransaction>
    <Description>sample string 8</Description>
    <EmployeeCreateName>sample string 10</EmployeeCreateName>
    <EmployeeCreatePhone>sample string 11</EmployeeCreatePhone>
    <EmployeeName>sample string 3</EmployeeName>
    <EmployeePhone>sample string 4</EmployeePhone>
    <EmployeeUpdateName>sample string 12</EmployeeUpdateName>
    <EmployeeUpdatePhone>sample string 13</EmployeeUpdatePhone>
    <Id>1</Id>
    <PayerName>sample string 6</PayerName>
    <TransactionCode>sample string 14</TransactionCode>
    <TypeName>sample string 9</TypeName>
  </CashbookModel>
  <CashbookModel>
    <Amount>7</Amount>
    <Code>sample string 2</Code>
    <DateOfCollected>2025-12-06T12:28:49.7151629+07:00</DateOfCollected>
    <DateOfTransaction>2025-12-06T12:28:49.7151629+07:00</DateOfTransaction>
    <Description>sample string 8</Description>
    <EmployeeCreateName>sample string 10</EmployeeCreateName>
    <EmployeeCreatePhone>sample string 11</EmployeeCreatePhone>
    <EmployeeName>sample string 3</EmployeeName>
    <EmployeePhone>sample string 4</EmployeePhone>
    <EmployeeUpdateName>sample string 12</EmployeeUpdateName>
    <EmployeeUpdatePhone>sample string 13</EmployeeUpdatePhone>
    <Id>1</Id>
    <PayerName>sample string 6</PayerName>
    <TransactionCode>sample string 14</TransactionCode>
    <TypeName>sample string 9</TypeName>
  </CashbookModel>
</ArrayOfCashbookModel>