Service1


Click here for a complete list of operations.

SendATMail

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
pAccountID:
pOrganization:
pComposeUTCDateTime:
pRecipientUnitIDs:
pSubject:
pMessage:

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 /atmessagingws/atmessaging.asmx HTTP/1.1
Host: wd.air-trak.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/SendATMail"

<?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>
    <SendATMail xmlns="http://tempuri.org/">
      <pAccountID>int</pAccountID>
      <pOrganization>string</pOrganization>
      <pComposeUTCDateTime>dateTime</pComposeUTCDateTime>
      <pRecipientUnitIDs>string</pRecipientUnitIDs>
      <pSubject>string</pSubject>
      <pMessage>string</pMessage>
    </SendATMail>
  </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>
    <SendATMailResponse xmlns="http://tempuri.org/">
      <SendATMailResult>int</SendATMailResult>
    </SendATMailResponse>
  </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 /atmessagingws/atmessaging.asmx HTTP/1.1
Host: wd.air-trak.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>
    <SendATMail xmlns="http://tempuri.org/">
      <pAccountID>int</pAccountID>
      <pOrganization>string</pOrganization>
      <pComposeUTCDateTime>dateTime</pComposeUTCDateTime>
      <pRecipientUnitIDs>string</pRecipientUnitIDs>
      <pSubject>string</pSubject>
      <pMessage>string</pMessage>
    </SendATMail>
  </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>
    <SendATMailResponse xmlns="http://tempuri.org/">
      <SendATMailResult>int</SendATMailResult>
    </SendATMailResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.

GET /atmessagingws/atmessaging.asmx/SendATMail?pAccountID=string&pOrganization=string&pComposeUTCDateTime=string&pRecipientUnitIDs=string&pSubject=string&pMessage=string HTTP/1.1
Host: wd.air-trak.com
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<int xmlns="http://tempuri.org/">int</int>

HTTP POST

The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.

POST /atmessagingws/atmessaging.asmx/SendATMail HTTP/1.1
Host: wd.air-trak.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

pAccountID=string&pOrganization=string&pComposeUTCDateTime=string&pRecipientUnitIDs=string&pSubject=string&pMessage=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<int xmlns="http://tempuri.org/">int</int>