SxApiService


Click here for a complete list of operations.

EMGetTransactionList

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

<?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>
    <EMGetTransactionList xmlns="Nxtrend.WS">
      <connectString>string</connectString>
      <userCode>string</userCode>
      <requestObject>
        <eventDate>
          <year>int</year>
          <month>int</month>
          <date>int</date>
        </eventDate>
        <eventName>string</eventName>
        <extractSubFields>boolean</extractSubFields>
        <formatNotes>boolean</formatNotes>
        <delimiterCharacter>string</delimiterCharacter>
        <recordLimit>int</recordLimit>
      </requestObject>
    </EMGetTransactionList>
  </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>
    <EMGetTransactionListResponse xmlns="Nxtrend.WS">
      <EMGetTransactionListResult>
        <errorMessage>string</errorMessage>
        <arrayEvent>
          <EMGetTransactionList.output.Event>
            <recordType>string</recordType>
            <amount>double</amount>
            <companyNumber>int</companyNumber>
            <contactID>double</contactID>
            <contactName>string</contactName>
            <customerNumber>double</customerNumber>
            <customerName>string</customerName>
            <documentType>string</documentType>
            <documentOrderNumber>string</documentOrderNumber>
            <eventDate xsi:nil="true" />
            <eventName>string</eventName>
            <eventDescription>string</eventDescription>
            <eventTime>string</eventTime>
            <journalNumber>int</journalNumber>
            <lineNumber>int</lineNumber>
            <operator>string</operator>
            <operatorEmailAddress>string</operatorEmailAddress>
            <price>double</price>
            <productCode>string</productCode>
            <productCategory>string</productCategory>
            <productCategoryDescription>string</productCategoryDescription>
            <productCost>double</productCost>
            <productDescription>string</productDescription>
            <productDescription2>string</productDescription2>
            <quantityOrdered>double</quantityOrdered>
            <quantityShipped>double</quantityShipped>
            <eventProgressID>int</eventProgressID>
            <reference>string</reference>
            <region>string</region>
            <shipFromNumber>int</shipFromNumber>
            <shipTo>string</shipTo>
            <salesRepIn>string</salesRepIn>
            <salesRepOut>string</salesRepOut>
            <stageCode>int</stageCode>
            <stockingQuantityOrdered>double</stockingQuantityOrdered>
            <stockingQuantityShip>double</stockingQuantityShip>
            <transactionType>string</transactionType>
            <unit>string</unit>
            <unitConversion>double</unitConversion>
            <vendorNumbr>double</vendorNumbr>
            <vendorName>string</vendorName>
            <warehouse>string</warehouse>
            <contactSubjectEmailAddress>string</contactSubjectEmailAddress>
            <camActivityCode>string</camActivityCode>
            <camActivityCodeDescription>string</camActivityCodeDescription>
            <cmActivityCode>string</cmActivityCode>
            <cmActivityCodeDescription>string</cmActivityCodeDescription>
            <prospectNumber>double</prospectNumber>
            <emailSubjectLine>string</emailSubjectLine>
            <emailBodyText>string</emailBodyText>
            <comment>string</comment>
            <subFields>string</subFields>
            <notesData>string</notesData>
          </EMGetTransactionList.output.Event>
          <EMGetTransactionList.output.Event>
            <recordType>string</recordType>
            <amount>double</amount>
            <companyNumber>int</companyNumber>
            <contactID>double</contactID>
            <contactName>string</contactName>
            <customerNumber>double</customerNumber>
            <customerName>string</customerName>
            <documentType>string</documentType>
            <documentOrderNumber>string</documentOrderNumber>
            <eventDate xsi:nil="true" />
            <eventName>string</eventName>
            <eventDescription>string</eventDescription>
            <eventTime>string</eventTime>
            <journalNumber>int</journalNumber>
            <lineNumber>int</lineNumber>
            <operator>string</operator>
            <operatorEmailAddress>string</operatorEmailAddress>
            <price>double</price>
            <productCode>string</productCode>
            <productCategory>string</productCategory>
            <productCategoryDescription>string</productCategoryDescription>
            <productCost>double</productCost>
            <productDescription>string</productDescription>
            <productDescription2>string</productDescription2>
            <quantityOrdered>double</quantityOrdered>
            <quantityShipped>double</quantityShipped>
            <eventProgressID>int</eventProgressID>
            <reference>string</reference>
            <region>string</region>
            <shipFromNumber>int</shipFromNumber>
            <shipTo>string</shipTo>
            <salesRepIn>string</salesRepIn>
            <salesRepOut>string</salesRepOut>
            <stageCode>int</stageCode>
            <stockingQuantityOrdered>double</stockingQuantityOrdered>
            <stockingQuantityShip>double</stockingQuantityShip>
            <transactionType>string</transactionType>
            <unit>string</unit>
            <unitConversion>double</unitConversion>
            <vendorNumbr>double</vendorNumbr>
            <vendorName>string</vendorName>
            <warehouse>string</warehouse>
            <contactSubjectEmailAddress>string</contactSubjectEmailAddress>
            <camActivityCode>string</camActivityCode>
            <camActivityCodeDescription>string</camActivityCodeDescription>
            <cmActivityCode>string</cmActivityCode>
            <cmActivityCodeDescription>string</cmActivityCodeDescription>
            <prospectNumber>double</prospectNumber>
            <emailSubjectLine>string</emailSubjectLine>
            <emailBodyText>string</emailBodyText>
            <comment>string</comment>
            <subFields>string</subFields>
            <notesData>string</notesData>
          </EMGetTransactionList.output.Event>
        </arrayEvent>
        <moreRecordsFlag>boolean</moreRecordsFlag>
      </EMGetTransactionListResult>
    </EMGetTransactionListResponse>
  </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>
    <EMGetTransactionList xmlns="Nxtrend.WS">
      <connectString>string</connectString>
      <userCode>string</userCode>
      <requestObject>
        <eventDate>
          <year>int</year>
          <month>int</month>
          <date>int</date>
        </eventDate>
        <eventName>string</eventName>
        <extractSubFields>boolean</extractSubFields>
        <formatNotes>boolean</formatNotes>
        <delimiterCharacter>string</delimiterCharacter>
        <recordLimit>int</recordLimit>
      </requestObject>
    </EMGetTransactionList>
  </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>
    <EMGetTransactionListResponse xmlns="Nxtrend.WS">
      <EMGetTransactionListResult>
        <errorMessage>string</errorMessage>
        <arrayEvent>
          <EMGetTransactionList.output.Event>
            <recordType>string</recordType>
            <amount>double</amount>
            <companyNumber>int</companyNumber>
            <contactID>double</contactID>
            <contactName>string</contactName>
            <customerNumber>double</customerNumber>
            <customerName>string</customerName>
            <documentType>string</documentType>
            <documentOrderNumber>string</documentOrderNumber>
            <eventDate xsi:nil="true" />
            <eventName>string</eventName>
            <eventDescription>string</eventDescription>
            <eventTime>string</eventTime>
            <journalNumber>int</journalNumber>
            <lineNumber>int</lineNumber>
            <operator>string</operator>
            <operatorEmailAddress>string</operatorEmailAddress>
            <price>double</price>
            <productCode>string</productCode>
            <productCategory>string</productCategory>
            <productCategoryDescription>string</productCategoryDescription>
            <productCost>double</productCost>
            <productDescription>string</productDescription>
            <productDescription2>string</productDescription2>
            <quantityOrdered>double</quantityOrdered>
            <quantityShipped>double</quantityShipped>
            <eventProgressID>int</eventProgressID>
            <reference>string</reference>
            <region>string</region>
            <shipFromNumber>int</shipFromNumber>
            <shipTo>string</shipTo>
            <salesRepIn>string</salesRepIn>
            <salesRepOut>string</salesRepOut>
            <stageCode>int</stageCode>
            <stockingQuantityOrdered>double</stockingQuantityOrdered>
            <stockingQuantityShip>double</stockingQuantityShip>
            <transactionType>string</transactionType>
            <unit>string</unit>
            <unitConversion>double</unitConversion>
            <vendorNumbr>double</vendorNumbr>
            <vendorName>string</vendorName>
            <warehouse>string</warehouse>
            <contactSubjectEmailAddress>string</contactSubjectEmailAddress>
            <camActivityCode>string</camActivityCode>
            <camActivityCodeDescription>string</camActivityCodeDescription>
            <cmActivityCode>string</cmActivityCode>
            <cmActivityCodeDescription>string</cmActivityCodeDescription>
            <prospectNumber>double</prospectNumber>
            <emailSubjectLine>string</emailSubjectLine>
            <emailBodyText>string</emailBodyText>
            <comment>string</comment>
            <subFields>string</subFields>
            <notesData>string</notesData>
          </EMGetTransactionList.output.Event>
          <EMGetTransactionList.output.Event>
            <recordType>string</recordType>
            <amount>double</amount>
            <companyNumber>int</companyNumber>
            <contactID>double</contactID>
            <contactName>string</contactName>
            <customerNumber>double</customerNumber>
            <customerName>string</customerName>
            <documentType>string</documentType>
            <documentOrderNumber>string</documentOrderNumber>
            <eventDate xsi:nil="true" />
            <eventName>string</eventName>
            <eventDescription>string</eventDescription>
            <eventTime>string</eventTime>
            <journalNumber>int</journalNumber>
            <lineNumber>int</lineNumber>
            <operator>string</operator>
            <operatorEmailAddress>string</operatorEmailAddress>
            <price>double</price>
            <productCode>string</productCode>
            <productCategory>string</productCategory>
            <productCategoryDescription>string</productCategoryDescription>
            <productCost>double</productCost>
            <productDescription>string</productDescription>
            <productDescription2>string</productDescription2>
            <quantityOrdered>double</quantityOrdered>
            <quantityShipped>double</quantityShipped>
            <eventProgressID>int</eventProgressID>
            <reference>string</reference>
            <region>string</region>
            <shipFromNumber>int</shipFromNumber>
            <shipTo>string</shipTo>
            <salesRepIn>string</salesRepIn>
            <salesRepOut>string</salesRepOut>
            <stageCode>int</stageCode>
            <stockingQuantityOrdered>double</stockingQuantityOrdered>
            <stockingQuantityShip>double</stockingQuantityShip>
            <transactionType>string</transactionType>
            <unit>string</unit>
            <unitConversion>double</unitConversion>
            <vendorNumbr>double</vendorNumbr>
            <vendorName>string</vendorName>
            <warehouse>string</warehouse>
            <contactSubjectEmailAddress>string</contactSubjectEmailAddress>
            <camActivityCode>string</camActivityCode>
            <camActivityCodeDescription>string</camActivityCodeDescription>
            <cmActivityCode>string</cmActivityCode>
            <cmActivityCodeDescription>string</cmActivityCodeDescription>
            <prospectNumber>double</prospectNumber>
            <emailSubjectLine>string</emailSubjectLine>
            <emailBodyText>string</emailBodyText>
            <comment>string</comment>
            <subFields>string</subFields>
            <notesData>string</notesData>
          </EMGetTransactionList.output.Event>
        </arrayEvent>
        <moreRecordsFlag>boolean</moreRecordsFlag>
      </EMGetTransactionListResult>
    </EMGetTransactionListResponse>
  </soap12:Body>
</soap12:Envelope>