PUT api/{database}/Order/{orderId}

No Documentation Found.



Request Information

Parameters

NameDescriptionAdditional information
orderId 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:
{
  "accountManager": "sample string 1",
  "accountManagerId": "sample string 2",
  "messages": [],
  "applyOrderSurcharge": true,
  "approved": true,
  "approvedBy": "sample string 5",
  "autoSetDefaultChargeVatType": true,
  "autoUnmatchToPurchase": true,
  "blocked": true,
  "canChange": true,
  "cannotChangeReason": "sample string 10",
  "chargeVatType": 0,
  "collectiveInvoiceSystemId": "sample string 11",
  "contactPerson": "sample string 12",
  "contactPersonId": "sample string 13",
  "costCentreId": "sample string 14",
  "costUnitId": "sample string 15",
  "creditSqueezePerc": 16.0,
  "currencyId": "sample string 17",
  "customerCountryId": "sample string 18",
  "customerId": "sample string 19",
  "deliveryAddress": "sample string 20",
  "deliveryConditionId": "sample string 21",
  "discountPercentage": 22.0,
  "invoiceAddress": "sample string 23",
  "kvcPaymentCondition": true,
  "mainOrderId": "sample string 25",
  "mandateId": "sample string 26",
  "matchedToPurchase": true,
  "orderDate": "sample string 28",
  "orderId": "sample string 29",
  "orderLines": null,
  "orderState": 0,
  "orderSurcharge": 30.0,
  "orderSurchargeVatCodeId": 31,
  "orderType": 0,
  "paymentConditionId": "sample string 32",
  "paymentDiscountPercentage": 33.0,
  "processedBy": "sample string 34",
  "processedById": "sample string 35",
  "projectId": "sample string 36",
  "reference": "sample string 37",
  "totalCreditSqueezeAmount": 38.0,
  "totalDiscountAmount": 39.0,
  "totalGoodsAmount": 40.0,
  "totalOrderAmount": 41.0,
  "totalVatAmount": 42.0,
  "vatScenarioId": 43
}

application/xml, text/xml

Sample:
<Order xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Sales.Edit">
  <AccountManager>sample string 1</AccountManager>
  <AccountManagerId>sample string 2</AccountManagerId>
  <ApplyOrderSurcharge>true</ApplyOrderSurcharge>
  <Approved>true</Approved>
  <ApprovedBy>sample string 5</ApprovedBy>
  <AutoSetDefaultChargeVatType>true</AutoSetDefaultChargeVatType>
  <AutoUnmatchToPurchase>true</AutoUnmatchToPurchase>
  <Blocked>true</Blocked>
  <CanChange>true</CanChange>
  <CannotChangeReason>sample string 10</CannotChangeReason>
  <ChargeVatType>Exclusive</ChargeVatType>
  <CollectiveInvoiceSystemId>sample string 11</CollectiveInvoiceSystemId>
  <ContactPerson>sample string 12</ContactPerson>
  <ContactPersonId>sample string 13</ContactPersonId>
  <CostCentreId>sample string 14</CostCentreId>
  <CostUnitId>sample string 15</CostUnitId>
  <CreditSqueezePerc>16</CreditSqueezePerc>
  <CurrencyId>sample string 17</CurrencyId>
  <CustomerCountryId>sample string 18</CustomerCountryId>
  <CustomerId>sample string 19</CustomerId>
  <DeliveryAddress>sample string 20</DeliveryAddress>
  <DeliveryConditionId>sample string 21</DeliveryConditionId>
  <DiscountPercentage>22</DiscountPercentage>
  <InvoiceAddress>sample string 23</InvoiceAddress>
  <KVCPaymentCondition>true</KVCPaymentCondition>
  <MainOrderId>sample string 25</MainOrderId>
  <MandateId>sample string 26</MandateId>
  <MatchedToPurchase>true</MatchedToPurchase>
  <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
  <OrderDate>sample string 28</OrderDate>
  <OrderId>sample string 29</OrderId>
  <OrderLines xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Sales.Lists" i:nil="true" />
  <OrderState>Unknown</OrderState>
  <OrderSurcharge>30</OrderSurcharge>
  <OrderSurchargeVatCodeId>31</OrderSurchargeVatCodeId>
  <OrderType>InvoiceOrder</OrderType>
  <PaymentConditionId>sample string 32</PaymentConditionId>
  <PaymentDiscountPercentage>33</PaymentDiscountPercentage>
  <ProcessedBy>sample string 34</ProcessedBy>
  <ProcessedById>sample string 35</ProcessedById>
  <ProjectId>sample string 36</ProjectId>
  <Reference>sample string 37</Reference>
  <TotalCreditSqueezeAmount>38</TotalCreditSqueezeAmount>
  <TotalDiscountAmount>39</TotalDiscountAmount>
  <TotalGoodsAmount>40</TotalGoodsAmount>
  <TotalOrderAmount>41</TotalOrderAmount>
  <TotalVatAmount>42</TotalVatAmount>
  <VatScenarioId>43</VatScenarioId>
