Published — v. 3
WS_MailUpSend.AddNewsletterQueue
Set an Inactive mailings as Immediate mailings or Scheduled mailings.
Â
Method parameters
Â
- string AddNewsletterQueue(string accessKey, string deliveryID, bool immediate)
- accessKey: access key obtained using the LoginFromId method
- deliveryID: delivery ID returned by the WS_MailUpSend.SendNewsletter
- immediate: if true, immediate mailing, if false scheduled mailing.Â
Â
If error code=0, operation accomplished. if error code = 603, operation failed
Â
SOAP Examples
Â
Request
Â
SOAP Request
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:ws="http://services.mailupnet.it/WS"> <soap:Header/> <soap:Body> <ws:AddNewsletterQueue> <ws:accessKey>HzAgwRRJaAKBtkgNWpkAuURfV4SxMm6T3HJegRuSkUivKJElNNcmSQe8nqGyoM9S8EyQZb6ZE2shjHWIN4f5xYBJx9uda/Mo</ws:accessKey> <ws:deliveryID>1</ws:deliveryID> <ws:immediate>true</ws:immediate> </ws:AddNewsletterQueue> </soap:Body> </soap:Envelope>
Â
Â
Â
Operation accomplished
Â
<AddNewsletterQueueResult> <erroCode>0</erroCode> <erroDescription></erroDescription> <scheduleID>Identifier of schedule</scheduleID> </AddNewsletterQueueResult>
Â
Operation failed
<AddNewsletterQueueResult> <erroCode>603</erroCode> <erroDescription>Error reason</erroDescription> <scheduleID>0</scheduleID> </AddNewsletterQueueResult>
Â