...
...
...
Method parameters
Allows the creation of a text message within the desired list.
- string CreateSMS(string accessKey, int listID, string subject, string text, Option[] options)
- accessKey:
...
- note: una stringa contenente delle note relative al messaggio
- dyn_fld: una valore booleano per abilitare/disabilitare l'utilizzo dei campi dinamici all'interno del messaggio access key obtained using the Login method
- listID: ID of the list within which the text message has to be created. Lists and corresponding IDs can be obtained calling the GetLists Method
- text: body of the text message
- options: an array of key/value pairs for options setting
- note: a string containing notes about the message
- dyn_fld: boolean value to enable/disable the use of dynamic fields in the message (dyn_fld=true, dyn_fld=false)
- from:
...
- sender of the text message
If error code=0, the message will contain the ID of the text message which is created
Sample CreateSMS response
Code Block | ||||
---|---|---|---|---|
| ||||
<CreateSMSResult>
<errorCode>0</errorCode>
<errorDescription></errorDescription>
<listID>1</listID>
<smsID>3</smsID>
</CreateSMSResult>
|