GET loans?branchId={branchId}&memberId={memberId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
branchId

globally unique identifier

Required

memberId

globally unique identifier

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Loan
NameDescriptionTypeAdditional information
salePaymentId

globally unique identifier

None.

name

string

None.

phone

string

None.

date

date

None.

price

decimal number

None.

paidPrice

decimal number

None.

note

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "salePaymentId": "93b9e0fc-e05c-4517-998f-53e4db1e89e4",
    "name": "sample string 1",
    "phone": "sample string 2",
    "date": "2026-06-02T02:12:17.9707087+08:00",
    "price": 3.1,
    "paidPrice": 4.1,
    "note": "sample string 5"
  },
  {
    "salePaymentId": "93b9e0fc-e05c-4517-998f-53e4db1e89e4",
    "name": "sample string 1",
    "phone": "sample string 2",
    "date": "2026-06-02T02:12:17.9707087+08:00",
    "price": 3.1,
    "paidPrice": 4.1,
    "note": "sample string 5"
  }
]

application/xml, text/xml

Sample:
<ArrayOfLoan xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Careby.Api.Models">
  <Loan>
    <date>2026-06-02T02:12:17.9707087+08:00</date>
    <name>sample string 1</name>
    <note>sample string 5</note>
    <paidPrice>4.1</paidPrice>
    <phone>sample string 2</phone>
    <price>3.1</price>
    <salePaymentId>93b9e0fc-e05c-4517-998f-53e4db1e89e4</salePaymentId>
  </Loan>
  <Loan>
    <date>2026-06-02T02:12:17.9707087+08:00</date>
    <name>sample string 1</name>
    <note>sample string 5</note>
    <paidPrice>4.1</paidPrice>
    <phone>sample string 2</phone>
    <price>3.1</price>
    <salePaymentId>93b9e0fc-e05c-4517-998f-53e4db1e89e4</salePaymentId>
  </Loan>
</ArrayOfLoan>