POST DistOneAPi/orderlines
Request Information
URI Parameters
None.
Body Parameters
Collection of linesViewModelName | Description | Type | Additional information |
---|---|---|---|
company_sy | string |
None. |
|
reference | decimal number |
None. |
|
item | string |
None. |
|
descr | string |
None. |
|
quantity | decimal number |
None. |
|
um_o | string |
None. |
|
order | string |
None. |
|
productline | string |
None. |
|
product_line | string |
None. |
|
price_per | decimal number |
None. |
|
image | string |
None. |
|
price | decimal number |
None. |
|
note | string |
None. |
|
childitem | string |
None. |
Request Formats
application/json, text/json
Sample:
[ { "company_sy": "sample string 1", "reference": 2.0, "item": "sample string 3", "descr": "sample string 4", "quantity": 5.0, "um_o": "sample string 6", "order": "sample string 7", "productline": "sample string 8", "product_line": "sample string 9", "price_per": 10.0, "image": "sample string 11", "price": 12.0, "note": "sample string 13", "childitem": "sample string 14" }, { "company_sy": "sample string 1", "reference": 2.0, "item": "sample string 3", "descr": "sample string 4", "quantity": 5.0, "um_o": "sample string 6", "order": "sample string 7", "productline": "sample string 8", "product_line": "sample string 9", "price_per": 10.0, "image": "sample string 11", "price": 12.0, "note": "sample string 13", "childitem": "sample string 14" } ]
text/xml
Sample:
<ArrayOflinesViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DistOneWebAPI.ViewModels"> <linesViewModel> <childitem>sample string 14</childitem> <company_sy>sample string 1</company_sy> <descr>sample string 4</descr> <image>sample string 11</image> <item>sample string 3</item> <note>sample string 13</note> <order>sample string 7</order> <price>12</price> <price_per>10</price_per> <product_line>sample string 9</product_line> <productline>sample string 8</productline> <quantity>5</quantity> <reference>2</reference> <um_o>sample string 6</um_o> </linesViewModel> <linesViewModel> <childitem>sample string 14</childitem> <company_sy>sample string 1</company_sy> <descr>sample string 4</descr> <image>sample string 11</image> <item>sample string 3</item> <note>sample string 13</note> <order>sample string 7</order> <price>12</price> <price_per>10</price_per> <product_line>sample string 9</product_line> <productline>sample string 8</productline> <quantity>5</quantity> <reference>2</reference> <um_o>sample string 6</um_o> </linesViewModel> </ArrayOflinesViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ObjectNone.
Response Formats
application/json, text/json
Sample:
{}
text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />