GET v1/invoices/{parentId}/creditAllocations

Documentation for 'GetByParentId'.

Request Information

Parameters

NameDescriptionAdditional information
parentId
Documentation for 'parentId'.

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
Click to beautify!
[
  {
    "creditId": 1,
    "invoiceId": 2,
    "amount": 3.0,
    "reference": "sample string 4",
    "creditType": "sample string 5",
    "createdDate": "2024-05-03T04:46:03.7549659+00:00"
  },
  {
    "creditId": 1,
    "invoiceId": 2,
    "amount": 3.0,
    "reference": "sample string 4",
    "creditType": "sample string 5",
    "createdDate": "2024-05-03T04:46:03.7549659+00:00"
  },
  {
    "creditId": 1,
    "invoiceId": 2,
    "amount": 3.0,
    "reference": "sample string 4",
    "creditType": "sample string 5",
    "createdDate": "2024-05-03T04:46:03.7549659+00:00"
  }
]

application/xml, text/xml

Sample:
Click to beautify!
<ArrayOfCreditAllocation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.Dto.Get">
  <CreditAllocation>
    <Amount>3</Amount>
    <CreatedDate>2024-05-03T04:46:03.7549659+00:00</CreatedDate>
    <CreditId>1</CreditId>
    <CreditType>sample string 5</CreditType>
    <InvoiceId>2</InvoiceId>
    <Reference>sample string 4</Reference>
  </CreditAllocation>
  <CreditAllocation>
    <Amount>3</Amount>
    <CreatedDate>2024-05-03T04:46:03.7549659+00:00</CreatedDate>
    <CreditId>1</CreditId>
    <CreditType>sample string 5</CreditType>
    <InvoiceId>2</InvoiceId>
    <Reference>sample string 4</Reference>
  </CreditAllocation>
  <CreditAllocation>
    <Amount>3</Amount>
    <CreatedDate>2024-05-03T04:46:03.7549659+00:00</CreatedDate>
    <CreditId>1</CreditId>
    <CreditType>sample string 5</CreditType>
    <InvoiceId>2</InvoiceId>
    <Reference>sample string 4</Reference>
  </CreditAllocation>
</ArrayOfCreditAllocation>