POST Product/InsertNewOrderMethod

Request Information

URI Parameters

None.

Body Parameters

NewOrderViewModel
NameDescriptionTypeAdditional information
company_sy

string

None.

Misc_8

string

None.

Misc_9

string

None.

Misc_60

string

None.

residential

boolean

None.

free_form_shipto

boolean

None.

Pay_code_sec

string

None.

Pay_code_exp

string

None.

ExpirationMonth

string

None.

ExpirationYear

string

None.

Pay_code_card

string

None.

Pay_code_card_length

string

None.

ship_via_acct

string

None.

orderby

string

None.

order_ext

string

None.

customer

string

None.

warehouse

string

None.

s_adr1

string

None.

s_adr2

string

None.

s_adr3

string

None.

s_adr4

string

None.

s_adr5

string

None.

s_adr6

string

None.

stat

string

None.

state

string

None.

rec_type

string

None.

ship_id

string

None.

country

string

None.

phone

string

None.

fax

string

None.

auth_amount

string

None.

source_code

string

None.

pay_amount

string

None.

tot_code

string

None.

tot_code_amt

string

None.

pay_code

string

None.

pay_cd

string

None.

pay_code_ref

string

None.

pay_code_amount

string

None.

blind_ship

string

None.

tax_amount

string

None.

disp_where

string

None.

disp_method

string

None.

print_where

string

None.

s_st

string

None.

s_postal_code

string

None.

s_country_code

string

None.

tax_code

string

None.

s_name

string

None.

order_by

string

None.

cu_po

string

None.

email_address

string

None.

s_phone

string

None.

ship_atn

string

None.

ord_class

string

None.

s_phone_ext

string

None.

ship_via_code

string

None.

terms_code

string

None.

salesman1

string

None.

disc_amount

string

None.

Cred_card

string

None.

Cred_card_exp

string

None.

Cred_card_type

string

None.

Auth_type

string

None.

Auth_asv

string

None.

Auth_amount

string

None.

Auth_date

string

None.

Auth_time

string

None.

Auth_memo

string

None.

Auth_number

string

None.

Auth_trans_number

string

None.

atn

string

None.

table

string

None.

triggers

string

None.

notes

string

None.

wanted_date

string

None.

cancel_date

string

None.

job_rel

string

None.

cell_phone

string

None.

ship_cmpl

string

None.

enter_by

string

None.

name

string

None.

postal_code

string

None.

adr1

string

None.

adr2

string

None.

adr3

string

None.

adr4

string

None.

adr5

string

None.

adr6

string

None.

order

integer

None.

NewOrderlines

NewOrderlinesViewModel

None.

Request Formats

application/json, text/json

