POST v1/DraftPaymentSchedules

Documentation for 'Post'.

Request Information

Parameters

NameDescriptionAdditional information
postDraftPaymentSchedules
Documentation for 'postDraftPaymentSchedules'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
Click to beautify!
[
  {
    "invoiceId": 1,
    "amount": 2.0,
    "daysDueAfterTerm": 3,
    "scheduledDueDate": "2024-05-03T12:26:56.8512441+00:00"
  },
  {
    "invoiceId": 1,
    "amount": 2.0,
    "daysDueAfterTerm": 3,
    "scheduledDueDate": "2024-05-03T12:26:56.8512441+00:00"
  },
  {
    "invoiceId": 1,
    "amount": 2.0,
    "daysDueAfterTerm": 3,
    "scheduledDueDate": "2024-05-03T12:26:56.8512441+00:00"
  }
]

application/xml, text/xml

Sample:
Click to beautify!
<ArrayOfDraftPaymentSchedule xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.Dto.Post">
  <DraftPaymentSchedule>
    <Amount>2</Amount>
    <DaysDueAfterTerm>3</DaysDueAfterTerm>
    <InvoiceId>1</InvoiceId>
    <ScheduledDueDate>2024-05-03T12:26:56.8512441+00:00</ScheduledDueDate>
  </DraftPaymentSchedule>
  <DraftPaymentSchedule>
    <Amount>2</Amount>
    <DaysDueAfterTerm>3</DaysDueAfterTerm>
    <InvoiceId>1</InvoiceId>
    <ScheduledDueDate>2024-05-03T12:26:56.8512441+00:00</ScheduledDueDate>
  </DraftPaymentSchedule>
  <DraftPaymentSchedule>
    <Amount>2</Amount>
    <DaysDueAfterTerm>3</DaysDueAfterTerm>
    <InvoiceId>1</InvoiceId>
    <ScheduledDueDate>2024-05-03T12:26:56.8512441+00:00</ScheduledDueDate>
  </DraftPaymentSchedule>
</ArrayOfDraftPaymentSchedule>

application/x-www-form-urlencoded

Sample:
Click to beautify!

Sample not available.