Send Order

Z Podpora.nextis.cz
Přejít na: navigace, hledání

Description

Method allows You to create new order in system.

Exact name

InsertOrder

Type

WebService.

Example

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
  <s:Header>
    <Action s:mustUnderstand="1" xmlns="http://schemas.microsoft.com/ws/2005/05/addressing/none">http://tempuri.org/IWeb2WSPublic/InsertOrder</Action>
  </s:Header>
  <s:Body>
    <InsertOrder xmlns="http://tempuri.org/">
      <partnerLogin>testLogin</partnerLogin>
      <partnerPassword>testPassword</partnerPassword>
      <CustomerMessage>Message</CustomerMessage>
      <ItemsToOrder xmlns:d4p1="http://schemas.datacontract.org/2004/07/InterfaceDefinition.WSExchange" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
        <d4p1:iItems>
          <d4p1:WSExchangeOrders.OrderRequest.OrderRequestItem>
            <d4p1:_CustomerBranch i:nil="true" />
            <d4p1:_CustomerDepo i:nil="true" />
            <d4p1:_CustomerItemID>0</d4p1:_CustomerItemID>
            <d4p1:_CustomerOrderNum i:nil="true" />
            <d4p1:_CustomerOwnPrice>false</d4p1:_CustomerOwnPrice>
            <d4p1:_CustomerOwnUnitPrice>0</d4p1:_CustomerOwnUnitPrice>
            <d4p1:_CustomerProductBrand i:nil="true" />
            <d4p1:_CustomerProductCode i:nil="true" />
            <d4p1:_Qty>2</d4p1:_Qty>
            <d4p1:_SupplierBrandName>TRW</d4p1:_SupplierBrandName>
            <d4p1:_SupplierCommitedPrice>0</d4p1:_SupplierCommitedPrice>
            <d4p1:_SupplierCommitedQty>0</d4p1:_SupplierCommitedQty>
            <d4p1:_SupplierProductCode>GDB400</d4p1:_SupplierProductCode>
            <d4p1:iItemState>OK</d4p1:iItemState>
          </d4p1:WSExchangeOrders.OrderRequest.OrderRequestItem>
        </d4p1:iItems>
        <d4p1:iOrderDate i:nil="true" />
        <d4p1:iOrderGroup i:nil="true" />
        <d4p1:iOrderName i:nil="true" />
      </ItemsToOrder>
      <SearchSimilar>false</SearchSimilar>
      <SearchRemoveSpace>false</SearchRemoveSpace>
    </InsertOrder>
  </s:Body>
</s:Envelope>

Notices

None.