POST api/PostventaOrders/Lines?DocEntry={DocEntry}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| DocEntry | integer |
Required |
Body Parameters
PostventaOrderLineRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| ItemCode | string |
None. |
|
| Quantity | decimal number |
None. |
|
| LineType | string |
None. |
|
| PriceList | string |
None. |
|
| UnitPrice | decimal number |
None. |
|
| ExtVendor | string |
None. |
|
| ExtVendorInvoice | integer |
None. |
|
| ExtMargin | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"ItemCode": "sample string 1",
"Quantity": 2.0,
"LineType": "sample string 3",
"PriceList": "sample string 4",
"UnitPrice": 1.0,
"ExtVendor": "sample string 5",
"ExtVendorInvoice": 1,
"ExtMargin": 1.0
}
application/xml, text/xml
Sample:
<PostventaOrderLineRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CLMLTEMA.MODELS.SAP"> <ExtMargin>1</ExtMargin> <ExtVendor>sample string 5</ExtVendor> <ExtVendorInvoice>1</ExtVendorInvoice> <ItemCode>sample string 1</ItemCode> <LineType>sample string 3</LineType> <PriceList>sample string 4</PriceList> <Quantity>2</Quantity> <UnitPrice>1</UnitPrice> </PostventaOrderLineRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
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. |