SxApiService


Click here for a complete list of operations.

POGetListOfPurchaseOrders

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

<?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>
    <POGetListOfPurchaseOrders xmlns="Nxtrend.WS">
      <connectString>string</connectString>
      <userCode>string</userCode>
      <requestObject>
        <vendorNumber>double</vendorNumber>
        <shipFromNumber>int</shipFromNumber>
        <whse>string</whse>
        <transactionType>string</transactionType>
        <product>string</product>
        <buyer>string</buyer>
        <trackerNumber>int</trackerNumber>
        <containerNumber>string</containerNumber>
        <beginStage>int</beginStage>
        <endStage>int</endStage>
        <beginCostedDate>
          <year>int</year>
          <month>int</month>
          <date>int</date>
        </beginCostedDate>
        <endCostedDate>
          <year>int</year>
          <month>int</month>
          <date>int</date>
        </endCostedDate>
        <beginPaidDate>
          <year>int</year>
          <month>int</month>
          <date>int</date>
        </beginPaidDate>
        <endPaidDate>
          <year>int</year>
          <month>int</month>
          <date>int</date>
        </endPaidDate>
        <beginDueDate>
          <year>int</year>
          <month>int</month>
          <date>int</date>
        </beginDueDate>
        <endDueDate>
          <year>int</year>
          <month>int</month>
          <date>int</date>
        </endDueDate>
        <beginPrintedDate>
          <year>int</year>
          <month>int</month>
          <date>int</date>
        </beginPrintedDate>
        <endPrintedDate>
          <year>int</year>
          <month>int</month>
          <date>int</date>
        </endPrintedDate>
        <beginEnteredDate>
          <year>int</year>
          <month>int</month>
          <date>int</date>
        </beginEnteredDate>
        <endEnteredDate>
          <year>int</year>
          <month>int</month>
          <date>int</date>
        </endEnteredDate>
        <beginReceiptDate>
          <year>int</year>
          <month>int</month>
          <date>int</date>
        </beginReceiptDate>
        <endReceiptDate>
          <year>int</year>
          <month>int</month>
          <date>int</date>
        </endReceiptDate>
        <beginOrderedDate>
          <year>int</year>
          <month>int</month>
          <date>int</date>
        </beginOrderedDate>
        <endOrderedDate>
          <year>int</year>
          <month>int</month>
          <date>int</date>
        </endOrderedDate>
        <beginRequestedShipDate>
          <year>int</year>
          <month>int</month>
          <date>int</date>
        </beginRequestedShipDate>
        <endRequestedShipDate>
          <year>int</year>
          <month>int</month>
          <date>int</date>
        </endRequestedShipDate>
        <sort1>string</sort1>
        <sort2>string</sort2>
        <recordLimit>int</recordLimit>
      </requestObject>
    </POGetListOfPurchaseOrders>
  </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>
    <POGetListOfPurchaseOrdersResponse xmlns="Nxtrend.WS">
      <POGetListOfPurchaseOrdersResult>
        <errorMessage>string</errorMessage>
        <moreRecordsFlag>boolean</moreRecordsFlag>
        <arrayPurchaseorder>
          <POGetListOfPurchaseOrders.output.Purchaseorder>
            <purchaseOrderNumber>int</purchaseOrderNumber>
            <purchaseOrderSuffix>int</purchaseOrderSuffix>
            <notesFlag>string</notesFlag>
            <vendorNumber>double</vendorNumber>
            <shipFromNumber>int</shipFromNumber>
            <whse>string</whse>
            <transactionType>string</transactionType>
            <stageCode>int</stageCode>
            <stageCodeWords>string</stageCodeWords>
            <buyer>string</buyer>
            <costedDate xsi:nil="true" />
            <dueDate xsi:nil="true" />
            <enteredDate xsi:nil="true" />
            <orderedDate xsi:nil="true" />
            <paidDate xsi:nil="true" />
            <printedDate xsi:nil="true" />
            <receiptDate xsi:nil="true" />
            <requestedShipDate xsi:nil="true" />
            <totalQtyOrdered>double</totalQtyOrdered>
            <sortField>string</sortField>
          </POGetListOfPurchaseOrders.output.Purchaseorder>
          <POGetListOfPurchaseOrders.output.Purchaseorder>
            <purchaseOrderNumber>int</purchaseOrderNumber>
            <purchaseOrderSuffix>int</purchaseOrderSuffix>
            <notesFlag>string</notesFlag>
            <vendorNumber>double</vendorNumber>
            <shipFromNumber>int</shipFromNumber>
            <whse>string</whse>
            <transactionType>string</transactionType>
            <stageCode>int</stageCode>
            <stageCodeWords>string</stageCodeWords>
            <buyer>string</buyer>
            <costedDate xsi:nil="true" />
            <dueDate xsi:nil="true" />
            <enteredDate xsi:nil="true" />
            <orderedDate xsi:nil="true" />
            <paidDate xsi:nil="true" />
            <printedDate xsi:nil="true" />
            <receiptDate xsi:nil="true" />
            <requestedShipDate xsi:nil="true" />
            <totalQtyOrdered>double</totalQtyOrdered>
            <sortField>string</sortField>
          </POGetListOfPurchaseOrders.output.Purchaseorder>
        </arrayPurchaseorder>
      </POGetListOfPurchaseOrdersResult>
    </POGetListOfPurchaseOrdersResponse>
  </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>
    <POGetListOfPurchaseOrders xmlns="Nxtrend.WS">
      <connectString>string</connectString>
      <userCode>string</userCode>
      <requestObject>
        <vendorNumber>double</vendorNumber>
        <shipFromNumber>int</shipFromNumber>
        <whse>string</whse>
        <transactionType>string</transactionType>
        <product>string</product>
        <buyer>string</buyer>
        <trackerNumber>int</trackerNumber>
        <containerNumber>string</containerNumber>
        <beginStage>int</beginStage>
        <endStage>int</endStage>
        <beginCostedDate>
          <year>int</year>
          <month>int</month>
          <date>int</date>
        </beginCostedDate>
        <endCostedDate>
          <year>int</year>
          <month>int</month>
          <date>int</date>
        </endCostedDate>
        <beginPaidDate>
          <year>int</year>
          <month>int</month>
          <date>int</date>
        </beginPaidDate>
        <endPaidDate>
          <year>int</year>
          <month>int</month>
          <date>int</date>
        </endPaidDate>
        <beginDueDate>
          <year>int</year>
          <month>int</month>
          <date>int</date>
        </beginDueDate>
        <endDueDate>
          <year>int</year>
          <month>int</month>
          <date>int</date>
        </endDueDate>
        <beginPrintedDate>
          <year>int</year>
          <month>int</month>
          <date>int</date>
        </beginPrintedDate>
        <endPrintedDate>
          <year>int</year>
          <month>int</month>
          <date>int</date>
        </endPrintedDate>
        <beginEnteredDate>
          <year>int</year>
          <month>int</month>
          <date>int</date>
        </beginEnteredDate>
        <endEnteredDate>
          <year>int</year>
          <month>int</month>
          <date>int</date>
        </endEnteredDate>
        <beginReceiptDate>
          <year>int</year>
          <month>int</month>
          <date>int</date>
        </beginReceiptDate>
        <endReceiptDate>
          <year>int</year>
          <month>int</month>
          <date>int</date>
        </endReceiptDate>
        <beginOrderedDate>
          <year>int</year>
          <month>int</month>
          <date>int</date>
        </beginOrderedDate>
        <endOrderedDate>
          <year>int</year>
          <month>int</month>
          <date>int</date>
        </endOrderedDate>
        <beginRequestedShipDate>
          <year>int</year>
          <month>int</month>
          <date>int</date>
        </beginRequestedShipDate>
        <endRequestedShipDate>
          <year>int</year>
          <month>int</month>
          <date>int</date>
        </endRequestedShipDate>
        <sort1>string</sort1>
        <sort2>string</sort2>
        <recordLimit>int</recordLimit>
      </requestObject>
    </POGetListOfPurchaseOrders>
  </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>
    <POGetListOfPurchaseOrdersResponse xmlns="Nxtrend.WS">
      <POGetListOfPurchaseOrdersResult>
        <errorMessage>string</errorMessage>
        <moreRecordsFlag>boolean</moreRecordsFlag>
        <arrayPurchaseorder>
          <POGetListOfPurchaseOrders.output.Purchaseorder>
            <purchaseOrderNumber>int</purchaseOrderNumber>
            <purchaseOrderSuffix>int</purchaseOrderSuffix>
            <notesFlag>string</notesFlag>
            <vendorNumber>double</vendorNumber>
            <shipFromNumber>int</shipFromNumber>
            <whse>string</whse>
            <transactionType>string</transactionType>
            <stageCode>int</stageCode>
            <stageCodeWords>string</stageCodeWords>
            <buyer>string</buyer>
            <costedDate xsi:nil="true" />
            <dueDate xsi:nil="true" />
            <enteredDate xsi:nil="true" />
            <orderedDate xsi:nil="true" />
            <paidDate xsi:nil="true" />
            <printedDate xsi:nil="true" />
            <receiptDate xsi:nil="true" />
            <requestedShipDate xsi:nil="true" />
            <totalQtyOrdered>double</totalQtyOrdered>
            <sortField>string</sortField>
          </POGetListOfPurchaseOrders.output.Purchaseorder>
          <POGetListOfPurchaseOrders.output.Purchaseorder>
            <purchaseOrderNumber>int</purchaseOrderNumber>
            <purchaseOrderSuffix>int</purchaseOrderSuffix>
            <notesFlag>string</notesFlag>
            <vendorNumber>double</vendorNumber>
            <shipFromNumber>int</shipFromNumber>
            <whse>string</whse>
            <transactionType>string</transactionType>
            <stageCode>int</stageCode>
            <stageCodeWords>string</stageCodeWords>
            <buyer>string</buyer>
            <costedDate xsi:nil="true" />
            <dueDate xsi:nil="true" />
            <enteredDate xsi:nil="true" />
            <orderedDate xsi:nil="true" />
            <paidDate xsi:nil="true" />
            <printedDate xsi:nil="true" />
            <receiptDate xsi:nil="true" />
            <requestedShipDate xsi:nil="true" />
            <totalQtyOrdered>double</totalQtyOrdered>
            <sortField>string</sortField>
          </POGetListOfPurchaseOrders.output.Purchaseorder>
        </arrayPurchaseorder>
      </POGetListOfPurchaseOrdersResult>
    </POGetListOfPurchaseOrdersResponse>
  </soap12:Body>
</soap12:Envelope>