POST api/Order/{orderNo}/OrderLine
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| orderNo | integer |
Required |
Body Parameters
OrderLine| Name | Description | Type | Additional information |
|---|---|---|---|
| lineNo | integer |
None. |
|
| productNo | string |
None. |
|
| description | string |
None. |
|
| quantity | decimal number |
None. |
|
| price | decimal number |
None. |
|
| discountPercent | decimal number |
None. |
|
| invoicedOrRealized | decimal number |
None. |
|
| invoiceNo | string |
None. |
|
| lastChanged | date |
None. |
|
| taxCode | integer |
None. |
|
| taxAndAccountingGroup | integer |
None. |
|
| vatRate | decimal number |
None. |
|
| quoted | decimal number |
None. |
|
| deliveryDate | date |
None. |
|
| costPrice | decimal number |
None. |
|
| unit | integer |
None. |
|
| orgUnit1 | integer |
None. |
|
| orgUnit2 | integer |
None. |
|
| orgUnit3 | integer |
None. |
|
| orgUnit4 | integer |
None. |
|
| orgUnit5 | integer |
None. |
|
| orgUnit6 | integer |
None. |
|
| orgUnit7 | string |
None. |
|
| orgUnit8 | string |
None. |
|
| orgUnit9 | string |
None. |
|
| orgUnit10 | string |
None. |
|
| orgUnit11 | string |
None. |
|
| orgUnit12 | string |
None. |
|
| confirmedDeliveryDate | date |
None. |
|
| priceUnit | integer |
None. |
|
| structureLevel | integer |
None. |
|
| processingMethod1 | integer |
None. |
|
| processingMethod2 | integer |
None. |
|
| processingMethod3 | integer |
None. |
|
| processingMethod4 | integer |
None. |
|
| invoicedAmountSoFarInCurrency | decimal number |
None. |
|
| employeeNo | integer |
None. |
|
| purchaseNo | integer |
None. |
|
| transactionInformation1 | string |
None. |
|
| transactionInformation2 | string |
None. |
|
| transactionInformation3 | string |
None. |
|
| transactionInformation4 | string |
None. |
|
| transactionDate | date |
None. |
|
| timeToNext | integer |
None. |
|
| warehouseNo | integer |
None. |
|
| sortSequenceNo | integer |
None. |
|
| discountAmountInCurrency | decimal number |
None. |
|
| finished | decimal number |
None. |
|
| quantityInBasisUnit | decimal number |
None. |
|
| free4 | decimal number |
None. |
|
| free1 | decimal number |
None. |
|
| finishNow | decimal number |
None. |
|
| transferToWarehouseNo | integer |
None. |
|
| densityPerUnit | decimal number |
None. |
|
| desiredProductionStartDate | date |
None. |
|
| memoFileName | string |
None. |
|
| currencyNo | integer |
None. |
|
| quantityPerUnit | decimal number |
None. |
|
| areaPerUnit | decimal number |
None. |
|
| priceAfterDiscountInCurrency | decimal number |
None. |
|
| standardPriceInCurrency | decimal number |
None. |
|
| amountAfterDiscountInCurrency | decimal number |
None. |
|
| planType | integer |
None. |
|
| priceFactor | decimal number |
None. |
|
| useByDate | date |
None. |
|
| transactionType | integer |
None. |
|
| productPriceGroup1 | integer |
None. |
|
| periodKeyNo | integer |
None. |
|
| pictureFileName | string |
None. |
|
| accountSet | integer |
None. |
|
| externalId | integer |
None. |
|
| exchangeRate | decimal number |
None. |
|
| deliveryMethod | integer |
None. |
|
| orderType | integer |
None. |
|
| amountInCurrency | decimal number |
None. |
|
| purchased | decimal number |
None. |
Request Formats
application/json, text/json
{
"lineNo": 1,
"productNo": "sample string 1",
"description": "sample string 2",
"quantity": 1.0,
"price": 1.0,
"discountPercent": 1.0,
"invoicedOrRealized": 1.0,
"invoiceNo": "sample string 3",
"lastChanged": "2025-11-29T15:07:58.9189631+01:00",
"taxCode": 1,
"taxAndAccountingGroup": 1,
"vatRate": 1.0,
"quoted": 1.0,
"deliveryDate": "2025-11-29T15:07:58.9189631+01:00",
"costPrice": 1.0,
"unit": 1,
"orgUnit1": 1,
"orgUnit2": 1,
"orgUnit3": 1,
"orgUnit4": 1,
"orgUnit5": 1,
"orgUnit6": 1,
"orgUnit7": "sample string 4",
"orgUnit8": "sample string 5",
"orgUnit9": "sample string 6",
"orgUnit10": "sample string 7",
"orgUnit11": "sample string 8",
"orgUnit12": "sample string 9",
"confirmedDeliveryDate": "2025-11-29T15:07:58.9189631+01:00",
"priceUnit": 1,
"structureLevel": 1,
"processingMethod1": 1,
"processingMethod2": 1,
"processingMethod3": 1,
"processingMethod4": 1,
"invoicedAmountSoFarInCurrency": 1.0,
"employeeNo": 1,
"purchaseNo": 1,
"transactionInformation1": "sample string 10",
"transactionInformation2": "sample string 11",
"transactionInformation3": "sample string 12",
"transactionInformation4": "sample string 13",
"transactionDate": "2025-11-29T15:07:58.9189631+01:00",
"timeToNext": 1,
"warehouseNo": 1,
"sortSequenceNo": 1,
"discountAmountInCurrency": 1.0,
"finished": 1.0,
"quantityInBasisUnit": 1.0,
"free4": 1.0,
"free1": 1.0,
"finishNow": 1.0,
"transferToWarehouseNo": 1,
"densityPerUnit": 1.0,
"desiredProductionStartDate": "2025-11-29T15:07:58.9189631+01:00",
"memoFileName": "sample string 14",
"currencyNo": 1,
"quantityPerUnit": 1.0,
"areaPerUnit": 1.0,
"priceAfterDiscountInCurrency": 1.0,
"standardPriceInCurrency": 1.0,
"amountAfterDiscountInCurrency": 1.0,
"planType": 1,
"priceFactor": 1.0,
"useByDate": "2025-11-29T15:07:58.9189631+01:00",
"transactionType": 1,
"productPriceGroup1": 1,
"periodKeyNo": 1,
"pictureFileName": "sample string 15",
"accountSet": 1,
"externalId": 1,
"exchangeRate": 1.0,
"deliveryMethod": 1,
"orderType": 1,
"amountInCurrency": 1.0,
"purchased": 1.0
}
application/xml, text/xml
<OrderLine xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <lineNo>1</lineNo> <productNo>sample string 1</productNo> <description>sample string 2</description> <quantity>1</quantity> <price>1</price> <discountPercent>1</discountPercent> <invoicedOrRealized>1</invoicedOrRealized> <invoiceNo>sample string 3</invoiceNo> <lastChanged>2025-11-29T15:07:58.9189631+01:00</lastChanged> <taxCode>1</taxCode> <taxAndAccountingGroup>1</taxAndAccountingGroup> <vatRate>1</vatRate> <quoted>1</quoted> <deliveryDate>2025-11-29T15:07:58.9189631+01:00</deliveryDate> <costPrice>1</costPrice> <unit>1</unit> <orgUnit1>1</orgUnit1> <orgUnit2>1</orgUnit2> <orgUnit3>1</orgUnit3> <orgUnit4>1</orgUnit4> <orgUnit5>1</orgUnit5> <orgUnit6>1</orgUnit6> <orgUnit7>sample string 4</orgUnit7> <orgUnit8>sample string 5</orgUnit8> <orgUnit9>sample string 6</orgUnit9> <orgUnit10>sample string 7</orgUnit10> <orgUnit11>sample string 8</orgUnit11> <orgUnit12>sample string 9</orgUnit12> <confirmedDeliveryDate>2025-11-29T15:07:58.9189631+01:00</confirmedDeliveryDate> <priceUnit>1</priceUnit> <structureLevel>1</structureLevel> <processingMethod1>1</processingMethod1> <processingMethod2>1</processingMethod2> <processingMethod3>1</processingMethod3> <processingMethod4>1</processingMethod4> <invoicedAmountSoFarInCurrency>1</invoicedAmountSoFarInCurrency> <employeeNo>1</employeeNo> <purchaseNo>1</purchaseNo> <transactionInformation1>sample string 10</transactionInformation1> <transactionInformation2>sample string 11</transactionInformation2> <transactionInformation3>sample string 12</transactionInformation3> <transactionInformation4>sample string 13</transactionInformation4> <transactionDate>2025-11-29T15:07:58.9189631+01:00</transactionDate> <timeToNext>1</timeToNext> <warehouseNo>1</warehouseNo> <sortSequenceNo>1</sortSequenceNo> <discountAmountInCurrency>1</discountAmountInCurrency> <finished>1</finished> <quantityInBasisUnit>1</quantityInBasisUnit> <free4>1</free4> <free1>1</free1> <finishNow>1</finishNow> <transferToWarehouseNo>1</transferToWarehouseNo> <densityPerUnit>1</densityPerUnit> <desiredProductionStartDate>2025-11-29T15:07:58.9189631+01:00</desiredProductionStartDate> <memoFileName>sample string 14</memoFileName> <currencyNo>1</currencyNo> <quantityPerUnit>1</quantityPerUnit> <areaPerUnit>1</areaPerUnit> <priceAfterDiscountInCurrency>1</priceAfterDiscountInCurrency> <standardPriceInCurrency>1</standardPriceInCurrency> <amountAfterDiscountInCurrency>1</amountAfterDiscountInCurrency> <planType>1</planType> <priceFactor>1</priceFactor> <useByDate>2025-11-29T15:07:58.9189631+01:00</useByDate> <transactionType>1</transactionType> <productPriceGroup1>1</productPriceGroup1> <periodKeyNo>1</periodKeyNo> <pictureFileName>sample string 15</pictureFileName> <accountSet>1</accountSet> <externalId>1</externalId> <exchangeRate>1</exchangeRate> <deliveryMethod>1</deliveryMethod> <orderType>1</orderType> <amountInCurrency>1</amountInCurrency> <purchased>1</purchased> </OrderLine>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
OrderLine| Name | Description | Type | Additional information |
|---|---|---|---|
| lineNo | integer |
None. |
|
| productNo | string |
None. |
|
| description | string |
None. |
|
| quantity | decimal number |
None. |
|
| price | decimal number |
None. |
|
| discountPercent | decimal number |
None. |
|
| invoicedOrRealized | decimal number |
None. |
|
| invoiceNo | string |
None. |
|
| lastChanged | date |
None. |
|
| taxCode | integer |
None. |
|
| taxAndAccountingGroup | integer |
None. |
|
| vatRate | decimal number |
None. |
|
| quoted | decimal number |
None. |
|
| deliveryDate | date |
None. |
|
| costPrice | decimal number |
None. |
|
| unit | integer |
None. |
|
| orgUnit1 | integer |
None. |
|
| orgUnit2 | integer |
None. |
|
| orgUnit3 | integer |
None. |
|
| orgUnit4 | integer |
None. |
|
| orgUnit5 | integer |
None. |
|
| orgUnit6 | integer |
None. |
|
| orgUnit7 | string |
None. |
|
| orgUnit8 | string |
None. |
|
| orgUnit9 | string |
None. |
|
| orgUnit10 | string |
None. |
|
| orgUnit11 | string |
None. |
|
| orgUnit12 | string |
None. |
|
| confirmedDeliveryDate | date |
None. |
|
| priceUnit | integer |
None. |
|
| structureLevel | integer |
None. |
|
| processingMethod1 | integer |
None. |
|
| processingMethod2 | integer |
None. |
|
| processingMethod3 | integer |
None. |
|
| processingMethod4 | integer |
None. |
|
| invoicedAmountSoFarInCurrency | decimal number |
None. |
|
| employeeNo | integer |
None. |
|
| purchaseNo | integer |
None. |
|
| transactionInformation1 | string |
None. |
|
| transactionInformation2 | string |
None. |
|
| transactionInformation3 | string |
None. |
|
| transactionInformation4 | string |
None. |
|
| transactionDate | date |
None. |
|
| timeToNext | integer |
None. |
|
| warehouseNo | integer |
None. |
|
| sortSequenceNo | integer |
None. |
|
| discountAmountInCurrency | decimal number |
None. |
|
| finished | decimal number |
None. |
|
| quantityInBasisUnit | decimal number |
None. |
|
| free4 | decimal number |
None. |
|
| free1 | decimal number |
None. |
|
| finishNow | decimal number |
None. |
|
| transferToWarehouseNo | integer |
None. |
|
| densityPerUnit | decimal number |
None. |
|
| desiredProductionStartDate | date |
None. |
|
| memoFileName | string |
None. |
|
| currencyNo | integer |
None. |
|
| quantityPerUnit | decimal number |
None. |
|
| areaPerUnit | decimal number |
None. |
|
| priceAfterDiscountInCurrency | decimal number |
None. |
|
| standardPriceInCurrency | decimal number |
None. |
|
| amountAfterDiscountInCurrency | decimal number |
None. |
|
| planType | integer |
None. |
|
| priceFactor | decimal number |
None. |
|
| useByDate | date |
None. |
|
| transactionType | integer |
None. |
|
| productPriceGroup1 | integer |
None. |
|
| periodKeyNo | integer |
None. |
|
| pictureFileName | string |
None. |
|
| accountSet | integer |
None. |
|
| externalId | integer |
None. |
|
| exchangeRate | decimal number |
None. |
|
| deliveryMethod | integer |
None. |
|
| orderType | integer |
None. |
|
| amountInCurrency | decimal number |
None. |
|
| purchased | decimal number |
None. |
Response Formats
application/json, text/json
{
"lineNo": 1,
"productNo": "sample string 1",
"description": "sample string 2",
"quantity": 1.0,
"price": 1.0,
"discountPercent": 1.0,
"invoicedOrRealized": 1.0,
"invoiceNo": "sample string 3",
"lastChanged": "2025-11-29T15:07:58.9199619+01:00",
"taxCode": 1,
"taxAndAccountingGroup": 1,
"vatRate": 1.0,
"quoted": 1.0,
"deliveryDate": "2025-11-29T15:07:58.9199619+01:00",
"costPrice": 1.0,
"unit": 1,
"orgUnit1": 1,
"orgUnit2": 1,
"orgUnit3": 1,
"orgUnit4": 1,
"orgUnit5": 1,
"orgUnit6": 1,
"orgUnit7": "sample string 4",
"orgUnit8": "sample string 5",
"orgUnit9": "sample string 6",
"orgUnit10": "sample string 7",
"orgUnit11": "sample string 8",
"orgUnit12": "sample string 9",
"confirmedDeliveryDate": "2025-11-29T15:07:58.9199619+01:00",
"priceUnit": 1,
"structureLevel": 1,
"processingMethod1": 1,
"processingMethod2": 1,
"processingMethod3": 1,
"processingMethod4": 1,
"invoicedAmountSoFarInCurrency": 1.0,
"employeeNo": 1,
"purchaseNo": 1,
"transactionInformation1": "sample string 10",
"transactionInformation2": "sample string 11",
"transactionInformation3": "sample string 12",
"transactionInformation4": "sample string 13",
"transactionDate": "2025-11-29T15:07:58.9199619+01:00",
"timeToNext": 1,
"warehouseNo": 1,
"sortSequenceNo": 1,
"discountAmountInCurrency": 1.0,
"finished": 1.0,
"quantityInBasisUnit": 1.0,
"free4": 1.0,
"free1": 1.0,
"finishNow": 1.0,
"transferToWarehouseNo": 1,
"densityPerUnit": 1.0,
"desiredProductionStartDate": "2025-11-29T15:07:58.9199619+01:00",
"memoFileName": "sample string 14",
"currencyNo": 1,
"quantityPerUnit": 1.0,
"areaPerUnit": 1.0,
"priceAfterDiscountInCurrency": 1.0,
"standardPriceInCurrency": 1.0,
"amountAfterDiscountInCurrency": 1.0,
"planType": 1,
"priceFactor": 1.0,
"useByDate": "2025-11-29T15:07:58.9199619+01:00",
"transactionType": 1,
"productPriceGroup1": 1,
"periodKeyNo": 1,
"pictureFileName": "sample string 15",
"accountSet": 1,
"externalId": 1,
"exchangeRate": 1.0,
"deliveryMethod": 1,
"orderType": 1,
"amountInCurrency": 1.0,
"purchased": 1.0
}
application/xml, text/xml
<OrderLine xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <lineNo>1</lineNo> <productNo>sample string 1</productNo> <description>sample string 2</description> <quantity>1</quantity> <price>1</price> <discountPercent>1</discountPercent> <invoicedOrRealized>1</invoicedOrRealized> <invoiceNo>sample string 3</invoiceNo> <lastChanged>2025-11-29T15:07:58.9199619+01:00</lastChanged> <taxCode>1</taxCode> <taxAndAccountingGroup>1</taxAndAccountingGroup> <vatRate>1</vatRate> <quoted>1</quoted> <deliveryDate>2025-11-29T15:07:58.9199619+01:00</deliveryDate> <costPrice>1</costPrice> <unit>1</unit> <orgUnit1>1</orgUnit1> <orgUnit2>1</orgUnit2> <orgUnit3>1</orgUnit3> <orgUnit4>1</orgUnit4> <orgUnit5>1</orgUnit5> <orgUnit6>1</orgUnit6> <orgUnit7>sample string 4</orgUnit7> <orgUnit8>sample string 5</orgUnit8> <orgUnit9>sample string 6</orgUnit9> <orgUnit10>sample string 7</orgUnit10> <orgUnit11>sample string 8</orgUnit11> <orgUnit12>sample string 9</orgUnit12> <confirmedDeliveryDate>2025-11-29T15:07:58.9199619+01:00</confirmedDeliveryDate> <priceUnit>1</priceUnit> <structureLevel>1</structureLevel> <processingMethod1>1</processingMethod1> <processingMethod2>1</processingMethod2> <processingMethod3>1</processingMethod3> <processingMethod4>1</processingMethod4> <invoicedAmountSoFarInCurrency>1</invoicedAmountSoFarInCurrency> <employeeNo>1</employeeNo> <purchaseNo>1</purchaseNo> <transactionInformation1>sample string 10</transactionInformation1> <transactionInformation2>sample string 11</transactionInformation2> <transactionInformation3>sample string 12</transactionInformation3> <transactionInformation4>sample string 13</transactionInformation4> <transactionDate>2025-11-29T15:07:58.9199619+01:00</transactionDate> <timeToNext>1</timeToNext> <warehouseNo>1</warehouseNo> <sortSequenceNo>1</sortSequenceNo> <discountAmountInCurrency>1</discountAmountInCurrency> <finished>1</finished> <quantityInBasisUnit>1</quantityInBasisUnit> <free4>1</free4> <free1>1</free1> <finishNow>1</finishNow> <transferToWarehouseNo>1</transferToWarehouseNo> <densityPerUnit>1</densityPerUnit> <desiredProductionStartDate>2025-11-29T15:07:58.9199619+01:00</desiredProductionStartDate> <memoFileName>sample string 14</memoFileName> <currencyNo>1</currencyNo> <quantityPerUnit>1</quantityPerUnit> <areaPerUnit>1</areaPerUnit> <priceAfterDiscountInCurrency>1</priceAfterDiscountInCurrency> <standardPriceInCurrency>1</standardPriceInCurrency> <amountAfterDiscountInCurrency>1</amountAfterDiscountInCurrency> <planType>1</planType> <priceFactor>1</priceFactor> <useByDate>2025-11-29T15:07:58.9199619+01:00</useByDate> <transactionType>1</transactionType> <productPriceGroup1>1</productPriceGroup1> <periodKeyNo>1</periodKeyNo> <pictureFileName>sample string 15</pictureFileName> <accountSet>1</accountSet> <externalId>1</externalId> <exchangeRate>1</exchangeRate> <deliveryMethod>1</deliveryMethod> <orderType>1</orderType> <amountInCurrency>1</amountInCurrency> <purchased>1</purchased> </OrderLine>