AmootSMSWebService2


Click here for a complete list of operations.

SendBankWithBackupLine

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
UserName:
Password:
SendDateTime:
SMSMessageText:
LineNumber:
BackupLineNumber:
BankID:
OrderType:
FromRow:
Count:

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 /webservice2.asmx HTTP/1.1
Host: portal.amootsms.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/SendBankWithBackupLine"

<?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>
    <SendBankWithBackupLine xmlns="http://tempuri.org/">
      <UserName>string</UserName>
      <Password>string</Password>
      <SendDateTime>dateTime</SendDateTime>
      <SMSMessageText>string</SMSMessageText>
      <LineNumber>string</LineNumber>
      <BackupLineNumber>string</BackupLineNumber>
      <BankID>long</BankID>
      <OrderType>Sequential or Random</OrderType>
      <FromRow>int</FromRow>
      <Count>int</Count>
    </SendBankWithBackupLine>
  </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>
    <SendBankWithBackupLineResponse xmlns="http://tempuri.org/">
      <SendBankWithBackupLineResult>
        <Status>ServerError or Failed or Success or AccountIsDemo or CreditNotEnough or LineNumber_NotExist or BackupLineNumber_NotExist or Avanak_NotAvailable or UserName_Empty or Password_Empty or LineNumber_Empty or BackupLineNumber_Empty or SMSMessageText_Empty or AvanakMessageText_Empty or Mobile_Empty or Mobiles_Empty or Title_Empty or FirstNameOrLastName_Empty or URLAddress_Empty or UserNameOrPassword_Invalid or Mobile_Invalid or Mobiles_Invalid or Count_Invalid or FromRow_Invalid or FromDate_Invalid or FromDateTime_Invalid or ToDate_Invalid or ToDateTime_Invalid or FromDateIsAfterThanToDate or FromDateTimeIsAfterThanToDateTime or MessageID_Invalid or BulkID_Invalid or ContactID_Invalid or ContactGroupID_Invalid or CourseID_Invalid or CourseGroupID_Invalid or URLAddress_Duplicate or RelayMessageDeliveryID_Invalid or RelayRecieveMessageID_Invalid or Length_Invalid or Length_Exceeded</Status>
        <Data>
          <SendResult_Data>
            <Mobile>long</Mobile>
            <MessageID>long</MessageID>
            <Status>ServerError or Failed or Success or AccountIsDemo or CreditNotEnough or LineNumber_NotExist or BackupLineNumber_NotExist or Avanak_NotAvailable or UserName_Empty or Password_Empty or LineNumber_Empty or BackupLineNumber_Empty or SMSMessageText_Empty or AvanakMessageText_Empty or Mobile_Empty or Mobiles_Empty or Title_Empty or FirstNameOrLastName_Empty or URLAddress_Empty or UserNameOrPassword_Invalid or Mobile_Invalid or Mobiles_Invalid or Count_Invalid or FromRow_Invalid or FromDate_Invalid or FromDateTime_Invalid or ToDate_Invalid or ToDateTime_Invalid or FromDateIsAfterThanToDate or FromDateTimeIsAfterThanToDateTime or MessageID_Invalid or BulkID_Invalid or ContactID_Invalid or ContactGroupID_Invalid or CourseID_Invalid or CourseGroupID_Invalid or URLAddress_Duplicate or RelayMessageDeliveryID_Invalid or RelayRecieveMessageID_Invalid or Length_Invalid or Length_Exceeded</Status>
          </SendResult_Data>
          <SendResult_Data>
            <Mobile>long</Mobile>
            <MessageID>long</MessageID>
            <Status>ServerError or Failed or Success or AccountIsDemo or CreditNotEnough or LineNumber_NotExist or BackupLineNumber_NotExist or Avanak_NotAvailable or UserName_Empty or Password_Empty or LineNumber_Empty or BackupLineNumber_Empty or SMSMessageText_Empty or AvanakMessageText_Empty or Mobile_Empty or Mobiles_Empty or Title_Empty or FirstNameOrLastName_Empty or URLAddress_Empty or UserNameOrPassword_Invalid or Mobile_Invalid or Mobiles_Invalid or Count_Invalid or FromRow_Invalid or FromDate_Invalid or FromDateTime_Invalid or ToDate_Invalid or ToDateTime_Invalid or FromDateIsAfterThanToDate or FromDateTimeIsAfterThanToDateTime or MessageID_Invalid or BulkID_Invalid or ContactID_Invalid or ContactGroupID_Invalid or CourseID_Invalid or CourseGroupID_Invalid or URLAddress_Duplicate or RelayMessageDeliveryID_Invalid or RelayRecieveMessageID_Invalid or Length_Invalid or Length_Exceeded</Status>
          </SendResult_Data>
        </Data>
      </SendBankWithBackupLineResult>
    </SendBankWithBackupLineResponse>
  </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 /webservice2.asmx HTTP/1.1