Sample:
{
  "company_sy": "sample string 1",
  "Misc_8": "sample string 2",
  "Misc_9": "sample string 3",
  "Misc_60": "sample string 4",
  "residential": true,
  "free_form_shipto": true,
  "Pay_code_sec": "sample string 7",
  "Pay_code_exp": "sample string 8",
  "ExpirationMonth": "sample string 9",
  "ExpirationYear": "sample string 10",
  "Pay_code_card": "sample string 11",
  "Pay_code_card_length": "sample string 12",
  "ship_via_acct": "sample string 13",
  "orderby": "sample string 14",
  "order_ext": "sample string 15",
  "customer": "sample string 16",
  "warehouse": "sample string 17",
  "s_adr1": "sample string 18",
  "s_adr2": "sample string 19",
  "s_adr3": "sample string 20",
  "s_adr4": "sample string 21",
  "s_adr5": "sample string 22",
  "s_adr6": "sample string 23",
  "stat": "sample string 24",
  "state": "sample string 25",
  "rec_type": "sample string 26",
  "ship_id": "sample string 27",
  "country": "sample string 28",
  "phone": "sample string 29",
  "fax": "sample string 30",
  "auth_amount": "sample string 31",
  "source_code": "sample string 32",
  "pay_amount": "sample string 33",
  "tot_code": "sample string 34",
  "tot_code_amt": "sample string 35",
  "pay_code": "sample string 36",
  "pay_cd": "sample string 37",
  "pay_code_ref": "sample string 38",
  "pay_code_amount": "sample string 39",
  "blind_ship": "sample string 40",
  "tax_amount": "sample string 41",
  "disp_where": "sample string 42",
  "disp_method": "sample string 43",
  "print_where": "sample string 44",
  "s_st": "sample string 45",
  "s_postal_code": "sample string 46",
  "s_country_code": "sample string 47",
  "tax_code": "sample string 48",
  "s_name": "sample string 49",
  "order_by": "sample string 50",
  "cu_po": "sample string 51",
  "email_address": "sample string 52",
  "s_phone": "sample string 53",
  "ship_atn": "sample string 54",
  "ord_class": "sample string 55",
  "s_phone_ext": "sample string 56",
  "ship_via_code": "sample string 57",
  "terms_code": "sample string 58",
  "salesman1": "sample string 59",
  "disc_amount": "sample string 60",
  "Cred_card": "sample string 61",
  "Cred_card_exp": "sample string 62",
  "Cred_card_type": "sample string 63",
  "Auth_type": "sample string 64",
  "Auth_asv": "sample string 65",
  "Auth_amount": "sample string 66",
  "Auth_date": "sample string 67",
  "Auth_time": "sample string 68",
  "Auth_memo": "sample string 69",
  "Auth_number": "sample string 70",
  "Auth_trans_number": "sample string 71",
  "atn": "sample string 72",
  "table": "sample string 73",
  "triggers": "sample string 74",
  "notes": "sample string 75",
  "wanted_date": "sample string 76",
  "cancel_date": "sample string 77",
  "job_rel": "sample string 78",
  "cell_phone": "sample string 79",
  "ship_cmpl": "sample string 80",
  "enter_by": "sample string 81",
  "name": "sample string 82",
  "postal_code": "sample string 83",
  "adr1": "sample string 84",
  "adr2": "sample string 85",
  "adr3": "sample string 86",
  "adr4": "sample string 87",
  "adr5": "sample string 88",
  "adr6": "sample string 89",
  "order": 90,
  "NewOrderlines": {
    "table": "sample string 1",
    "triggers": "sample string 2",
    "Lines": [
      {
        "order_ext": "sample string 1",
        "customer": "sample string 2",
        "descr": "sample string 3",
        "notes": "sample string 4",
        "warehouse": "sample string 5",
        "line": 6,
        "item": "sample string 7",
        "qty_ord": "sample string 8",
        "unit_price": "sample string 9",
        "um_o": "sample string 10",
        "childitem": "sample string 11"
      },
      {
        "order_ext": "sample string 1",
        "customer": "sample string 2",
        "descr": "sample string 3",
        "notes": "sample string 4",
        "warehouse": "sample string 5",
        "line": 6,
        "item": "sample string 7",
        "qty_ord": "sample string 8",
        "unit_price": "sample string 9",
        "um_o": "sample string 10",
        "childitem": "sample string 11"
      }
    ]
  }
}

text/xml

