POST api/Invoice?PartyId={PartyId}&Test={Test}&TestApi={TestApi}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
PartyId

string

Required

Test

boolean

Required

TestApi

boolean

Required

Body Parameters

Invoice
NameDescriptionTypeAdditional information
FileFormatID

integer

None.

DocumentFileData

string

None.

SenderPartyID

integer

None.

ReceiverPartyID

integer

None.

Settings

Collection of InvoiceSetting

None.

Request Formats

application/json, text/json

Sample:
{
  "FileFormatID": 1,
  "DocumentFileData": "sample string 2",
  "SenderPartyID": 3,
  "ReceiverPartyID": 4,
  "Settings": [
    {
      "Key": "sample string 1",
      "Value": "sample string 2"
    },
    {
      "Key": "sample string 1",
      "Value": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<Invoice xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Abloyd.Crediflow.Models">
  <DocumentFileData>sample string 2</DocumentFileData>
  <FileFormatID>1</FileFormatID>
  <ReceiverPartyID>4</ReceiverPartyID>
  <SenderPartyID>3</SenderPartyID>
  <Settings>
    <InvoiceSetting>
      <Key>sample string 1</Key>
      <Value>sample string 2</Value>
    </InvoiceSetting>
    <InvoiceSetting>
      <Key>sample string 1</Key>
      <Value>sample string 2</Value>
    </InvoiceSetting>
  </Settings>
</Invoice>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.