SDE_Messaging
Click here for a complete list of operations.
AddAccount
Add a new Account (RESTRICTED ACCESS)
Test
To test the operation using the HTTP POST protocol, click the 'Invoke' button.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 /messaging.asmx HTTP/1.1
Host: msg.sdetech.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "https://Messaging.sdetech.com/AddAccount"
<?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:Header>
<Authentication xmlns="https://Messaging.sdetech.com/">
<ClientKey>string</ClientKey>
</Authentication>
</soap:Header>
<soap:Body>
<AddAccount xmlns="https://Messaging.sdetech.com/">
<CompanyName>string</CompanyName>
<PMPID>string</PMPID>
<PMPAPIKey>string</PMPAPIKey>
<isSandBox>int</isSandBox>
<Address1>string</Address1>
<Address2>string</Address2>
<City>string</City>
<State>string</State>
<Zip>string</Zip>
<Phone1>string</Phone1>
<Phone2>string</Phone2>
<Website>string</Website>
<ContactName>string</ContactName>
<ContactEmail>string</ContactEmail>
<ReplyToEmail>string</ReplyToEmail>
<ReportsEmail>string</ReportsEmail>
<ConfirmEmail>string</ConfirmEmail>
<EnableNotifications>int</EnableNotifications>
<EnableSMSPostback>int</EnableSMSPostback>
<IVRTransfer>string</IVRTransfer>
<Comment>string</Comment>
<CreateSDEKey>int</CreateSDEKey>
<NewDID>string</NewDID>
<DIDForSMS>string</DIDForSMS>
<DIDForIVR>string</DIDForIVR>
<DIDisDefault>int</DIDisDefault>
<EmailResultsTo>string</EmailResultsTo>
</AddAccount>
</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>
<AddAccountResponse xmlns="https://Messaging.sdetech.com/">
<AddAccountResult>xml</AddAccountResult>
</AddAccountResponse>
</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 /messaging.asmx HTTP/1.1
Host: msg.sdetech.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:Header>
<Authentication xmlns="https://Messaging.sdetech.com/">
<ClientKey>string</ClientKey>
</Authentication>
</soap12:Header>
<soap12:Body>
<AddAccount xmlns="https://Messaging.sdetech.com/">
<CompanyName>string</CompanyName>
<PMPID>string</PMPID>
<PMPAPIKey>string</PMPAPIKey>
<isSandBox>int</isSandBox>
<Address1>string</Address1>
<Address2>string</Address2>
<City>string</City>
<State>string</State>
<Zip>string</Zip>
<Phone1>string</Phone1>
<Phone2>string</Phone2>
<Website>string</Website>
<ContactName>string</ContactName>
<ContactEmail>string</ContactEmail>
<ReplyToEmail>string</ReplyToEmail>
<ReportsEmail>string</ReportsEmail>
<ConfirmEmail>string</ConfirmEmail>
<EnableNotifications>int</EnableNotifications>
<EnableSMSPostback>int</EnableSMSPostback>
<IVRTransfer>string</IVRTransfer>
<Comment>string</Comment>
<CreateSDEKey>int</CreateSDEKey>
<NewDID>string</NewDID>
<DIDForSMS>string</DIDForSMS>
<DIDForIVR>string</DIDForIVR>
<DIDisDefault>int</DIDisDefault>
<EmailResultsTo>string</EmailResultsTo>
</AddAccount>
</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>
<AddAccountResponse xmlns="https://Messaging.sdetech.com/">
<AddAccountResult>xml</AddAccountResult>
</AddAccountResponse>
</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 /messaging.asmx/AddAccount?CompanyName=string&PMPID=string&PMPAPIKey=string&isSandBox=string&Address1=string&Address2=string&City=string&State=string&Zip=string&Phone1=string&Phone2=string&Website=string&ContactName=string&ContactEmail=string&ReplyToEmail=string&ReportsEmail=string&ConfirmEmail=string&EnableNotifications=string&EnableSMSPostback=string&IVRTransfer=string&Comment=string&CreateSDEKey=string&NewDID=string&DIDForSMS=string&DIDForIVR=string&DIDisDefault=string&EmailResultsTo=string HTTP/1.1 Host: msg.sdetech.com
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0"?> xml
HTTP POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
POST /messaging.asmx/AddAccount HTTP/1.1 Host: msg.sdetech.com Content-Type: application/x-www-form-urlencoded Content-Length: length CompanyName=string&PMPID=string&PMPAPIKey=string&isSandBox=string&Address1=string&Address2=string&City=string&State=string&Zip=string&Phone1=string&Phone2=string&Website=string&ContactName=string&ContactEmail=string&ReplyToEmail=string&ReportsEmail=string&ConfirmEmail=string&EnableNotifications=string&EnableSMSPostback=string&IVRTransfer=string&Comment=string&CreateSDEKey=string&NewDID=string&DIDForSMS=string&DIDForIVR=string&DIDisDefault=string&EmailResultsTo=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0"?> xml