GET api/Cashbook/Detail?id={id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Cashbook_DetailModel
NameDescriptionTypeAdditional information
Id

integer

None.

Code

string

None.

DateOfCollected

date

None.

TransactionId

integer

None.

TransactionCode

string

None.

EmployeeId

integer

None.

CustomerId

integer

None.

PayerName

string

None.

Amount

decimal number

None.

Description

string

None.

TypeId

byte

None.

FileUrl

string

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "code": "sample string 2",
  "dateOfCollected": "2025-12-06T12:27:58.042823+07:00",
  "transactionId": 1,
  "transactionCode": "sample string 3",
  "employeeId": 1,
  "customerId": 1,
  "payerName": "sample string 4",
  "amount": 5.0,
  "description": "sample string 6",
  "typeId": 64,
  "fileUrl": "sample string 8"
}

application/xml, text/xml

Sample:
<Cashbook_DetailModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgencyWebAPI.Models.Cashbook">
  <Amount>5</Amount>
  <Code>sample string 2</Code>
  <CustomerId>1</CustomerId>
  <DateOfCollected>2025-12-06T12:27:58.042823+07:00</DateOfCollected>
  <Description>sample string 6</Description>
  <EmployeeId>1</EmployeeId>
  <FileUrl>sample string 8</FileUrl>
  <Id>1</Id>
  <PayerName>sample string 4</PayerName>
  <TransactionCode>sample string 3</TransactionCode>
  <TransactionId>1</TransactionId>
  <TypeId>64</TypeId>
</Cashbook_DetailModel>