GET api/customerunappliedcash/{id}/{option}

Returns a set of Customer Unapplied Cash records based on the option parameter. The id parameter may or may not be used. Possible values for the option parameter are: 'ByCustomerId' - all Unapplied Cash records for Customer where id = customerId, 'ByCustomerNumber' - all Unapplied Cash records for Customer where id = CustomerNumber, ...

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

option

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of CustomerUnappliedCash
NameDescriptionTypeAdditional information
UnappliedCashId

Sedona internal autonumber for the Unapplied Cash record

integer

None.

DepositCheckId

Foreign key from AR_Deposit_Check table

integer

None.

CustomerId

Foreign key from AR_Customer table

integer

None.

DepositDate

string

None.

Amount

decimal number

None.

UsedAmount

decimal number

None.

BranchCode

string

None.

UsedDate

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "UnappliedCashId": 1,
    "DepositCheckId": 2,
    "CustomerId": 3,
    "DepositDate": "sample string 4",
    "Amount": 5.0,
    "UsedAmount": 6.0,
    "BranchCode": "sample string 7",
    "UsedDate": "2024-10-17T07:55:50.0134366-05:00"
  },
  {
    "UnappliedCashId": 1,
    "DepositCheckId": 2,
    "CustomerId": 3,
    "DepositDate": "sample string 4",
    "Amount": 5.0,
    "UsedAmount": 6.0,
    "BranchCode": "sample string 7",
    "UsedDate": "2024-10-17T07:55:50.0134366-05:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfCustomerUnappliedCash xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SedonaServices.Models">
  <CustomerUnappliedCash>
    <Amount>5</Amount>
    <BranchCode>sample string 7</BranchCode>
    <CustomerId>3</CustomerId>
    <DepositCheckId>2</DepositCheckId>
    <DepositDate>sample string 4</DepositDate>
    <UnappliedCashId>1</UnappliedCashId>
    <UsedAmount>6</UsedAmount>
    <UsedDate>2024-10-17T07:55:50.0134366-05:00</UsedDate>
  </CustomerUnappliedCash>
  <CustomerUnappliedCash>
    <Amount>5</Amount>
    <BranchCode>sample string 7</BranchCode>
    <CustomerId>3</CustomerId>
    <DepositCheckId>2</DepositCheckId>
    <DepositDate>sample string 4</DepositDate>
    <UnappliedCashId>1</UnappliedCashId>
    <UsedAmount>6</UsedAmount>
    <UsedDate>2024-10-17T07:55:50.0134366-05:00</UsedDate>
  </CustomerUnappliedCash>
</ArrayOfCustomerUnappliedCash>