PUT api/OrderLine?orderNo={orderNo}&lineNo={lineNo}
Endpoint to update a given orderline on a given order
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| orderNo | integer |
Required |
|
| lineNo | integer |
Required |
Body Parameters
PutSaleOrderLineDto| Name | Description | Type | Additional information |
|---|---|---|---|
| DiscountPercent1 | decimal number |
None. |
|
| DiscountPercent2 | decimal number |
None. |
|
| WarehouseNo | integer |
None. |
|
| ProcessingMethod1 | integer |
None. |
|
| DesiredProductionStartDate | date |
None. |
|
| TransactionDate | date |
None. |
|
| FinishDate | date |
None. |
|
| CostPriceInCurrency | decimal number |
None. |
|
| OrderNo | integer |
None. |
|
| SellerOrBuyer | integer |
None. |
|
| LineNo | integer |
None. |
|
| ProductNo | string |
None. |
|
| Description | string |
None. |
|
| Quantity | decimal number |
None. |
|
| RequiredDeliveryDate | date |
None. |
|
| TransactionInformation1 | string |
None. |
|
| OrgUnit2No | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"DiscountPercent1": 1.0,
"DiscountPercent2": 2.0,
"WarehouseNo": 3,
"ProcessingMethod1": 4,
"DesiredProductionStartDate": "2025-12-13 07:58",
"TransactionDate": "2025-12-13 07:58",
"FinishDate": "2025-12-13 07:58",
"CostPriceInCurrency": 8.0,
"OrderNo": 9,
"SellerOrBuyer": 10,
"LineNo": 11,
"ProductNo": "sample string 12",
"Description": "sample string 13",
"Quantity": 14.0,
"RequiredDeliveryDate": "2025-12-13 07:58",
"TransactionInformation1": "sample string 16",
"OrgUnit2No": 17
}
application/xml, text/xml
Sample:
<PutSaleOrderLineDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VBABPILIB.Dto.Put"> <CostPriceInCurrency>8</CostPriceInCurrency> <Description>sample string 13</Description> <DesiredProductionStartDate>2025-12-13T07:58:26.3057064+01:00</DesiredProductionStartDate> <DiscountPercent1>1</DiscountPercent1> <DiscountPercent2>2</DiscountPercent2> <FinishDate>2025-12-13T07:58:26.3057064+01:00</FinishDate> <LineNo>11</LineNo> <OrderNo>9</OrderNo> <OrgUnit2No>17</OrgUnit2No> <ProcessingMethod1>4</ProcessingMethod1> <ProductNo>sample string 12</ProductNo> <Quantity>14</Quantity> <RequiredDeliveryDate>2025-12-13T07:58:26.3057064+01:00</RequiredDeliveryDate> <SellerOrBuyer>10</SellerOrBuyer> <TransactionDate>2025-12-13T07:58:26.3057064+01:00</TransactionDate> <TransactionInformation1>sample string 16</TransactionInformation1> <WarehouseNo>3</WarehouseNo> </PutSaleOrderLineDto>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |