POST DistOneAPi/orderupdate
Request Information
URI Parameters
None.
Body Parameters
OrderViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| company_sy | string |
None. |
|
| notes | string |
None. |
|
| echo | boolean |
None. |
|
| complete | boolean |
None. |
|
| lines | Collection of linesViewModel |
None. |
|
| head | headViewModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"company_sy": "sample string 1",
"notes": "sample string 2",
"echo": true,
"complete": true,
"lines": [
{
"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"
}
],
"head": {
"free_form_shipto": true,
"s_adr": "sample string 2",
"s_country_code": "sample string 3",
"s_name": "sample string 4",
"s_st": "sample string 5",
"s_postal_code": "sample string 6",
"orderid": 7,
"orderstatus": true,
"response": "sample string 9",
"customer": "sample string 10",
"rec_type": "sample string 11",
"ord_class": "sample string 12",
"warehouse": "sample string 13",
"ship_id": "sample string 14",
"ship_via_code": "sample string 15",
"order_by": "sample string 16",
"terms_code": "sample string 17",
"email": "sample string 18",
"source_code": "sample string 19",
"wanted_date": "sample string 20",
"cu_po": "sample string 21",
"notes": "sample string 22",
"echo": true,
"complete": true,
"order": "sample string 25",
"orderby_phone": "sample string 26",
"ship_via_acct": "sample string 27",
"bill_phone": "sample string 28",
"billPhone": "sample string 29",
"bill_fax": "sample string 30",
"billFax": "sample string 31",
"bill_adr": "sample string 32",
"billAdr": "sample string 33",
"o_tot_taxable_it": 34.0,
"o_tot_tax_amt": 35.0,
"o_tot_net_ar": 36.0,
"CardNumber": "sample string 37",
"CardNo": "sample string 38",
"ExpirationDate": "sample string 39",
"SecurityCode": "sample string 40",
"ExpirationMonth": 1,
"ExpirationYear": 1,
"CardType": "sample string 41",
"c_tot_code_1": "sample string 42",
"c_tot_code_amt_1": "sample string 43",
"cancel_date": "sample string 44",
"job_rel": "sample string 45",
"cell_phone": "sample string 46",
"ship_cmpl": "sample string 47",
"CardHolderName": "sample string 48",
"Frieght": "sample string 49",
"weight": "sample string 50",
"tax_code": "sample string 51"
}
}
text/xml
Sample:
<OrderViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DistOneWebAPI.ViewModels">
<company_sy>sample string 1</company_sy>
<complete>true</complete>
<echo>true</echo>
<head>
<CardHolderName>sample string 48</CardHolderName>
<CardNo>sample string 38</CardNo>
<CardNumber>sample string 37</CardNumber>
<CardType>sample string 41</CardType>
<ExpirationDate>sample string 39</ExpirationDate>
<ExpirationMonth>1</ExpirationMonth>
<ExpirationYear>1</ExpirationYear>
<Frieght>sample string 49</Frieght>
<SecurityCode>sample string 40</SecurityCode>
<billAdr>sample string 33</billAdr>
<billFax>sample string 31</billFax>
<billPhone>sample string 29</billPhone>
<bill_adr>sample string 32</bill_adr>
<bill_fax>sample string 30</bill_fax>
<bill_phone>sample string 28</bill_phone>
<c_tot_code_1>sample string 42</c_tot_code_1>
<c_tot_code_amt_1>sample string 43</c_tot_code_amt_1>
<cancel_date>sample string 44</cancel_date>
<cell_phone>sample string 46</cell_phone>
<complete>true</complete>
<cu_po>sample string 21</cu_po>
<customer>sample string 10</customer>
<echo>true</echo>
<email>sample string 18</email>
<free_form_shipto>true</free_form_shipto>
<job_rel>sample string 45</job_rel>
<notes>sample string 22</notes>
<o_tot_net_ar>36</o_tot_net_ar>
<o_tot_tax_amt>35</o_tot_tax_amt>
<o_tot_taxable_it>34</o_tot_taxable_it>
<ord_class>sample string 12</ord_class>
<order>sample string 25</order>
<order_by>sample string 16</order_by>
<orderby_phone>sample string 26</orderby_phone>
<orderid>7</orderid>
<orderstatus>true</orderstatus>
<rec_type>sample string 11</rec_type>
<response>sample string 9</response>
<s_adr>sample string 2</s_adr>
<s_country_code>sample string 3</s_country_code>
<s_name>sample string 4</s_name>
<s_postal_code>sample string 6</s_postal_code>
<s_st>sample string 5</s_st>
<ship_cmpl>sample string 47</ship_cmpl>
<ship_id>sample string 14</ship_id>
<ship_via_acct>sample string 27</ship_via_acct>
<ship_via_code>sample string 15</ship_via_code>
<source_code>sample string 19</source_code>
<tax_code>sample string 51</tax_code>
<terms_code>sample string 17</terms_code>
<wanted_date>sample string 20</wanted_date>
<warehouse>sample string 13</warehouse>
<weight>sample string 50</weight>
</head>
<lines>
<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>
</lines>
<notes>sample string 2</notes>
</OrderViewModel>
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/" />