SMSAWebService


Click here for a complete list of operations.

addShip

Create Shipment with Shipper Details and get SMSA AWB Number

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 /SECOM/SMSAwebService.asmx HTTP/1.1
Host: track.smsaexpress.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://track.smsaexpress.com/secom/addShip"

<?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>
    <addShip xmlns="http://track.smsaexpress.com/secom/">
      <passKey>string</passKey>
      <refNo>string</refNo>
      <sentDate>string</sentDate>
      <idNo>string</idNo>
      <cName>string</cName>
      <cntry>string</cntry>
      <cCity>string</cCity>
      <cZip>string</cZip>
      <cPOBox>string</cPOBox>
      <cMobile>string</cMobile>
      <cTel1>string</cTel1>
      <cTel2>string</cTel2>
      <cAddr1>string</cAddr1>
      <cAddr2>string</cAddr2>
      <shipType>string</shipType>
      <PCs>int</PCs>
      <cEmail>string</cEmail>
      <carrValue>string</carrValue>
      <carrCurr>string</carrCurr>
      <codAmt>string</codAmt>
      <weight>string</weight>
      <custVal>string</custVal>
      <custCurr>string</custCurr>
      <insrAmt>string</insrAmt>
      <insrCurr>string</insrCurr>
      <itemDesc>string</itemDesc>
      <sName>string</sName>
      <sContact>string</sContact>
      <sAddr1>string</sAddr1>
      <sAddr2>string</sAddr2>
      <sCity>string</sCity>
      <sPhone>string</sPhone>
      <sCntry>string</sCntry>
      <prefDelvDate>string</prefDelvDate>
      <gpsPoints>string</gpsPoints>
    </addShip>
  </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>
    <addShipResponse xmlns="http://track.smsaexpress.com/secom/">
      <addShipResult>string</addShipResult>
    </addShipResponse>
  </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 /SECOM/SMSAwebService.asmx HTTP/1.1
Host: track.smsaexpress.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>
    <addShip xmlns="http://track.smsaexpress.com/secom/">
      <passKey>string</passKey>
      <refNo>string</refNo>
      <sentDate>string</sentDate>
      <idNo>string</idNo>
      <cName>string</cName>
      <cntry>string</cntry>
      <cCity>string</cCity>
      <cZip>string</cZip>
      <cPOBox>string</cPOBox>
      <cMobile>string</cMobile>
      <cTel1>string</cTel1>
      <cTel2>string</cTel2>
      <cAddr1>string</cAddr1>
      <cAddr2>string</cAddr2>
      <shipType>string</shipType>
      <PCs>int</PCs>
      <cEmail>string</cEmail>
      <carrValue>string</carrValue>
      <carrCurr>string</carrCurr>
      <codAmt>string</codAmt>
      <weight>string</weight>
      <custVal>string</custVal>
      <custCurr>string</custCurr>
      <insrAmt>string</insrAmt>
      <insrCurr>string</insrCurr>
      <itemDesc>string</itemDesc>
      <sName>string</sName>
      <sContact>string</sContact>
      <sAddr1>string</sAddr1>
      <sAddr2>string</sAddr2>
      <sCity>string</sCity>
      <sPhone>string</sPhone>
      <sCntry>string</sCntry>
      <prefDelvDate>string</prefDelvDate>
      <gpsPoints>string</gpsPoints>
    </addShip>
  </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>
    <addShipResponse xmlns="http://track.smsaexpress.com/secom/">
      <addShipResult>string</addShipResult>
    </addShipResponse>
  </soap12:Body>
</soap12:Envelope>