POST api/{database}/Payable

No Documentation Found.



Request Information

Parameters

NameDescriptionAdditional information
value No Documentation Found.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "messages": [],
  "amount": 1.0,
  "bankAccountNumber": "sample string 2",
  "bankId": "sample string 3",
  "batchId": 4,
  "batchSubNumber": 5,
  "bic": "sample string 6",
  "canChange": true,
  "cannotChangeReason": "sample string 8",
  "invoiceId": "sample string 9",
  "paymentDate": "sample string 10",
  "reference": "sample string 11",
  "shouldWriteOff": true,
  "state": 0,
  "supplierId": "sample string 13"
}

application/xml, text/xml

Sample:
<Payable xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Purchase.Edit">
  <Amount>1</Amount>
  <BankAccountNumber>sample string 2</BankAccountNumber>
  <BankId>sample string 3</BankId>
  <BatchId>4</BatchId>
  <BatchSubNumber>5</BatchSubNumber>
  <Bic>sample string 6</Bic>
  <CanChange>true</CanChange>
  <CannotChangeReason>sample string 8</CannotChangeReason>
  <InvoiceId>sample string 9</InvoiceId>
  <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
  <PaymentDate>sample string 10</PaymentDate>
  <Reference>sample string 11</Reference>
  <ShouldWriteOff>true</ShouldWriteOff>
  <State>None</State>
  <SupplierId>sample string 13</SupplierId>
</Payable>

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 'PayableProxy'.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "messages": [],
  "amount": 1.0,
  "bankAccountNumber": "sample string 2",
  "bankId": "sample string 3",
  "batchId": 4,
  "batchSubNumber": 5,
  "bic": "sample string 6",
  "canChange": true,
  "cannotChangeReason": "sample string 8",
  "invoiceId": "sample string 9",
  "paymentDate": "sample string 10",
  "reference": "sample string 11",
  "shouldWriteOff": true,
  "state": 0,
  "supplierId": "sample string 13"
}

application/xml, text/xml

Sample:
<Payable xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Purchase.Edit">
  <Amount>1</Amount>
  <BankAccountNumber>sample string 2</BankAccountNumber>
  <BankId>sample string 3</BankId>
  <BatchId>4</BatchId>
  <BatchSubNumber>5</BatchSubNumber>
  <Bic>sample string 6</Bic>
  <CanChange>true</CanChange>
  <CannotChangeReason>sample string 8</CannotChangeReason>
  <InvoiceId>sample string 9</InvoiceId>
  <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
  <PaymentDate>sample string 10</PaymentDate>
  <Reference>sample string 11</Reference>
  <ShouldWriteOff>true</ShouldWriteOff>
  <State>None</State>
  <SupplierId>sample string 13</SupplierId>
</Payable>