POST api/Customers/SearchInvoicePayments

Retrieve customer payments for invoices

Request Information

URI Parameters

None.

Body Parameters

EskimoClassLibraries.clsInvoicePaymentSearchArgs
NameDescriptionTypeAdditional information
CustomerID

string

None.

DateFrom

date

None.

DateTo

date

None.

InvoiceID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerID": "sample string 1",
  "DateFrom": "2024-05-03T12:28:46.1637263+01:00",
  "DateTo": "2024-05-03T12:28:46.1637263+01:00",
  "InvoiceID": 1
}

application/xml, text/xml

Sample:
<clsInvoicePaymentSearchArgs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EskimoClassLibraries">
  <CustomerID>sample string 1</CustomerID>
  <DateFrom>2024-05-03T12:28:46.1637263+01:00</DateFrom>
  <DateTo>2024-05-03T12:28:46.1637263+01:00</DateTo>
  <InvoiceID>1</InvoiceID>
</clsInvoicePaymentSearchArgs>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of EskimoClassLibraries.clsInvoicePayment
NameDescriptionTypeAdditional information
ID

integer

None.

CustomerID

string

None.

InvoiceID

integer

None.

InvoiceDate

date

None.

PaymentDate

date

None.

ValuePaid

decimal number

None.

TenderID

integer

None.

StoreID

string

None.

TillNumber

integer

None.

ReceiptNumber

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ID": 1,
    "CustomerID": "sample string 2",
    "InvoiceID": 3,
    "InvoiceDate": "2024-05-03T12:28:46.1637263+01:00",
    "PaymentDate": "2024-05-03T12:28:46.1637263+01:00",
    "ValuePaid": 6.0,
    "TenderID": 7,
    "StoreID": "sample string 8",
    "TillNumber": 9,
    "ReceiptNumber": 10
  },
  {
    "ID": 1,
    "CustomerID": "sample string 2",
    "InvoiceID": 3,
    "InvoiceDate": "2024-05-03T12:28:46.1637263+01:00",
    "PaymentDate": "2024-05-03T12:28:46.1637263+01:00",
    "ValuePaid": 6.0,
    "TenderID": 7,
    "StoreID": "sample string 8",
    "TillNumber": 9,
    "ReceiptNumber": 10
  }
]

application/xml, text/xml

Sample:
<ArrayOfclsInvoicePayment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EskimoClassLibraries">
  <clsInvoicePayment>
    <CustomerID>sample string 2</CustomerID>
    <ID>1</ID>
    <InvoiceDate>2024-05-03T12:28:46.1637263+01:00</InvoiceDate>
    <InvoiceID>3</InvoiceID>
    <PaymentDate>2024-05-03T12:28:46.1637263+01:00</PaymentDate>
    <ReceiptNumber>10</ReceiptNumber>
    <StoreID>sample string 8</StoreID>
    <TenderID>7</TenderID>
    <TillNumber>9</TillNumber>
    <ValuePaid>6</ValuePaid>
  </clsInvoicePayment>
  <clsInvoicePayment>
    <CustomerID>sample string 2</CustomerID>
    <ID>1</ID>
    <InvoiceDate>2024-05-03T12:28:46.1637263+01:00</InvoiceDate>
    <InvoiceID>3</InvoiceID>
    <PaymentDate>2024-05-03T12:28:46.1637263+01:00</PaymentDate>
    <ReceiptNumber>10</ReceiptNumber>
    <StoreID>sample string 8</StoreID>
    <TenderID>7</TenderID>
    <TillNumber>9</TillNumber>
    <ValuePaid>6</ValuePaid>
  </clsInvoicePayment>
</ArrayOfclsInvoicePayment>