PUT api/{database}/SupplierInvoiceHeaderDetails/{invoiceId}

No Documentation Found.



Request Information

Parameters

NameDescriptionAdditional information
invoiceId No Documentation Found.

Define this parameter in the request URI.

value No Documentation Found.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "messages": [],
  "canChange": true,
  "cannotChangeReason": "sample string 2",
  "contactPerson": "sample string 3",
  "currencyId": "sample string 4",
  "invoiceAmount": 5.0,
  "invoiceDate": "sample string 6",
  "invoiceExpirationDate": "sample string 7",
  "invoiceId": "sample string 8",
  "paymentConditionId": "sample string 9",
  "paymentReference": "sample string 10",
  "processedBy": "sample string 11",
  "rebateAmount": 12.0,
  "rebateExpirationDate": "sample string 13",
  "rebatePercentage": 14.0,
  "reference": "sample string 15",
  "supplierId": "sample string 16"
}

application/xml, text/xml

Sample:
<SupplierInvoiceHeaderDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Financial.Edit">
  <CanChange>true</CanChange>
  <CannotChangeReason>sample string 2</CannotChangeReason>
  <ContactPerson>sample string 3</ContactPerson>
  <CurrencyId>sample string 4</CurrencyId>
  <InvoiceAmount>5</InvoiceAmount>
  <InvoiceDate>sample string 6</InvoiceDate>
  <InvoiceExpirationDate>sample string 7</InvoiceExpirationDate>
  <InvoiceId>sample string 8</InvoiceId>
  <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
  <PaymentConditionId>sample string 9</PaymentConditionId>
  <PaymentReference>sample string 10</PaymentReference>
  <ProcessedBy>sample string 11</ProcessedBy>
  <RebateAmount>12</RebateAmount>
  <RebateExpirationDate>sample string 13</RebateExpirationDate>
  <RebatePercentage>14</RebatePercentage>
  <Reference>sample string 15</Reference>
  <SupplierId>sample string 16</SupplierId>
</SupplierInvoiceHeaderDetails>

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

Response Information

Response body formats

application/json, text/json

Sample:
{
  "messages": [],
  "canChange": true,
  "cannotChangeReason": "sample string 2",
  "contactPerson": "sample string 3",
  "currencyId": "sample string 4",
  "invoiceAmount": 5.0,
  "invoiceDate": "sample string 6",
  "invoiceExpirationDate": "sample string 7",
  "invoiceId": "sample string 8",
  "paymentConditionId": "sample string 9",
  "paymentReference": "sample string 10",
  "processedBy": "sample string 11",
  "rebateAmount": 12.0,
  "rebateExpirationDate": "sample string 13",
  "rebatePercentage": 14.0,
  "reference": "sample string 15",
  "supplierId": "sample string 16"
}

application/xml, text/xml

Sample:
<SupplierInvoiceHeaderDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Financial.Edit">
  <CanChange>true</CanChange>
  <CannotChangeReason>sample string 2</CannotChangeReason>
  <ContactPerson>sample string 3</ContactPerson>
  <CurrencyId>sample string 4</CurrencyId>
  <InvoiceAmount>5</InvoiceAmount>
  <InvoiceDate>sample string 6</InvoiceDate>
  <InvoiceExpirationDate>sample string 7</InvoiceExpirationDate>
  <InvoiceId>sample string 8</InvoiceId>
  <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
  <PaymentConditionId>sample string 9</PaymentConditionId>
  <PaymentReference>sample string 10</PaymentReference>
  <ProcessedBy>sample string 11</ProcessedBy>
  <RebateAmount>12</RebateAmount>
  <RebateExpirationDate>sample string 13</RebateExpirationDate>
  <RebatePercentage>14</RebatePercentage>
  <Reference>sample string 15</Reference>
  <SupplierId>sample string 16</SupplierId>
</SupplierInvoiceHeaderDetails>