Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

Method parameters

Allows the creation of a text message (SMS) within the desired list.

  • string CreateSMS(string accessKey, int listID, string subject, string text, Option[] options)
    • accessKey: 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
    • subject: subject of the text message
    • 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 has been created

Sample CreateSMS response

<CreateSMSResult>
<errorCode>0</errorCode>
<errorDescription></errorDescription>
<listID>1</listID>
<smsID>3</smsID>
</CreateSMSResult>
  • No labels