Zum Inhalt

Item Cross-Selling

This service delivers real time item cross selling from Business Central. Use this to get corresponding order items to a specific item.

Service Endpoint

The base Endpoint is:

OutboundItemCrossSellingIISWebService/OutboundItemCrossSellingIISWebService

API Methods

Here are the available methods for the Item Cross-Selling Service:

GetItemCrossSelling

Sample Request

<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" 
  xmlns:out="http://tempuri.org/OutboundItemCrossSellingIISWebService/" 
  xmlns:x53="urn:microsoft-dynamics-nav/xmlports/x5371210">
   <soap:Header xmlns:wsa="http://www.w3.org/2005/08/addressing">
      <wsa:Action>http://tempuri.org/OutboundItemCrossSellingIISWebService/OutboundItemCrossSellingIISWebService/GetItemCrossSelling</wsa:Action>
   </soap:Header>
   <soap:Body>
      <out:GetItemCrossSelling>

         <out:outboundItemCrossSelling/>

         <out:itemFilter>1906-S</out:itemFilter>
         <out:maxCrossSellingItems>10</out:maxCrossSellingItems>
      </out:GetItemCrossSelling>
   </soap:Body>
</soap:Envelope>

Sample Response

<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing">
   <s:Header>
      <a:Action s:mustUnderstand="1">http://tempuri.org/OutboundItemCrossSellingIISWebService/OutboundItemCrossSellingIISWebService/GetItemCrossSellingResponse</a:Action>
   </s:Header>
   <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <GetItemCrossSellingResponse xmlns="http://tempuri.org/OutboundItemCrossSellingIISWebService/">
         <outboundItemCrossSelling>
            <Cross_Selling_Entry xmlns="urn:microsoft-dynamics-nav/xmlports/x5371210">
               <Item_No>1906-S</Item_No>
               <Variant_Code/>
               <Cross_Selling_No>1896-S</Cross_Selling_No>
               <Cross_Selling_Variant_Code/>
               <Quantity>2.00</Quantity>
            </Cross_Selling_Entry>
            <Cross_Selling_Entry xmlns="urn:microsoft-dynamics-nav/xmlports/x5371210">
               <Item_No>1906-S</Item_No>
               <Variant_Code/>
               <Cross_Selling_No>1968-S</Cross_Selling_No>
               <Cross_Selling_Variant_Code/>
               <Quantity>1.00</Quantity>
            </Cross_Selling_Entry>
            <Cross_Selling_Entry xmlns="urn:microsoft-dynamics-nav/xmlports/x5371210">
               <Item_No>1906-S</Item_No>
               <Variant_Code/>
               <Cross_Selling_No>1972-S</Cross_Selling_No>
               <Cross_Selling_Variant_Code/>
               <Quantity>1.00</Quantity>
            </Cross_Selling_Entry>
         </outboundItemCrossSelling>
      </GetItemCrossSellingResponse>
   </s:Body>
</s:Envelope>

Field Information

Item Cross-Selling Field Information

Name Description Type max. Length Occurance
Item_No Item no. of filtered item. String 10 1..1
Variant_Code Variant code of filtered item String 10 0..1
Cross_Selling_No Item no. of cross selling result item String 20 1..1
Cross_Selling_Variant_Code Variant code of cross selling result item String 10 0..1
Quantity Quantity of cross selling items corresponding with filter item Integer 1..1