GET api/Customer/GetCustomerTransactions_CreditDebitNotes/{lastRefreshDate}

Gets the customer Debit and Credit transactions

Request Information

URI Parameters

NameDescriptionTypeAdditional information
lastRefreshDate

Optional: last date that the data set was refreshed (null if date not required)

date

Required

Body Parameters

None.

Response Information

Resource Description

Returns the Transaction_CreditDebitNotes object

CustomerTransactionsDCViewModel
NameDescriptionTypeAdditional information
transactions_CreditDebitNotes

Collection of Transaction_CreditDebitNotes

None.

apiResponse

APIResponseMessage

None.

Response Formats

application/json, text/json

Sample:
{
  "transactions_CreditDebitNotes": [
    {
      "Description": "sample string 1",
      "Date": "2024-03-05T09:54:22.4663363+00:00",
      "Amount": 2.0,
      "DebitCredit": "sample string 3"
    },
    {
      "Description": "sample string 1",
      "Date": "2024-03-05T09:54:22.4663363+00:00",
      "Amount": 2.0,
      "DebitCredit": "sample string 3"
    }
  ],
  "apiResponse": {
    "HttpStatusCode": "sample string 1",
    "ReasonPhrase": "sample string 2",
    "ExceptionMessage": "sample string 3",
    "GeneralMessage": "sample string 4"
  }
}

application/xml, text/xml

Sample:
<CustomerTransactionsDCViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models.Customer">
  <apiResponse xmlns:d2p1="http://schemas.datacontract.org/2004/07/API.Core.Models">
    <d2p1:ExceptionMessage>sample string 3</d2p1:ExceptionMessage>
    <d2p1:GeneralMessage>sample string 4</d2p1:GeneralMessage>
    <d2p1:HttpStatusCode>sample string 1</d2p1:HttpStatusCode>
    <d2p1:ReasonPhrase>sample string 2</d2p1:ReasonPhrase>
  </apiResponse>
  <transactions_CreditDebitNotes xmlns:d2p1="http://schemas.datacontract.org/2004/07/API.Core.Models.Customer">
    <d2p1:Transaction_CreditDebitNotes>
      <d2p1:Amount>2</d2p1:Amount>
      <d2p1:Date>2024-03-05T09:54:22.4663363+00:00</d2p1:Date>
      <d2p1:DebitCredit>sample string 3</d2p1:DebitCredit>
      <d2p1:Description>sample string 1</d2p1:Description>
    </d2p1:Transaction_CreditDebitNotes>
    <d2p1:Transaction_CreditDebitNotes>
      <d2p1:Amount>2</d2p1:Amount>
      <d2p1:Date>2024-03-05T09:54:22.4663363+00:00</d2p1:Date>
      <d2p1:DebitCredit>sample string 3</d2p1:DebitCredit>
      <d2p1:Description>sample string 1</d2p1:Description>
    </d2p1:Transaction_CreditDebitNotes>
  </transactions_CreditDebitNotes>
</CustomerTransactionsDCViewModel>