POST v1/Invoices?draftInvoiceId={draftInvoiceId}

Documentation for 'Post'.

Request Information

Parameters

NameDescriptionAdditional information
draftInvoiceId
Documentation for 'draftInvoiceId'.

Define this parameter in the request URI.

entity
Documentation for 'entity'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
Click to beautify!
{
  "draftChargeIds": [
    1,
    2,
    3
  ],
  "preview": true
}

application/xml, text/xml

Sample:
Click to beautify!
<Invoice xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.Dto.Post">
  <DraftChargeIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:long>1</d2p1:long>
    <d2p1:long>2</d2p1:long>
    <d2p1:long>3</d2p1:long>
  </DraftChargeIds>
  <Preview>true</Preview>
</Invoice>

application/x-www-form-urlencoded

Sample:
Click to beautify!

Sample not available.

Response Information

Response body formats

application/json, text/json

Sample:
Click to beautify!

Sample not available.