SxApiService
Click here for a complete list of operations.
ESalesPunchOutReq
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/ESalesPunchOutReq"
<?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>
<ESalesPunchOutReq xmlns="Nxtrend.WS">
<connectString>string</connectString>
<userCode>string</userCode>
<requestObject>
<arrayRequest>
<ESalesPunchOutReq.input.Request>
<sessionNumber>int</sessionNumber>
<senderId>string</senderId>
<senderPassword>string</senderPassword>
<senderDomain>string</senderDomain>
<senderAgent>string</senderAgent>
<buyerId>string</buyerId>
<buyerDomain>string</buyerDomain>
<requestOperation>string</requestOperation>
<requestCookie>string</requestCookie>
<requestUserId>string</requestUserId>
<requestPassword>string</requestPassword>
<eSalesUrl>string</eSalesUrl>
<customerNumber>string</customerNumber>
<shipTo>string</shipTo>
<shipToAddress1>string</shipToAddress1>
<shipToAddress2>string</shipToAddress2>
<shipToCity>string</shipToCity>
<shipToPostalCode>string</shipToPostalCode>
<shipToState>string</shipToState>
<shipToCountry>string</shipToCountry>
<shipToDeliverTo>string</shipToDeliverTo>
<companyNumber>string</companyNumber>
<warehouse>string</warehouse>
<orderNumber>string</orderNumber>
<orderSuffix>string</orderSuffix>
<productCode>string</productCode>
<user1>string</user1>
<user2>string</user2>
<user3>string</user3>
<user4>string</user4>
<user5>string</user5>
<user6>string</user6>
<user7>string</user7>
<user8>string</user8>
<user9>string</user9>
<user10>string</user10>
</ESalesPunchOutReq.input.Request>
<ESalesPunchOutReq.input.Request>
<sessionNumber>int</sessionNumber>
<senderId>string</senderId>
<senderPassword>string</senderPassword>
<senderDomain>string</senderDomain>
<senderAgent>string</senderAgent>
<buyerId>string</buyerId>
<buyerDomain>string</buyerDomain>
<requestOperation>string</requestOperation>
<requestCookie>string</requestCookie>
<requestUserId>string</requestUserId>
<requestPassword>string</requestPassword>
<eSalesUrl>string</eSalesUrl>
<customerNumber>string</customerNumber>
<shipTo>string</shipTo>
<shipToAddress1>string</shipToAddress1>
<shipToAddress2>string</shipToAddress2>
<shipToCity>string</shipToCity>
<shipToPostalCode>string</shipToPostalCode>
<shipToState>string</shipToState>
<shipToCountry>string</shipToCountry>
<shipToDeliverTo>string</shipToDeliverTo>
<companyNumber>string</companyNumber>
<warehouse>string</warehouse>
<orderNumber>string</orderNumber>
<orderSuffix>string</orderSuffix>
<productCode>string</productCode>
<user1>string</user1>
<user2>string</user2>
<user3>string</user3>
<user4>string</user4>
<user5>string</user5>
<user6>string</user6>
<user7>string</user7>
<user8>string</user8>
<user9>string</user9>
<user10>string</user10>
</ESalesPunchOutReq.input.Request>
</arrayRequest>
</requestObject>
</ESalesPunchOutReq>
</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>
<ESalesPunchOutReqResponse xmlns="Nxtrend.WS">
<ESalesPunchOutReqResult>
<errorMessage>string</errorMessage>
<arrayResponse>
<ESalesPunchOutReq.output.Response>
<companyNumber>string</companyNumber>
<sessionNumber>int</sessionNumber>
<hostName>string</hostName>
<queryString>string</queryString>
</ESalesPunchOutReq.output.Response>
<ESalesPunchOutReq.output.Response>
<companyNumber>string</companyNumber>
<sessionNumber>int</sessionNumber>
<hostName>string</hostName>
<queryString>string</queryString>
</ESalesPunchOutReq.output.Response>
</arrayResponse>
<errorNumber>int</errorNumber>
</ESalesPunchOutReqResult>
</ESalesPunchOutReqResponse>
</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>
<ESalesPunchOutReq xmlns="Nxtrend.WS">
<connectString>string</connectString>
<userCode>string</userCode>
<requestObject>
<arrayRequest>
<ESalesPunchOutReq.input.Request>
<sessionNumber>int</sessionNumber>
<senderId>string</senderId>
<senderPassword>string</senderPassword>
<senderDomain>string</senderDomain>
<senderAgent>string</senderAgent>
<buyerId>string</buyerId>
<buyerDomain>string</buyerDomain>
<requestOperation>string</requestOperation>
<requestCookie>string</requestCookie>
<requestUserId>string</requestUserId>
<requestPassword>string</requestPassword>
<eSalesUrl>string</eSalesUrl>
<customerNumber>string</customerNumber>
<shipTo>string</shipTo>
<shipToAddress1>string</shipToAddress1>
<shipToAddress2>string</shipToAddress2>
<shipToCity>string</shipToCity>
<shipToPostalCode>string</shipToPostalCode>
<shipToState>string</shipToState>
<shipToCountry>string</shipToCountry>
<shipToDeliverTo>string</shipToDeliverTo>
<companyNumber>string</companyNumber>
<warehouse>string</warehouse>
<orderNumber>string</orderNumber>
<orderSuffix>string</orderSuffix>
<productCode>string</productCode>
<user1>string</user1>
<user2>string</user2>
<user3>string</user3>
<user4>string</user4>
<user5>string</user5>
<user6>string</user6>
<user7>string</user7>
<user8>string</user8>
<user9>string</user9>
<user10>string</user10>
</ESalesPunchOutReq.input.Request>
<ESalesPunchOutReq.input.Request>
<sessionNumber>int</sessionNumber>
<senderId>string</senderId>
<senderPassword>string</senderPassword>
<senderDomain>string</senderDomain>
<senderAgent>string</senderAgent>
<buyerId>string</buyerId>
<buyerDomain>string</buyerDomain>
<requestOperation>string</requestOperation>
<requestCookie>string</requestCookie>
<requestUserId>string</requestUserId>
<requestPassword>string</requestPassword>
<eSalesUrl>string</eSalesUrl>
<customerNumber>string</customerNumber>
<shipTo>string</shipTo>
<shipToAddress1>string</shipToAddress1>
<shipToAddress2>string</shipToAddress2>
<shipToCity>string</shipToCity>
<shipToPostalCode>string</shipToPostalCode>
<shipToState>string</shipToState>
<shipToCountry>string</shipToCountry>
<shipToDeliverTo>string</shipToDeliverTo>
<companyNumber>string</companyNumber>
<warehouse>string</warehouse>
<orderNumber>string</orderNumber>
<orderSuffix>string</orderSuffix>
<productCode>string</productCode>
<user1>string</user1>
<user2>string</user2>
<user3>string</user3>
<user4>string</user4>
<user5>string</user5>
<user6>string</user6>
<user7>string</user7>
<user8>string</user8>
<user9>string</user9>
<user10>string</user10>
</ESalesPunchOutReq.input.Request>
</arrayRequest>
</requestObject>
</ESalesPunchOutReq>
</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>
<ESalesPunchOutReqResponse xmlns="Nxtrend.WS">
<ESalesPunchOutReqResult>
<errorMessage>string</errorMessage>
<arrayResponse>
<ESalesPunchOutReq.output.Response>
<companyNumber>string</companyNumber>
<sessionNumber>int</sessionNumber>
<hostName>string</hostName>
<queryString>string</queryString>
</ESalesPunchOutReq.output.Response>
<ESalesPunchOutReq.output.Response>
<companyNumber>string</companyNumber>
<sessionNumber>int</sessionNumber>
<hostName>string</hostName>
<queryString>string</queryString>
</ESalesPunchOutReq.output.Response>
</arrayResponse>
<errorNumber>int</errorNumber>
</ESalesPunchOutReqResult>
</ESalesPunchOutReqResponse>
</soap12:Body>
</soap12:Envelope>