SxApiService


Click here for a complete list of operations.

SFGetOEOrderData

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

<?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>
    <SFGetOEOrderData xmlns="Nxtrend.WS">
      <connectString>string</connectString>
      <userCode>string</userCode>
      <requestObject>
        <getOrderInfo>string</getOrderInfo>
        <customerNumber>double</customerNumber>
        <lookupType>string</lookupType>
        <sourceType>string</sourceType>
        <fromEntryDate>
          <year>int</year>
          <month>int</month>
          <date>int</date>
        </fromEntryDate>
        <toEntryDate>
          <year>int</year>
          <month>int</month>
          <date>int</date>
        </toEntryDate>
        <orderNumber>int</orderNumber>
        <orderSuffix>int</orderSuffix>
        <invoiceNumber>int</invoiceNumber>
        <customerPurchaseOrderNumber>string</customerPurchaseOrderNumber>
        <parentOrderNumber>int</parentOrderNumber>
        <guestFlag>string</guestFlag>
        <emailAddress>string</emailAddress>
        <historySequenceNumber>int</historySequenceNumber>
        <entryDate>
          <year>int</year>
          <month>int</month>
          <date>int</date>
        </entryDate>
      </requestObject>
    </SFGetOEOrderData>
  </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>
    <SFGetOEOrderDataResponse xmlns="Nxtrend.WS">
      <SFGetOEOrderDataResult>
        <errorMessage>string</errorMessage>
        <arrayHeader>
          <SFGetOEOrderData.output.Header>
            <companyNumber>int</companyNumber>
            <customerNumber>double</customerNumber>
            <orderNumber>string</orderNumber>
            <orderSuffix>int</orderSuffix>
            <orderType>string</orderType>
            <orderStatus>string</orderStatus>
            <customerName>string</customerName>
            <customerAddress1>string</customerAddress1>
            <customerAddress2>string</customerAddress2>
            <customerAddress3>string</customerAddress3>
            <customerAddress4>string</customerAddress4>
            <billToCity>string</billToCity>
            <billToState>string</billToState>
            <billToZipCode>string</billToZipCode>
            <billToCountry>string</billToCountry>
            <billToContact>string</billToContact>
            <shipToNumber>string</shipToNumber>
            <shipToName>string</shipToName>
            <shipToAddress1>string</shipToAddress1>
            <shipToAddress2>string</shipToAddress2>
            <shipToAddress3>string</shipToAddress3>
            <shipToAddress4>string</shipToAddress4>
            <shipToCity>string</shipToCity>
            <shipToState>string</shipToState>
            <shipToZipCode>string</shipToZipCode>
            <shipToCountry>string</shipToCountry>
            <contact>string</contact>
            <parentOrderNumber>int</parentOrderNumber>
            <entryDate xsi:nil="true" />
            <acknowledgePrintDate xsi:nil="true" />
            <pickSlipPrintDate xsi:nil="true" />
            <shipConfirmDate xsi:nil="true" />
            <invoicePrintDate xsi:nil="true" />
            <quoteReviewDate xsi:nil="true" />
            <completeShipCode>string</completeShipCode>
            <backorderCode>string</backorderCode>
            <requestedShipDate xsi:nil="true" />
            <invoiceDate xsi:nil="true" />
            <customerPurchaseOrderNumber>string</customerPurchaseOrderNumber>
            <itemSalesAmount>double</itemSalesAmount>
            <totalSpecialCharges>double</totalSpecialCharges>
            <discountAmountTrading>double</discountAmountTrading>
            <salesTaxAmount>double</salesTaxAmount>
            <federalExciseAmount>double</federalExciseAmount>
            <totalContainerCharge>double</totalContainerCharge>
            <invoiceAmount>double</invoiceAmount>
            <totalOrderValue>double</totalOrderValue>
            <carrierCode>string</carrierCode>
            <cancelDate xsi:nil="true" />
            <proNumber>string</proNumber>
            <billOfLadingNumber>string</billOfLadingNumber>
            <warehouseID>string</warehouseID>
            <invoiceNumber>int</invoiceNumber>
            <historySequenceNumber>int</historySequenceNumber>
            <holdCode>string</holdCode>
            <workStationID>string</workStationID>
            <currencyCode>string</currencyCode>
            <exchangeCode>string</exchangeCode>
            <boxIndicatorCode>string</boxIndicatorCode>
            <smsPrefix>string</smsPrefix>
          </SFGetOEOrderData.output.Header>
          <SFGetOEOrderData.output.Header>
            <companyNumber>int</companyNumber>
            <customerNumber>double</customerNumber>
            <orderNumber>string</orderNumber>
            <orderSuffix>int</orderSuffix>
            <orderType>string</orderType>
            <orderStatus>string</orderStatus>
            <customerName>string</customerName>
            <customerAddress1>string</customerAddress1>
            <customerAddress2>string</customerAddress2>
            <customerAddress3>string</customerAddress3>
            <customerAddress4>string</customerAddress4>
            <billToCity>string</billToCity>
            <billToState>string</billToState>
            <billToZipCode>string</billToZipCode>
            <billToCountry>string</billToCountry>
            <billToContact>string</billToContact>
            <shipToNumber>string</shipToNumber>
            <shipToName>string</shipToName>
            <shipToAddress1>string</shipToAddress1>
            <shipToAddress2>string</shipToAddress2>
            <shipToAddress3>string</shipToAddress3>
            <shipToAddress4>string</shipToAddress4>
            <shipToCity>string</shipToCity>
            <shipToState>string</shipToState>
            <shipToZipCode>string</shipToZipCode>
            <shipToCountry>string</shipToCountry>
            <contact>string</contact>
            <parentOrderNumber>int</parentOrderNumber>
            <entryDate xsi:nil="true" />
            <acknowledgePrintDate xsi:nil="true" />
            <pickSlipPrintDate xsi:nil="true" />
            <shipConfirmDate xsi:nil="true" />
            <invoicePrintDate xsi:nil="true" />
            <quoteReviewDate xsi:nil="true" />
            <completeShipCode>string</completeShipCode>
            <backorderCode>string</backorderCode>
            <requestedShipDate xsi:nil="true" />
            <invoiceDate xsi:nil="true" />
            <customerPurchaseOrderNumber>string</customerPurchaseOrderNumber>
            <itemSalesAmount>double</itemSalesAmount>
            <totalSpecialCharges>double</totalSpecialCharges>
            <discountAmountTrading>double</discountAmountTrading>
            <salesTaxAmount>double</salesTaxAmount>
            <federalExciseAmount>double</federalExciseAmount>
            <totalContainerCharge>double</totalContainerCharge>
            <invoiceAmount>double</invoiceAmount>
            <totalOrderValue>double</totalOrderValue>
            <carrierCode>string</carrierCode>
            <cancelDate xsi:nil="true" />
            <proNumber>string</proNumber>
            <billOfLadingNumber>string</billOfLadingNumber>
            <warehouseID>string</warehouseID>
            <invoiceNumber>int</invoiceNumber>
            <historySequenceNumber>int</historySequenceNumber>
            <holdCode>string</holdCode>
            <workStationID>string</workStationID>
            <currencyCode>string</currencyCode>
            <exchangeCode>string</exchangeCode>
            <boxIndicatorCode>string</boxIndicatorCode>
            <smsPrefix>string</smsPrefix>
          </SFGetOEOrderData.output.Header>
        </arrayHeader>
        <arrayLine>
          <SFGetOEOrderData.output.Line>
            <companyNumber>int</companyNumber>
            <customerNumber>double</customerNumber>
            <orderNumber>string</orderNumber>
            <orderSuffix>int</orderSuffix>
            <lineNumer>int</lineNumer>
            <orderSequenceNumber>int</orderSequenceNumber>
            <itemNumber>string</itemNumber>
            <itemDescription1>string</itemDescription1>
            <itemDescription2>string</itemDescription2>
            <quantityOrdered>double</quantityOrdered>
            <quantityShipped>double</quantityShipped>
            <quantityBackordered>double</quantityBackordered>
            <unitOfMeasure>string</unitOfMeasure>
            <customerOrderUM>string</customerOrderUM>
            <pricingUM>string</pricingUM>
            <customerPricingUM>string</customerPricingUM>
            <listPrice>double</listPrice>
            <actualSellPrice>double</actualSellPrice>
            <totalLineAmount>double</totalLineAmount>
            <dueDate xsi:nil="true" />
            <requestedProduct>string</requestedProduct>
            <entrySequenceNumber>int</entrySequenceNumber>
            <itemType>string</itemType>
            <internalSequenceNumber>int</internalSequenceNumber>
          </SFGetOEOrderData.output.Line>
          <SFGetOEOrderData.output.Line>
            <companyNumber>int</companyNumber>
            <customerNumber>double</customerNumber>
            <orderNumber>string</orderNumber>
            <orderSuffix>int</orderSuffix>
            <lineNumer>int</lineNumer>
            <orderSequenceNumber>int</orderSequenceNumber>
            <itemNumber>string</itemNumber>
            <itemDescription1>string</itemDescription1>
            <itemDescription2>string</itemDescription2>
            <quantityOrdered>double</quantityOrdered>
            <quantityShipped>double</quantityShipped>
            <quantityBackordered>double</quantityBackordered>
            <unitOfMeasure>string</unitOfMeasure>
            <customerOrderUM>string</customerOrderUM>
            <pricingUM>string</pricingUM>
            <customerPricingUM>string</customerPricingUM>
            <listPrice>double</listPrice>
            <actualSellPrice>double</actualSellPrice>
            <totalLineAmount>double</totalLineAmount>
            <dueDate xsi:nil="true" />
            <requestedProduct>string</requestedProduct>
            <entrySequenceNumber>int</entrySequenceNumber>
            <itemType>string</itemType>
            <internalSequenceNumber>int</internalSequenceNumber>
          </SFGetOEOrderData.output.Line>
        </arrayLine>
      </SFGetOEOrderDataResult>
    </SFGetOEOrderDataResponse>
  </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>
    <SFGetOEOrderData xmlns="Nxtrend.WS">
      <connectString>string</connectString>
      <userCode>string</userCode>
      <requestObject>
        <getOrderInfo>string</getOrderInfo>
        <customerNumber>double</customerNumber>
        <lookupType>string</lookupType>
        <sourceType>string</sourceType>
        <fromEntryDate>
          <year>int</year>
          <month>int</month>
          <date>int</date>
        </fromEntryDate>
        <toEntryDate>
          <year>int</year>
          <month>int</month>
          <date>int</date>
        </toEntryDate>
        <orderNumber>int</orderNumber>
        <orderSuffix>int</orderSuffix>
        <invoiceNumber>int</invoiceNumber>
        <customerPurchaseOrderNumber>string</customerPurchaseOrderNumber>
        <parentOrderNumber>int</parentOrderNumber>
        <guestFlag>string</guestFlag>
        <emailAddress>string</emailAddress>
        <historySequenceNumber>int</historySequenceNumber>
        <entryDate>
          <year>int</year>
          <month>int</month>
          <date>int</date>
        </entryDate>
      </requestObject>
    </SFGetOEOrderData>
  </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>
    <SFGetOEOrderDataResponse xmlns="Nxtrend.WS">
      <SFGetOEOrderDataResult>
        <errorMessage>string</errorMessage>
        <arrayHeader>
          <SFGetOEOrderData.output.Header>
            <companyNumber>int</companyNumber>
            <customerNumber>double</customerNumber>
            <orderNumber>string</orderNumber>
            <orderSuffix>int</orderSuffix>
            <orderType>string</orderType>
            <orderStatus>string</orderStatus>
            <customerName>string</customerName>
            <customerAddress1>string</customerAddress1>
            <customerAddress2>string</customerAddress2>
            <customerAddress3>string</customerAddress3>
            <customerAddress4>string</customerAddress4>
            <billToCity>string</billToCity>
            <billToState>string</billToState>
            <billToZipCode>string</billToZipCode>
            <billToCountry>string</billToCountry>
            <billToContact>string</billToContact>
            <shipToNumber>string</shipToNumber>
            <shipToName>string</shipToName>
            <shipToAddress1>string</shipToAddress1>
            <shipToAddress2>string</shipToAddress2>
            <shipToAddress3>string</shipToAddress3>
            <shipToAddress4>string</shipToAddress4>
            <shipToCity>string</shipToCity>
            <shipToState>string</shipToState>
            <shipToZipCode>string</shipToZipCode>
            <shipToCountry>string</shipToCountry>
            <contact>string</contact>
            <parentOrderNumber>int</parentOrderNumber>
            <entryDate xsi:nil="true" />
            <acknowledgePrintDate xsi:nil="true" />
            <pickSlipPrintDate xsi:nil="true" />
            <shipConfirmDate xsi:nil="true" />
            <invoicePrintDate xsi:nil="true" />
            <quoteReviewDate xsi:nil="true" />
            <completeShipCode>string</completeShipCode>
            <backorderCode>string</backorderCode>
            <requestedShipDate xsi:nil="true" />
            <invoiceDate xsi:nil="true" />
            <customerPurchaseOrderNumber>string</customerPurchaseOrderNumber>
            <itemSalesAmount>double</itemSalesAmount>
            <totalSpecialCharges>double</totalSpecialCharges>
            <discountAmountTrading>double</discountAmountTrading>
            <salesTaxAmount>double</salesTaxAmount>
            <federalExciseAmount>double</federalExciseAmount>
            <totalContainerCharge>double</totalContainerCharge>
            <invoiceAmount>double</invoiceAmount>
            <totalOrderValue>double</totalOrderValue>
            <carrierCode>string</carrierCode>
            <cancelDate xsi:nil="true" />
            <proNumber>string</proNumber>
            <billOfLadingNumber>string</billOfLadingNumber>
            <warehouseID>string</warehouseID>
            <invoiceNumber>int</invoiceNumber>
            <historySequenceNumber>int</historySequenceNumber>
            <holdCode>string</holdCode>
            <workStationID>string</workStationID>
            <currencyCode>string</currencyCode>
            <exchangeCode>string</exchangeCode>
            <boxIndicatorCode>string</boxIndicatorCode>
            <smsPrefix>string</smsPrefix>
          </SFGetOEOrderData.output.Header>
          <SFGetOEOrderData.output.Header>
            <companyNumber>int</companyNumber>
            <customerNumber>double</customerNumber>
            <orderNumber>string</orderNumber>
            <orderSuffix>int</orderSuffix>
            <orderType>string</orderType>
            <orderStatus>string</orderStatus>
            <customerName>string</customerName>
            <customerAddress1>string</customerAddress1>
            <customerAddress2>string</customerAddress2>
            <customerAddress3>string</customerAddress3>
            <customerAddress4>string</customerAddress4>
            <billToCity>string</billToCity>
            <billToState>string</billToState>
            <billToZipCode>string</billToZipCode>
            <billToCountry>string</billToCountry>
            <billToContact>string</billToContact>
            <shipToNumber>string</shipToNumber>
            <shipToName>string</shipToName>
            <shipToAddress1>string</shipToAddress1>
            <shipToAddress2>string</shipToAddress2>
            <shipToAddress3>string</shipToAddress3>
            <shipToAddress4>string</shipToAddress4>
            <shipToCity>string</shipToCity>
            <shipToState>string</shipToState>
            <shipToZipCode>string</shipToZipCode>
            <shipToCountry>string</shipToCountry>
            <contact>string</contact>
            <parentOrderNumber>int</parentOrderNumber>
            <entryDate xsi:nil="true" />
            <acknowledgePrintDate xsi:nil="true" />
            <pickSlipPrintDate xsi:nil="true" />
            <shipConfirmDate xsi:nil="true" />
            <invoicePrintDate xsi:nil="true" />
            <quoteReviewDate xsi:nil="true" />
            <completeShipCode>string</completeShipCode>
            <backorderCode>string</backorderCode>
            <requestedShipDate xsi:nil="true" />
            <invoiceDate xsi:nil="true" />
            <customerPurchaseOrderNumber>string</customerPurchaseOrderNumber>
            <itemSalesAmount>double</itemSalesAmount>
            <totalSpecialCharges>double</totalSpecialCharges>
            <discountAmountTrading>double</discountAmountTrading>
            <salesTaxAmount>double</salesTaxAmount>
            <federalExciseAmount>double</federalExciseAmount>
            <totalContainerCharge>double</totalContainerCharge>
            <invoiceAmount>double</invoiceAmount>
            <totalOrderValue>double</totalOrderValue>
            <carrierCode>string</carrierCode>
            <cancelDate xsi:nil="true" />
            <proNumber>string</proNumber>
            <billOfLadingNumber>string</billOfLadingNumber>
            <warehouseID>string</warehouseID>
            <invoiceNumber>int</invoiceNumber>
            <historySequenceNumber>int</historySequenceNumber>
            <holdCode>string</holdCode>
            <workStationID>string</workStationID>
            <currencyCode>string</currencyCode>
            <exchangeCode>string</exchangeCode>
            <boxIndicatorCode>string</boxIndicatorCode>
            <smsPrefix>string</smsPrefix>
          </SFGetOEOrderData.output.Header>
        </arrayHeader>
        <arrayLine>
          <SFGetOEOrderData.output.Line>
            <companyNumber>int</companyNumber>
            <customerNumber>double</customerNumber>
            <orderNumber>string</orderNumber>
            <orderSuffix>int</orderSuffix>
            <lineNumer>int</lineNumer>
            <orderSequenceNumber>int</orderSequenceNumber>
            <itemNumber>string</itemNumber>
            <itemDescription1>string</itemDescription1>
            <itemDescription2>string</itemDescription2>
            <quantityOrdered>double</quantityOrdered>
            <quantityShipped>double</quantityShipped>
            <quantityBackordered>double</quantityBackordered>
            <unitOfMeasure>string</unitOfMeasure>
            <customerOrderUM>string</customerOrderUM>
            <pricingUM>string</pricingUM>
            <customerPricingUM>string</customerPricingUM>
            <listPrice>double</listPrice>
            <actualSellPrice>double</actualSellPrice>
            <totalLineAmount>double</totalLineAmount>
            <dueDate xsi:nil="true" />
            <requestedProduct>string</requestedProduct>
            <entrySequenceNumber>int</entrySequenceNumber>
            <itemType>string</itemType>
            <internalSequenceNumber>int</internalSequenceNumber>
          </SFGetOEOrderData.output.Line>
          <SFGetOEOrderData.output.Line>
            <companyNumber>int</companyNumber>
            <customerNumber>double</customerNumber>
            <orderNumber>string</orderNumber>
            <orderSuffix>int</orderSuffix>
            <lineNumer>int</lineNumer>
            <orderSequenceNumber>int</orderSequenceNumber>
            <itemNumber>string</itemNumber>
            <itemDescription1>string</itemDescription1>
            <itemDescription2>string</itemDescription2>
            <quantityOrdered>double</quantityOrdered>
            <quantityShipped>double</quantityShipped>
            <quantityBackordered>double</quantityBackordered>
            <unitOfMeasure>string</unitOfMeasure>
            <customerOrderUM>string</customerOrderUM>
            <pricingUM>string</pricingUM>
            <customerPricingUM>string</customerPricingUM>
            <listPrice>double</listPrice>
            <actualSellPrice>double</actualSellPrice>
            <totalLineAmount>double</totalLineAmount>
            <dueDate xsi:nil="true" />
            <requestedProduct>string</requestedProduct>
            <entrySequenceNumber>int</entrySequenceNumber>
            <itemType>string</itemType>
            <internalSequenceNumber>int</internalSequenceNumber>
          </SFGetOEOrderData.output.Line>
        </arrayLine>
      </SFGetOEOrderDataResult>
    </SFGetOEOrderDataResponse>
  </soap12:Body>
</soap12:Envelope>