WS_MailUpSend.SetNewsletterQueueOrder
Change execution order of an Immediate Mailing.
Method parameters
- string SetNewsletterQueueOrder (string accessKey, string scheduleID, bool up)
- accessKey: access key obtained using the LoginFromId method
- scheduleID: delivery ID returned by the WS_MailUpSend.GetNewsletterQueues or already used in WS_MailUpSend.ScheduleNewsletterQueue
- up: if true, Immediate Mailing related to scheduleID will be shift of one position towards the top of the queue, if false towards the bottom of the queue.Â
If error code=0, operation accomplished. if error code = 604, 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:SetNewsletterQueueOrder> <ws:accessKey>HzAgwRRJaAKBtkgNWpkAuURfV4SxMm6T3HJegRuSkUivKJElNNcmSQe8nqGyoM9S8EyQZb6ZE2shjHWIN4f5xYBJx9uda/Mo</ws:accessKey> <ws:scheduleID>1</ws:scheduleID> <ws:up>true</ws:up> </ws:SetNewsletterQueueOrder> </soap:Body> </soap:Envelope>
Â
Ordering accomplished
<SetNewsletterQueueOrderResult> <erroCode>0</erroCode> <erroDescription></erroDescription> </SetNewsletterQueueOrderResult>
Ordering failed
<SetNewsletterQueueOrderResult> <erroCode>604</erroCode> <erroDescription>Error reason</erroDescription> </SetNewsletterQueueOrderResult>
Â
Â
Â