SOAP API method SmsDocument_createSmsMailing

Back to API references

Description
Create a smsmailing for this sms document.

Parameters
Parameter 'id' : int
Unique identifier (id) of the object SmsDocument. The method only applies to the smsdocument with this id.
Parameter 'personalize_profile' : int
Profile ID for which the object should be personalized
Parameter 'personalize_subprofile' : int
Subprofile ID for which the object should be personalized
Parameter 'personalize_timestamp' : string
The timestamp for the personalization
Parameter 'profile' : int
ID of the profile
Parameter 'subprofile' : int
ID of the subprofile
Parameter 'database' : int
ID of the database
Parameter 'view' : int
ID of the view
Parameter 'collection' : int
ID of the collection
Parameter 'miniview' : int
ID of the miniview
Parameter 'smsmailingsettings' : Structure of type 'smsmailingsettings'
The settings of the mailing
Parameter 'login' : Structure of type 'login'
Optional login data

Return values
Return value 'processedsmsmailing' : Structure of type 'processedsmsmailing'
Return value 'scheduledsmsmailing' : Structure of type 'scheduledsmsmailing'

Structure 'smsmailingsettings'
This structure smsmailingsettings was mentioned above. This structure has the following properties:
Property 'registerstatus' : boolean
The errors are being registered
Property 'type' : string
The type of sms message
Property 'starttime' : timestamp
The starttime of the mailing.
Property 'dateinterval' : DateInterval
The interval for the mailing.
Property 'iterations' : int
The iterations of the settings.
Property 'description' : string
The description of the mailing.
Property 'processedmissediterations' : boolean
The processed missed iterations.
Property 'personalized' : boolean
Should the mailing be personalized?.
Property 'test' : boolean
Is this a test mailing?.
Property 'nodoubles' : boolean
Should the double addresses be skipped?.
Property 'messagesperminute' : int
The max number of messages that are sent withing one minute
Property 'isscheduled' : boolean
Is the mailing a scheduled mailing?.
Property 'extradocumentproperties' : Map
Get the extra document properties of this mailing. This doen't contain the
Property 'priority' : int
The priority settings of the mailing.

Structure 'login'
This structure login was mentioned above. This structure has the following properties:
Property 'username' : string
The username of the login attempt
Property 'account' : string
The account name of the login attempt
Property 'password' : string
The password for the login attempt

Structure 'processedsmsmailing'
This structure processedsmsmailing was mentioned above. This structure has the following properties:
Property 'registerstatus.' : boolean
Will the status be registered?
Property 'destinationcount' : int
The number of destination of the mailing.
Property 'id' : int
Get the ID of the mailing.
Property 'timestamp' : timestamp
The timestamp when the mailing was sent.
Property 'description' : string
The description of the mailing.
Property 'personalized' : boolean
Was this mailing personalized?.
Property 'nodoubles' : boolean
Should the mailing be send to double mailaddresses?.
Property 'individual' : boolean
Was this mailing sent to an individual?.
Property 'test' : boolean
Was this mailing a test?
Property 'type' : string
The type of the mailing.
Property 'messagesperminute' : int
The max number of messages that are sent withing one minute
Property 'archived' : boolean
The mailing is archived.
Property 'priority' : int
Priority of the mailing. Higher value indicates higher priority.

Structure 'scheduledsmsmailing'
This structure scheduledsmsmailing was mentioned above. This structure has the following properties:
Property 'registerstatus' : boolean
Will the status be registered?.
Property 'description' : string
The description of the scheduled mailing
Property 'test' : boolean
Was this a test mailing?.
Property 'personalized' : boolean
Was this mailing personalized?.
Property 'nodoubles' : boolean
Was the target contains doubles?.
Property 'messagesperminute' : int
The max number of messages that are sent withing one minute
Property 'priority' : int
Priority of the mailing. Higher value indicated higher priority.
Property 'nextstarttime' : timestamp
The next time when this scheduled event will run.
Property 'schedulediterations' : int
The number of iterations that are still remaining.
Property 'processediterations' : int
The number of iterations that were already processed.
Property 'previousstarttime' : string
The starttime of the last iteration.
Property 'processmissediterations' : boolean
Will the missed iterations be processed anyway?.
Property 'id' : int
The ID of the scheduledevent.