Host: portal.amootsms.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>
    <SendBankWithBackupLine xmlns="http://tempuri.org/">
      <UserName>string</UserName>
      <Password>string</Password>
      <SendDateTime>dateTime</SendDateTime>
      <SMSMessageText>string</SMSMessageText>
      <LineNumber>string</LineNumber>
      <BackupLineNumber>string</BackupLineNumber>
      <BankID>long</BankID>
      <OrderType>Sequential or Random</OrderType>
      <FromRow>int</FromRow>
      <Count>int</Count>
    </SendBankWithBackupLine>
  </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>
    <SendBankWithBackupLineResponse xmlns="http://tempuri.org/">
      <SendBankWithBackupLineResult>
        <Status>ServerError or Failed or Success or AccountIsDemo or CreditNotEnough or LineNumber_NotExist or BackupLineNumber_NotExist or Avanak_NotAvailable or UserName_Empty or Password_Empty or LineNumber_Empty or BackupLineNumber_Empty or SMSMessageText_Empty or AvanakMessageText_Empty or Mobile_Empty or Mobiles_Empty or Title_Empty or FirstNameOrLastName_Empty or URLAddress_Empty or UserNameOrPassword_Invalid or Mobile_Invalid or Mobiles_Invalid or Count_Invalid or FromRow_Invalid or FromDate_Invalid or FromDateTime_Invalid or ToDate_Invalid or ToDateTime_Invalid or FromDateIsAfterThanToDate or FromDateTimeIsAfterThanToDateTime or MessageID_Invalid or BulkID_Invalid or ContactID_Invalid or ContactGroupID_Invalid or CourseID_Invalid or CourseGroupID_Invalid or URLAddress_Duplicate or RelayMessageDeliveryID_Invalid or RelayRecieveMessageID_Invalid or Length_Invalid or Length_Exceeded</Status>
        <Data>
          <SendResult_Data>
            <Mobile>long</Mobile>
            <MessageID>long</MessageID>
            <Status>ServerError or Failed or Success or AccountIsDemo or CreditNotEnough or LineNumber_NotExist or BackupLineNumber_NotExist or Avanak_NotAvailable or UserName_Empty or Password_Empty or LineNumber_Empty or BackupLineNumber_Empty or SMSMessageText_Empty or AvanakMessageText_Empty or Mobile_Empty or Mobiles_Empty or Title_Empty or FirstNameOrLastName_Empty or URLAddress_Empty or UserNameOrPassword_Invalid or Mobile_Invalid or Mobiles_Invalid or Count_Invalid or FromRow_Invalid or FromDate_Invalid or FromDateTime_Invalid or ToDate_Invalid or ToDateTime_Invalid or FromDateIsAfterThanToDate or FromDateTimeIsAfterThanToDateTime or MessageID_Invalid or BulkID_Invalid or ContactID_Invalid or ContactGroupID_Invalid or CourseID_Invalid or CourseGroupID_Invalid or URLAddress_Duplicate or RelayMessageDeliveryID_Invalid or RelayRecieveMessageID_Invalid or Length_Invalid or Length_Exceeded</Status>
          </SendResult_Data>
          <SendResult_Data>
            <Mobile>long</Mobile>
            <MessageID>long</MessageID>
            <Status>ServerError or Failed or Success or AccountIsDemo or CreditNotEnough or LineNumber_NotExist or BackupLineNumber_NotExist or Avanak_NotAvailable or UserName_Empty or Password_Empty or LineNumber_Empty or BackupLineNumber_Empty or SMSMessageText_Empty or AvanakMessageText_Empty or Mobile_Empty or Mobiles_Empty or Title_Empty or FirstNameOrLastName_Empty or URLAddress_Empty or UserNameOrPassword_Invalid or Mobile_Invalid or Mobiles_Invalid or Count_Invalid or FromRow_Invalid or FromDate_Invalid or FromDateTime_Invalid or ToDate_Invalid or ToDateTime_Invalid or FromDateIsAfterThanToDate or FromDateTimeIsAfterThanToDateTime or MessageID_Invalid or BulkID_Invalid or ContactID_Invalid or ContactGroupID_Invalid or CourseID_Invalid or CourseGroupID_Invalid or URLAddress_Duplicate or RelayMessageDeliveryID_Invalid or RelayRecieveMessageID_Invalid or Length_Invalid or Length_Exceeded</Status>
          </SendResult_Data>
        </Data>
      </SendBankWithBackupLineResult>
    </SendBankWithBackupLineResponse>
  </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 /webservice2.asmx/SendBankWithBackupLine?UserName=string&Password=string&SendDateTime=string&SMSMessageText=string&LineNumber=string&BackupLineNumber=string&BankID=string&OrderType=string&FromRow=string&Count=string HTTP/1.1
