Permette di eseguire, con un'unica chiamata, la creazione e l'invio di un messaggio SMSMethod parameters
Creates and sends a message via a unique call
- string SendSMSFast(string accessKey, int listID, string subject, string text, Option[] options)
- accessKey:
...
- access key obtained using the Login method
- listID: list identifier. Lists and corresponding IDs can be obtained calling the GetLists Method
- subject: subject of the text message
- text: body of the text message
- options: an array of key/value pairs for options setting. All the options listed for the CreateSMS Method and SendSMS Method are available for this method as well.
If error code=0, the message will contain the ID of the sending
Sample SendSMSFast response
Code Block | ||||
---|---|---|---|---|
| ||||
<SendSMSFastResult>
<errorCode>0</errorCode>
<errorDescription>0</errorDescription>
<listID>1</listID>
<smsID>1</smsID>
<deliveryID>125</deliveryID>
<deliveryStatus>Sending in progress</deliveryStatus>
</SendSMSFastResult> |