SxApiService


Click here for a complete list of operations.

OEGetShopListPastSales

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /SxApiService.asmx HTTP/1.1
Host: sxapi-mer.cameronashleybp.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "Nxtrend.WS/OEGetShopListPastSales"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <OEGetShopListPastSales xmlns="Nxtrend.WS">
      <connectString>string</connectString>
      <userCode>string</userCode>
      <requestObject>
        <startMonth>int</startMonth>
        <startYear>int</startYear>
        <endMonth>int</endMonth>
        <endYear>int</endYear>
        <customerNumber>double</customerNumber>
        <warehouse>string</warehouse>
        <shipTo>string</shipTo>
        <recordLimit>int</recordLimit>
      </requestObject>
    </OEGetShopListPastSales>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <OEGetShopListPastSalesResponse xmlns="Nxtrend.WS">
      <OEGetShopListPastSalesResult>
        <errorMessage>string</errorMessage>
        <moreRecordFlag>boolean</moreRecordFlag>
        <arrayShoplist>
          <OEGetShopListPastSales.output.Shoplist>
            <addSWOptionalProductFlag>boolean</addSWOptionalProductFlag>
            <productLine>string</productLine>
            <vendorNumber>double</vendorNumber>
            <charge>string</charge>
            <companyNumber>int</companyNumber>
            <unitsPerStocking>double</unitsPerStocking>
            <cubes>double</cubes>
            <description>string</description>
            <description2>string</description2>
            <discountAmount>double</discountAmount>
            <discountOverrideFlag>boolean</discountOverrideFlag>
            <displayProduct>string</displayProduct>
            <extra1>string</extra1>
            <extra2>string</extra2>
            <specialCostRecordNumber>int</specialCostRecordNumber>
            <keyIndex>string</keyIndex>
            <lastPrice>double</lastPrice>
            <lookupName>string</lookupName>
            <marginAmount>double</marginAmount>
            <netOrdered>double</netOrdered>
            <netRecommended>double</netRecommended>
            <notesFlag>string</notesFlag>
            <operatorInitials>string</operatorInitials>
            <operInit>string</operInit>
            <optionalWords>string</optionalWords>
            <pricingRecordNumber>int</pricingRecordNumber>
            <priceDiscountingFlag>boolean</priceDiscountingFlag>
            <priceCostPer>string</priceCostPer>
            <price>double</price>
            <priceOverrideFlag>boolean</priceOverrideFlag>
            <productCode>string</productCode>
            <productCategory>string</productCategory>
            <productCost>double</productCost>
            <quantityAvailable>double</quantityAvailable>
            <quantityBreakType>string</quantityBreakType>
            <quantityOrdered>double</quantityOrdered>
            <quantityRecommended>double</quantityRecommended>
            <seasonalityType>string</seasonalityType>
            <sequenceNumber>int</sequenceNumber>
            <specialConversion>double</specialConversion>
            <specialCostType>string</specialCostType>
            <specialNonstockType>string</specialNonstockType>
            <statusMessage>string</statusMessage>
            <stockingQuantityOrdered>double</stockingQuantityOrdered>
            <stockingQuantityRecommended>double</stockingQuantityRecommended>
            <totalStockingQuantity>double</totalStockingQuantity>
            <transactionDate xsi:nil="true" />
            <transactionProcedure>string</transactionProcedure>
            <transactionTime>string</transactionTime>
            <unitOfMeasure>string</unitOfMeasure>
            <unitOfMeasureConversion>double</unitOfMeasureConversion>
            <weight>double</weight>
            <warehouse>string</warehouse>
          </OEGetShopListPastSales.output.Shoplist>
          <OEGetShopListPastSales.output.Shoplist>
            <addSWOptionalProductFlag>boolean</addSWOptionalProductFlag>
            <productLine>string</productLine>
            <vendorNumber>double</vendorNumber>
            <charge>string</charge>
            <companyNumber>int</companyNumber>
            <unitsPerStocking>double</unitsPerStocking>
            <cubes>double</cubes>
            <description>string</description>
            <description2>string</description2>
            <discountAmount>double</discountAmount>
            <discountOverrideFlag>boolean</discountOverrideFlag>
            <displayProduct>string</displayProduct>
            <extra1>string</extra1>
            <extra2>string</extra2>
            <specialCostRecordNumber>int</specialCostRecordNumber>
            <keyIndex>string</keyIndex>
            <lastPrice>double</lastPrice>
            <lookupName>string</lookupName>
            <marginAmount>double</marginAmount>
            <netOrdered>double</netOrdered>
            <netRecommended>double</netRecommended>
            <notesFlag>string</notesFlag>
            <operatorInitials>string</operatorInitials>
            <operInit>string</operInit>
            <optionalWords>string</optionalWords>
            <pricingRecordNumber>int</pricingRecordNumber>
            <priceDiscountingFlag>boolean</priceDiscountingFlag>
            <priceCostPer>string</priceCostPer>
            <price>double</price>
            <priceOverrideFlag>boolean</priceOverrideFlag>
            <productCode>string</productCode>
            <productCategory>string</productCategory>
            <productCost>double</productCost>
            <quantityAvailable>double</quantityAvailable>
            <quantityBreakType>string</quantityBreakType>
            <quantityOrdered>double</quantityOrdered>
            <quantityRecommended>double</quantityRecommended>
            <seasonalityType>string</seasonalityType>
            <sequenceNumber>int</sequenceNumber>
            <specialConversion>double</specialConversion>
            <specialCostType>string</specialCostType>
            <specialNonstockType>string</specialNonstockType>
            <statusMessage>string</statusMessage>
            <stockingQuantityOrdered>double</stockingQuantityOrdered>
            <stockingQuantityRecommended>double</stockingQuantityRecommended>
            <totalStockingQuantity>double</totalStockingQuantity>
            <transactionDate xsi:nil="true" />
            <transactionProcedure>string</transactionProcedure>
            <transactionTime>string</transactionTime>
            <unitOfMeasure>string</unitOfMeasure>
            <unitOfMeasureConversion>double</unitOfMeasureConversion>
            <weight>double</weight>
            <warehouse>string</warehouse>
          </OEGetShopListPastSales.output.Shoplist>
        </arrayShoplist>
      </OEGetShopListPastSalesResult>
    </OEGetShopListPastSalesResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /SxApiService.asmx HTTP/1.1
