GET v1/invoices/{parentId}/paymentAllocations

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!
[
  {
    "paymentId": 1,
    "invoiceId": 2,
    "amount": 3.0,
    "effectiveTimestamp": "2024-05-03T07:59:12.2218571+00:00",
    "paymentMethod": "sample string 5",
    "paymentReference": "sample string 6",
    "paymentActivityId": 7,
    "parentCustomerId": 1,
    "surchargingFee": 8.0
  },
  {
    "paymentId": 1,
    "invoiceId": 2,
    "amount": 3.0,
    "effectiveTimestamp": "2024-05-03T07:59:12.2218571+00:00",
    "paymentMethod": "sample string 5",
    "paymentReference": "sample string 6",
    "paymentActivityId": 7,
    "parentCustomerId": 1,
    "surchargingFee": 8.0
  },
  {
    "paymentId": 1,
    "invoiceId": 2,
    "amount": 3.0,
    "effectiveTimestamp": "2024-05-03T07:59:12.2218571+00:00",
    "paymentMethod": "sample string 5",
    "paymentReference": "sample string 6",
    "paymentActivityId": 7,
    "parentCustomerId": 1,
    "surchargingFee": 8.0
  }
]

application/xml, text/xml

Sample:
Click to beautify!
<ArrayOfPaymentAllocation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.Dto.Get">
  <PaymentAllocation>
    <Amount>3</Amount>
    <EffectiveTimestamp>2024-05-03T07:59:12.2218571+00:00</EffectiveTimestamp>
    <InvoiceId>2</InvoiceId>
    <ParentCustomerId>1</ParentCustomerId>
    <PaymentActivityId>7</PaymentActivityId>
    <PaymentId>1</PaymentId>
    <PaymentMethod>sample string 5</PaymentMethod>
    <PaymentReference>sample string 6</PaymentReference>
    <SurchargingFee>8</SurchargingFee>
  </PaymentAllocation>
  <PaymentAllocation>
    <Amount>3</Amount>
    <EffectiveTimestamp>2024-05-03T07:59:12.2218571+00:00</EffectiveTimestamp>
    <InvoiceId>2</InvoiceId>
    <ParentCustomerId>1</ParentCustomerId>
    <PaymentActivityId>7</PaymentActivityId>
    <PaymentId>1</PaymentId>
    <PaymentMethod>sample string 5</PaymentMethod>
    <PaymentReference>sample string 6</PaymentReference>
    <SurchargingFee>8</SurchargingFee>
  </PaymentAllocation>
  <PaymentAllocation>
    <Amount>3</Amount>
    <EffectiveTimestamp>2024-05-03T07:59:12.2218571+00:00</EffectiveTimestamp>
    <InvoiceId>2</InvoiceId>
    <ParentCustomerId>1</ParentCustomerId>
    <PaymentActivityId>7</PaymentActivityId>
    <PaymentId>1</PaymentId>
    <PaymentMethod>sample string 5</PaymentMethod>
    <PaymentReference>sample string 6</PaymentReference>
    <SurchargingFee>8</SurchargingFee>
  </PaymentAllocation>
</ArrayOfPaymentAllocation>