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>

Â