SxApiService
Click here for a complete list of operations.
APGetVendorList
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/APGetVendorList"
<?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>
<APGetVendorList xmlns="Nxtrend.WS">
<connectString>string</connectString>
<userCode>string</userCode>
<requestObject>
<name>string</name>
<lookupName>string</lookupName>
<vendorNumber>double</vendorNumber>
<city>string</city>
<state>string</state>
<zipCd>string</zipCd>
<phone>string</phone>
<inactiveFlag>boolean</inactiveFlag>
<keyWord1>string</keyWord1>
<keyWord2>string</keyWord2>
<keyWord3>string</keyWord3>
<keyWord4>string</keyWord4>
<keyWord5>string</keyWord5>
<sort>string</sort>
<recordLimit>int</recordLimit>
</requestObject>
</APGetVendorList>
</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>
<APGetVendorListResponse xmlns="Nxtrend.WS">
<APGetVendorListResult>
<errorMessage>string</errorMessage>
<moreRecordsFlag>boolean</moreRecordsFlag>
<arrayVendor>
<APGetVendorList.output.Vendor>
<vendorNumber>double</vendorNumber>
<shipFrom>int</shipFrom>
<name>string</name>
<address1>string</address1>
<address2>string</address2>
<city>string</city>
<state>string</state>
<zipCd>string</zipCd>
<orderBalance>double</orderBalance>
<totalBalance>double</totalBalance>
<sortField>string</sortField>
</APGetVendorList.output.Vendor>
<APGetVendorList.output.Vendor>
<vendorNumber>double</vendorNumber>
<shipFrom>int</shipFrom>
<name>string</name>
<address1>string</address1>
<address2>string</address2>
<city>string</city>
<state>string</state>
<zipCd>string</zipCd>
<orderBalance>double</orderBalance>
<totalBalance>double</totalBalance>
<sortField>string</sortField>
</APGetVendorList.output.Vendor>
</arrayVendor>
</APGetVendorListResult>
</APGetVendorListResponse>
</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>
<APGetVendorList xmlns="Nxtrend.WS">
<connectString>string</connectString>
<userCode>string</userCode>
<requestObject>
<name>string</name>
<lookupName>string</lookupName>
<vendorNumber>double</vendorNumber>
<city>string</city>
<state>string</state>
<zipCd>string</zipCd>
<phone>string</phone>
<inactiveFlag>boolean</inactiveFlag>
<keyWord1>string</keyWord1>
<keyWord2>string</keyWord2>
<keyWord3>string</keyWord3>
<keyWord4>string</keyWord4>
<keyWord5>string</keyWord5>
<sort>string</sort>
<recordLimit>int</recordLimit>
</requestObject>
</APGetVendorList>
</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>
<APGetVendorListResponse xmlns="Nxtrend.WS">
<APGetVendorListResult>
<errorMessage>string</errorMessage>
<moreRecordsFlag>boolean</moreRecordsFlag>
<arrayVendor>
<APGetVendorList.output.Vendor>
<vendorNumber>double</vendorNumber>
<shipFrom>int</shipFrom>
<name>string</name>
<address1>string</address1>
<address2>string</address2>
<city>string</city>
<state>string</state>
<zipCd>string</zipCd>
<orderBalance>double</orderBalance>
<totalBalance>double</totalBalance>
<sortField>string</sortField>
</APGetVendorList.output.Vendor>
<APGetVendorList.output.Vendor>
<vendorNumber>double</vendorNumber>
<shipFrom>int</shipFrom>
<name>string</name>
<address1>string</address1>
<address2>string</address2>
<city>string</city>
<state>string</state>
<zipCd>string</zipCd>
<orderBalance>double</orderBalance>
<totalBalance>double</totalBalance>
<sortField>string</sortField>
</APGetVendorList.output.Vendor>
</arrayVendor>
</APGetVendorListResult>
</APGetVendorListResponse>
</soap12:Body>
</soap12:Envelope>