Host: sxapi-mer.cameronashleybp.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <OEGetShopListPastSales xmlns="Nxtrend.WS">
      <connectString>string</connectString>
      <userCode>string</userCode>
      <requestObject>
        <startMonth>int</startMonth>
        <startYear>int</startYear>
        <endMonth>int</endMonth>
        <endYear>int</endYear>
        <customerNumber>double</customerNumber>
        <warehouse>string</warehouse>
        <shipTo>string</shipTo>
        <recordLimit>int</recordLimit>
      </requestObject>
    </OEGetShopListPastSales>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <OEGetShopListPastSalesResponse xmlns="Nxtrend.WS">
      <OEGetShopListPastSalesResult>
        <errorMessage>string</errorMessage>
        <moreRecordFlag>boolean</moreRecordFlag>
        <arrayShoplist>
          <OEGetShopListPastSales.output.Shoplist>
            <addSWOptionalProductFlag>boolean</addSWOptionalProductFlag>
            <productLine>string</productLine>
            <vendorNumber>double</vendorNumber>
            <charge>string</charge>
            <companyNumber>int</companyNumber>
            <unitsPerStocking>double</unitsPerStocking>
            <cubes>double</cubes>
            <description>string</description>
            <description2>string</description2>
            <discountAmount>double</discountAmount>
            <discountOverrideFlag>boolean</discountOverrideFlag>
            <displayProduct>string</displayProduct>
            <extra1>string</extra1>
            <extra2>string</extra2>
            <specialCostRecordNumber>int</specialCostRecordNumber>
            <keyIndex>string</keyIndex>
            <lastPrice>double</lastPrice>
            <lookupName>string</lookupName>
            <marginAmount>double</marginAmount>
            <netOrdered>double</netOrdered>
            <netRecommended>double</netRecommended>
            <notesFlag>string</notesFlag>
            <operatorInitials>string</operatorInitials>
            <operInit>string</operInit>
            <optionalWords>string</optionalWords>
            <pricingRecordNumber>int</pricingRecordNumber>
            <priceDiscountingFlag>boolean</priceDiscountingFlag>
            <priceCostPer>string</priceCostPer>
            <price>double</price>
            <priceOverrideFlag>boolean</priceOverrideFlag>
            <productCode>string</productCode>
            <productCategory>string</productCategory>
            <productCost>double</productCost>
            <quantityAvailable>double</quantityAvailable>
            <quantityBreakType>string</quantityBreakType>
            <quantityOrdered>double</quantityOrdered>
            <quantityRecommended>double</quantityRecommended>
            <seasonalityType>string</seasonalityType>
            <sequenceNumber>int</sequenceNumber>
            <specialConversion>double</specialConversion>
            <specialCostType>string</specialCostType>
            <specialNonstockType>string</specialNonstockType>
            <statusMessage>string</statusMessage>
            <stockingQuantityOrdered>double</stockingQuantityOrdered>
            <stockingQuantityRecommended>double</stockingQuantityRecommended>
            <totalStockingQuantity>double</totalStockingQuantity>
            <transactionDate xsi:nil="true" />
            <transactionProcedure>string</transactionProcedure>
            <transactionTime>string</transactionTime>
            <unitOfMeasure>string</unitOfMeasure>
            <unitOfMeasureConversion>double</unitOfMeasureConversion>
            <weight>double</weight>
            <warehouse>string</warehouse>
          </OEGetShopListPastSales.output.Shoplist>
          <OEGetShopListPastSales.output.Shoplist>
            <addSWOptionalProductFlag>boolean</addSWOptionalProductFlag>
            <productLine>string</productLine>
            <vendorNumber>double</vendorNumber>
            <charge>string</charge>
            <companyNumber>int</companyNumber>
            <unitsPerStocking>double</unitsPerStocking>
            <cubes>double</cubes>
            <description>string</description>
            <description2>string</description2>
            <discountAmount>double</discountAmount>
            <discountOverrideFlag>boolean</discountOverrideFlag>
            <displayProduct>string</displayProduct>
            <extra1>string</extra1>
            <extra2>string</extra2>
            <specialCostRecordNumber>int</specialCostRecordNumber>
            <keyIndex>string</keyIndex>
            <lastPrice>double</lastPrice>
            <lookupName>string</lookupName>
            <marginAmount>double</marginAmount>
            <netOrdered>double</netOrdered>
            <netRecommended>double</netRecommended>
            <notesFlag>string</notesFlag>
            <operatorInitials>string</operatorInitials>
            <operInit>string</operInit>
            <optionalWords>string</optionalWords>
            <pricingRecordNumber>int</pricingRecordNumber>
            <priceDiscountingFlag>boolean</priceDiscountingFlag>
            <priceCostPer>string</priceCostPer>
            <price>double</price>
            <priceOverrideFlag>boolean</priceOverrideFlag>
            <productCode>string</productCode>
            <productCategory>string</productCategory>
            <productCost>double</productCost>
            <quantityAvailable>double</quantityAvailable>
            <quantityBreakType>string</quantityBreakType>
            <quantityOrdered>double</quantityOrdered>
            <quantityRecommended>double</quantityRecommended>
            <seasonalityType>string</seasonalityType>
            <sequenceNumber>int</sequenceNumber>
            <specialConversion>double</specialConversion>
            <specialCostType>string</specialCostType>
            <specialNonstockType>string</specialNonstockType>
            <statusMessage>string</statusMessage>
            <stockingQuantityOrdered>double</stockingQuantityOrdered>
            <stockingQuantityRecommended>double</stockingQuantityRecommended>
            <totalStockingQuantity>double</totalStockingQuantity>
            <transactionDate xsi:nil="true" />
            <transactionProcedure>string</transactionProcedure>
            <transactionTime>string</transactionTime>
            <unitOfMeasure>string</unitOfMeasure>
            <unitOfMeasureConversion>double</unitOfMeasureConversion>
            <weight>double</weight>
            <warehouse>string</warehouse>
          </OEGetShopListPastSales.output.Shoplist>
        </arrayShoplist>
      </OEGetShopListPastSalesResult>
    </OEGetShopListPastSalesResponse>
  </soap12:Body>
</soap12:Envelope>