Send Order: Porovnání verzí
Skočit na navigaci
Skočit na vyhledávání
Založena nová stránka s textem „s“ |
Bez shrnutí editace |
||
| Řádek 1: | Řádek 1: | ||
s | ====Description==== | ||
Method allows You to create new order in system. | |||
====Exact name==== | |||
<code>InsertOrder</code> | |||
====Type==== | |||
WebService. | |||
====Example==== | |||
<syntaxhighlight lang="sql"> | |||
<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> | |||
</syntaxhighlight> | |||
====Notices==== | |||
None. | |||
Verze z 26. 1. 2018, 15:28
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.