Host: portal.amootsms.com
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<SendResult xmlns="http://tempuri.org/">
  <Status>ServerError or Failed or Success or AccountIsDemo or CreditNotEnough or LineNumber_NotExist or BackupLineNumber_NotExist or Avanak_NotAvailable or UserName_Empty or Password_Empty or LineNumber_Empty or BackupLineNumber_Empty or SMSMessageText_Empty or AvanakMessageText_Empty or Mobile_Empty or Mobiles_Empty or Title_Empty or FirstNameOrLastName_Empty or URLAddress_Empty or UserNameOrPassword_Invalid or Mobile_Invalid or Mobiles_Invalid or Count_Invalid or FromRow_Invalid or FromDate_Invalid or FromDateTime_Invalid or ToDate_Invalid or ToDateTime_Invalid or FromDateIsAfterThanToDate or FromDateTimeIsAfterThanToDateTime or MessageID_Invalid or BulkID_Invalid or ContactID_Invalid or ContactGroupID_Invalid or CourseID_Invalid or CourseGroupID_Invalid or URLAddress_Duplicate or RelayMessageDeliveryID_Invalid or RelayRecieveMessageID_Invalid or Length_Invalid or Length_Exceeded</Status>
  <Data>
    <SendResult_Data>
      <Mobile>long</Mobile>
      <MessageID>long</MessageID>
      <Status>ServerError or Failed or Success or AccountIsDemo or CreditNotEnough or LineNumber_NotExist or BackupLineNumber_NotExist or Avanak_NotAvailable or UserName_Empty or Password_Empty or LineNumber_Empty or BackupLineNumber_Empty or SMSMessageText_Empty or AvanakMessageText_Empty or Mobile_Empty or Mobiles_Empty or Title_Empty or FirstNameOrLastName_Empty or URLAddress_Empty or UserNameOrPassword_Invalid or Mobile_Invalid or Mobiles_Invalid or Count_Invalid or FromRow_Invalid or FromDate_Invalid or FromDateTime_Invalid or ToDate_Invalid or ToDateTime_Invalid or FromDateIsAfterThanToDate or FromDateTimeIsAfterThanToDateTime or MessageID_Invalid or BulkID_Invalid or ContactID_Invalid or ContactGroupID_Invalid or CourseID_Invalid or CourseGroupID_Invalid or URLAddress_Duplicate or RelayMessageDeliveryID_Invalid or RelayRecieveMessageID_Invalid or Length_Invalid or Length_Exceeded</Status>
    </SendResult_Data>
    <SendResult_Data>
      <Mobile>long</Mobile>
      <MessageID>long</MessageID>
      <Status>ServerError or Failed or Success or AccountIsDemo or CreditNotEnough or LineNumber_NotExist or BackupLineNumber_NotExist or Avanak_NotAvailable or UserName_Empty or Password_Empty or LineNumber_Empty or BackupLineNumber_Empty or SMSMessageText_Empty or AvanakMessageText_Empty or Mobile_Empty or Mobiles_Empty or Title_Empty or FirstNameOrLastName_Empty or URLAddress_Empty or UserNameOrPassword_Invalid or Mobile_Invalid or Mobiles_Invalid or Count_Invalid or FromRow_Invalid or FromDate_Invalid or FromDateTime_Invalid or ToDate_Invalid or ToDateTime_Invalid or FromDateIsAfterThanToDate or FromDateTimeIsAfterThanToDateTime or MessageID_Invalid or BulkID_Invalid or ContactID_Invalid or ContactGroupID_Invalid or CourseID_Invalid or CourseGroupID_Invalid or URLAddress_Duplicate or RelayMessageDeliveryID_Invalid or RelayRecieveMessageID_Invalid or Length_Invalid or Length_Exceeded</Status>
    </SendResult_Data>
  </Data>