</Order>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "accountManager": "sample string 1",
  "accountManagerId": "sample string 2",
  "messages": [],
  "applyOrderSurcharge": true,
  "approved": true,
  "approvedBy": "sample string 5",
  "autoSetDefaultChargeVatType": true,
  "autoUnmatchToPurchase": true,
  "blocked": true,
  "canChange": true,
  "cannotChangeReason": "sample string 10",
  "chargeVatType": 0,
  "collectiveInvoiceSystemId": "sample string 11",
  "contactPerson": "sample string 12",
  "contactPersonId": "sample string 13",
  "costCentreId": "sample string 14",
  "costUnitId": "sample string 15",
  "creditSqueezePerc": 16.0,
  "currencyId": "sample string 17",
  "customerCountryId": "sample string 18",
  "customerId": "sample string 19",
  "deliveryAddress": "sample string 20",
  "deliveryConditionId": "sample string 21",
  "discountPercentage": 22.0,
  "invoiceAddress": "sample string 23",
  "kvcPaymentCondition": true,
  "mainOrderId": "sample string 25",
  "mandateId": "sample string 26",
  "matchedToPurchase": true,
  "orderDate": "sample string 28",
  "orderId": "sample string 29",
  "orderLines": null,
  "orderState": 0,
  "orderSurcharge": 30.0,
  "orderSurchargeVatCodeId": 31,
  "orderType": 0,
  "paymentConditionId": "sample string 32",
  "paymentDiscountPercentage": 33.0,
  "processedBy": "sample string 34",
  "processedById": "sample string 35",
  "projectId": "sample string 36",
  "reference": "sample string 37",
  "totalCreditSqueezeAmount": 38.0,
  "totalDiscountAmount": 39.0,
  "totalGoodsAmount": 40.0,
  "totalOrderAmount": 41.0,
  "totalVatAmount": 42.0,
  "vatScenarioId": 43
}

application/xml, text/xml

Sample:
<Order xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Sales.Edit">
  <AccountManager>sample string 1</AccountManager>
  <AccountManagerId>sample string 2</AccountManagerId>
  <ApplyOrderSurcharge>true</ApplyOrderSurcharge>
  <Approved>true</Approved>
  <ApprovedBy>sample string 5</ApprovedBy>
  <AutoSetDefaultChargeVatType>true</AutoSetDefaultChargeVatType>
  <AutoUnmatchToPurchase>true</AutoUnmatchToPurchase>
  <Blocked>true</Blocked>
  <CanChange>true</CanChange>
  <CannotChangeReason>sample string 10</CannotChangeReason>
  <ChargeVatType>Exclusive</ChargeVatType>
  <CollectiveInvoiceSystemId>sample string 11</CollectiveInvoiceSystemId>
  <ContactPerson>sample string 12</ContactPerson>
  <ContactPersonId>sample string 13</ContactPersonId>
  <CostCentreId>sample string 14</CostCentreId>
  <CostUnitId>sample string 15</CostUnitId>
  <CreditSqueezePerc>16</CreditSqueezePerc>
  <CurrencyId>sample string 17</CurrencyId>
  <CustomerCountryId>sample string 18</CustomerCountryId>
  <CustomerId>sample string 19</CustomerId>
  <DeliveryAddress>sample string 20</DeliveryAddress>
  <DeliveryConditionId>sample string 21</DeliveryConditionId>
  <DiscountPercentage>22</DiscountPercentage>
  <InvoiceAddress>sample string 23</InvoiceAddress>
  <KVCPaymentCondition>true</KVCPaymentCondition>
  <MainOrderId>sample string 25</MainOrderId>
  <MandateId>sample string 26</MandateId>
  <MatchedToPurchase>true</MatchedToPurchase>
  <Messages xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.Web.WebApi.Core.Models" />
  <OrderDate>sample string 28</OrderDate>
  <OrderId>sample string 29</OrderId>
  <OrderLines xmlns:d2p1="http://schemas.datacontract.org/2004/07/UNIT4.Multivers.API.BL.Sales.Lists" i:nil="true" />
  <OrderState>Unknown</OrderState>
  <OrderSurcharge>30</OrderSurcharge>
  <OrderSurchargeVatCodeId>31</OrderSurchargeVatCodeId>
  <OrderType>InvoiceOrder</OrderType>
  <PaymentConditionId>sample string 32</PaymentConditionId>
  <PaymentDiscountPercentage>33</PaymentDiscountPercentage>
  <ProcessedBy>sample string 34</ProcessedBy>
  <ProcessedById>sample string 35</ProcessedById>
  <ProjectId>sample string 36</ProjectId>
  <Reference>sample string 37</Reference>
  <TotalCreditSqueezeAmount>38</TotalCreditSqueezeAmount>
  <TotalDiscountAmount>39</TotalDiscountAmount>
  <TotalGoodsAmount>40</TotalGoodsAmount>
  <TotalOrderAmount>41</TotalOrderAmount>
  <TotalVatAmount>42</TotalVatAmount>
  <VatScenarioId>43</VatScenarioId>
</Order>