Sample:
<NewOrderViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DistOneWebAPI.ViewModels">
  <Auth_amount>sample string 66</Auth_amount>
  <Auth_asv>sample string 65</Auth_asv>
  <Auth_date>sample string 67</Auth_date>
  <Auth_memo>sample string 69</Auth_memo>
  <Auth_number>sample string 70</Auth_number>
  <Auth_time>sample string 68</Auth_time>
  <Auth_trans_number>sample string 71</Auth_trans_number>
  <Auth_type>sample string 64</Auth_type>
  <Cred_card>sample string 61</Cred_card>
  <Cred_card_exp>sample string 62</Cred_card_exp>
  <Cred_card_type>sample string 63</Cred_card_type>
  <ExpirationMonth>sample string 9</ExpirationMonth>
  <ExpirationYear>sample string 10</ExpirationYear>
  <Misc_60>sample string 4</Misc_60>
  <Misc_8>sample string 2</Misc_8>
  <Misc_9>sample string 3</Misc_9>
  <NewOrderlines>
    <Lines>
      <NlinesviewModel>
        <childitem>sample string 11</childitem>
        <customer>sample string 2</customer>
        <descr>sample string 3</descr>
        <item>sample string 7</item>
        <line>6</line>
        <notes>sample string 4</notes>
        <order_ext>sample string 1</order_ext>
        <qty_ord>sample string 8</qty_ord>
        <um_o>sample string 10</um_o>
        <unit_price>sample string 9</unit_price>
        <warehouse>sample string 5</warehouse>
      </NlinesviewModel>
      <NlinesviewModel>
        <childitem>sample string 11</childitem>
        <customer>sample string 2</customer>
        <descr>sample string 3</descr>
        <item>sample string 7</item>
        <line>6</line>
        <notes>sample string 4</notes>
        <order_ext>sample string 1</order_ext>
        <qty_ord>sample string 8</qty_ord>
        <um_o>sample string 10</um_o>
        <unit_price>sample string 9</unit_price>
        <warehouse>sample string 5</warehouse>
      </NlinesviewModel>
    </Lines>
    <table>sample string 1</table>
    <triggers>sample string 2</triggers>
  </NewOrderlines>
  <Pay_code_card>sample string 11</Pay_code_card>
  <Pay_code_card_length>sample string 12</Pay_code_card_length>
  <Pay_code_exp>sample string 8</Pay_code_exp>
  <Pay_code_sec>sample string 7</Pay_code_sec>
  <adr1>sample string 84</adr1>
  <adr2>sample string 85</adr2>
  <adr3>sample string 86</adr3>
  <adr4>sample string 87</adr4>
  <adr5>sample string 88</adr5>
  <adr6>sample string 89</adr6>
  <atn>sample string 72</atn>
  <auth_amount>sample string 31</auth_amount>
  <blind_ship>sample string 40</blind_ship>
  <cancel_date>sample string 77</cancel_date>
  <cell_phone>sample string 79</cell_phone>
  <company_sy>sample string 1</company_sy>
  <country>sample string 28</country>
  <cu_po>sample string 51</cu_po>
  <customer>sample string 16</customer>
  <disc_amount>sample string 60</disc_amount>
  <disp_method>sample string 43</disp_method>
  <disp_where>sample string 42</disp_where>
  <email_address>sample string 52</email_address>
  <enter_by>sample string 81</enter_by>
  <fax>sample string 30</fax>
  <free_form_shipto>true</free_form_shipto>
  <job_rel>sample string 78</job_rel>
  <name>sample string 82</name>
  <notes>sample string 75</notes>
  <ord_class>sample string 55</ord_class>
  <order>90</order>
  <order_by>sample string 50</order_by>
  <order_ext>sample string 15</order_ext>
  <orderby>sample string 14</orderby>
  <pay_amount>sample string 33</pay_amount>
  <pay_cd>sample string 37</pay_cd>
  <pay_code>sample string 36</pay_code>
  <pay_code_amount>sample string 39</pay_code_amount>
  <pay_code_ref>sample string 38</pay_code_ref>
  <phone>sample string 29</phone>
  <postal_code>sample string 83</postal_code>
  <print_where>sample string 44</print_where>
  <rec_type>sample string 26</rec_type>
  <residential>true</residential>
  <s_adr1>sample string 18</s_adr1>
  <s_adr2>sample string 19</s_adr2>
  <s_adr3>sample string 20</s_adr3>
  <s_adr4>sample string 21</s_adr4>
  <s_adr5>sample string 22</s_adr5>
  <s_adr6>sample string 23</s_adr6>
  <s_country_code>sample string 47</s_country_code>
  <s_name>sample string 49</s_name>
  <s_phone>sample string 53</s_phone>
  <s_phone_ext>sample string 56</s_phone_ext>
  <s_postal_code>sample string 46</s_postal_code>
  <s_st>sample string 45</s_st>
  <salesman1>sample string 59</salesman1>
  <ship_atn>sample string 54</ship_atn>
  <ship_cmpl>sample string 80</ship_cmpl>
  <ship_id>sample string 27</ship_id>
  <ship_via_acct>sample string 13</ship_via_acct>
  <ship_via_code>sample string 57</ship_via_code>
  <source_code>sample string 32</source_code>
  <stat>sample string 24</stat>
  <state>sample string 25</state>
  <table>sample string 73</table>
  <tax_amount>sample string 41</tax_amount>
  <tax_code>sample string 48</tax_code>
  <terms_code>sample string 58</terms_code>
  <tot_code>sample string 34</tot_code>
  <tot_code_amt>sample string 35</tot_code_amt>
  <triggers>sample string 74</triggers>
  <wanted_date>sample string 76</wanted_date>
  <warehouse>sample string 17</warehouse>
</NewOrderViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Object

None.

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/" />