• +39 035 622 43 51

SMS

Send SMS with eMessage Web Services.

Send

Web Service URL: http://ct.emessage.it/webservices/WSSms.asmx
Method name: Send

Description
Web method to send sms.

Parameter
- Username (MANDATORY): account username.
- Password (MANDATORY): account password.
- Sender (MANDATORY): ender, it can be an alphanumeric string with a maximum length of 11 characters or an international phone number (ex: +391234567894) with a maximum length of 16 characters.
- Notification (MANDATORY): rue means that we give you a feedback of delivery date and status.
- Message (MANDATORY): ext message. Only GSM alphabet supported. (see appendix C).
- Time: send time. (format: HH:mm:ss)
- Data: send date. (format: dd/MM/yyyy)
- ContactsList (MANDATORY): an array of WSContact object (see WSContacts.asmx web service).
- Params: optional parameters array:
  -IdContactFolderOverride: id of contact folder used to override report ContactFolder field
  - ContactFolderCredit: true means that condominium with Id same as IdContactFolderOverride pay the spedition

Returns
This web method return a standard Result class:
- Data: number of KO letters (Error or not send).
- OptionResults:
  - SpeditionCode: assigned spedition code.
  - IdList: JSON list of ids

Send single

Web Service URL: http://ct.emessage.it/webservices/WSSms.asmx
Method name: SendSingle

Description
Web method to send single SMS.

Parameter
- Username (MANDATORY): account username.
- Password (MANDATORY): account password.
- Sender (MANDATORY): ender, it can be an alphanumeric string with a maximum length of 11 characters or an international phone number (ex: +391234567894) with a maximum length of 16 characters.
- Notification (MANDATORY): rue means that we give you a feedback of delivery date and status.
- Message (MANDATORY): ext message. Only GSM alphabet supported. (see appendix C).
- Time: send time. (format: HH:mm:ss)
- Data: send date. (format: dd/MM/yyyy)
- PhoneNumber (MANDATORY): receiver phone number.
- Params: optional parameters array:
  -IdContactFolderOverride: id of contact folder used to override report ContactFolder field
  - ContactFolderCredit: true means that condominium with Id same as IdContactFolderOverride pay the spedition

Returns
This web method return a standard Result class:
- Data: number of KO SMS (Error or not send).
- OptionResults:
  - SpeditionCode: assigned spedition code.
  - IdList: JSON list of ids