</SendResult>

HTTP POST

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

POST /webservice2.asmx/SendBankWithBackupLine HTTP/1.1
Host: portal.amootsms.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

UserName=string&Password=string&SendDateTime=string&SMSMessageText=string&LineNumber=string&BackupLineNumber=string&BankID=string&OrderType=string&FromRow=string&Count=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<SendResult xmlns="http://tempuri.org/">
  <Status>ServerError or Failed or Success or AccountIsDemo or CreditNotEnough or LineNumber_NotExist or BackupLineNumber_NotExist or Avanak_NotAvailable or UserName_Empty or Password_Empty or LineNumber_Empty or BackupLineNumber_Empty or SMSMessageText_Empty or AvanakMessageText_Empty or Mobile_Empty or Mobiles_Empty or Title_Empty or FirstNameOrLastName_Empty or URLAddress_Empty or UserNameOrPassword_Invalid or Mobile_Invalid or Mobiles_Invalid or Count_Invalid or FromRow_Invalid or FromDate_Invalid or FromDateTime_Invalid or ToDate_Invalid or ToDateTime_Invalid or FromDateIsAfterThanToDate or FromDateTimeIsAfterThanToDateTime or MessageID_Invalid or BulkID_Invalid or ContactID_Invalid or ContactGroupID_Invalid or CourseID_Invalid or CourseGroupID_Invalid or URLAddress_Duplicate or RelayMessageDeliveryID_Invalid or RelayRecieveMessageID_Invalid or Length_Invalid or Length_Exceeded</Status>
  <Data>
    <SendResult_Data>
      <Mobile>long</Mobile>
      <MessageID>long</MessageID>
      <Status>ServerError or Failed or Success or AccountIsDemo or CreditNotEnough or LineNumber_NotExist or BackupLineNumber_NotExist or Avanak_NotAvailable or UserName_Empty or Password_Empty or LineNumber_Empty or BackupLineNumber_Empty or SMSMessageText_Empty or AvanakMessageText_Empty or Mobile_Empty or Mobiles_Empty or Title_Empty or FirstNameOrLastName_Empty or URLAddress_Empty or UserNameOrPassword_Invalid or Mobile_Invalid or Mobiles_Invalid or Count_Invalid or FromRow_Invalid or FromDate_Invalid or FromDateTime_Invalid or ToDate_Invalid or ToDateTime_Invalid or FromDateIsAfterThanToDate or FromDateTimeIsAfterThanToDateTime or MessageID_Invalid or BulkID_Invalid or ContactID_Invalid or ContactGroupID_Invalid or CourseID_Invalid or CourseGroupID_Invalid or URLAddress_Duplicate or RelayMessageDeliveryID_Invalid or RelayRecieveMessageID_Invalid or Length_Invalid or Length_Exceeded</Status>
    </SendResult_Data>
    <SendResult_Data>
      <Mobile>long</Mobile>
      <MessageID>long</MessageID>
      <Status>ServerError or Failed or Success or AccountIsDemo or CreditNotEnough or LineNumber_NotExist or BackupLineNumber_NotExist or Avanak_NotAvailable or UserName_Empty or Password_Empty or LineNumber_Empty or BackupLineNumber_Empty or SMSMessageText_Empty or AvanakMessageText_Empty or Mobile_Empty or Mobiles_Empty or Title_Empty or FirstNameOrLastName_Empty or URLAddress_Empty or UserNameOrPassword_Invalid or Mobile_Invalid or Mobiles_Invalid or Count_Invalid or FromRow_Invalid or FromDate_Invalid or FromDateTime_Invalid or ToDate_Invalid or ToDateTime_Invalid or FromDateIsAfterThanToDate or FromDateTimeIsAfterThanToDateTime or MessageID_Invalid or BulkID_Invalid or ContactID_Invalid or ContactGroupID_Invalid or CourseID_Invalid or CourseGroupID_Invalid or URLAddress_Duplicate or RelayMessageDeliveryID_Invalid or RelayRecieveMessageID_Invalid or Length_Invalid or Length_Exceeded</Status>
    </SendResult_Data>
  </Data>
</SendResult>