POST api/debitmemo/getInvoiceLinkByBatchIds

GET api/debitmemo/getInvoiceLinkByBatchIds

Request Information

URI Parameters

None.

Body Parameters

Collection of integer

Request Formats

application/json, text/json

Sample:
[
  1,
  2
]

application/xml, text/xml

Sample:
<ArrayOfint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <int>1</int>
  <int>2</int>
</ArrayOfint>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'List`1'.

Response Information

Resource Description

Collection of DebitMemoInvoiceLinkViewModel
NameDescriptionTypeAdditional information
LinkId

Link Id

integer

None.

DebitMemoBatchId

Debit Memo Batch Id

integer

None.

InvoiceId

Invoice Id

integer

None.

AppliedAmount

Applied Amount

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "linkId": 1,
    "debitMemoBatchId": 2,
    "invoiceId": 3,
    "appliedAmount": 4.0
  },
  {
    "linkId": 1,
    "debitMemoBatchId": 2,
    "invoiceId": 3,
    "appliedAmount": 4.0
  }
]

application/xml, text/xml

Sample:
<ArrayOfDebitMemoInvoiceLinkViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels">
  <DebitMemoInvoiceLinkViewModel>
    <AppliedAmount>4</AppliedAmount>
    <DebitMemoBatchId>2</DebitMemoBatchId>
    <InvoiceId>3</InvoiceId>
    <LinkId>1</LinkId>
  </DebitMemoInvoiceLinkViewModel>
  <DebitMemoInvoiceLinkViewModel>
    <AppliedAmount>4</AppliedAmount>
    <DebitMemoBatchId>2</DebitMemoBatchId>
    <InvoiceId>3</InvoiceId>
    <LinkId>1</LinkId>
  </DebitMemoInvoiceLinkViewModel>
</ArrayOfDebitMemoInvoiceLinkViewModel>