pixi Developer & Integration Documentation

pixiUpdateMailStatus

Description

This API is used to update mail status in pixi*.


Request Parameters

# Name Type Required Example Description
1 XML string 0 Sample text List of Mail Ids for which you want to update status. See additional information for XML structure.

Request body

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:dem="https://api.pixi.eu/soap/demosandbox/">
   <soapenv:Header/>
   <soapenv:Body>
      <dem:pixiUpdateMailStatus>
         <dem:XML>Sample text</dem:XML>
      </dem:pixiUpdateMailStatus>
   </soapenv:Body>
</soapenv:Envelope>

Response


Body 1: Status of records from XML.

# Name Type Description
1 Id integer Mail id
2 Status integer Returns 0/1 if update was successful or not.
3 Description string Descriptive message if update was successful and reason why it failed.

Additional Notes

**General info**

The API Call can be used by external mail sending service which will send mails to customer email address.

**Important**

Sending of emails via external service has to be enabled "PixiMail_SendingEnabled_External".

If the setting is not enabled then you get following error message:
- Sending of mails via External Service is disabled.

**Using the XML parameter:**
When using **XML** parameter you can specify Status for several Mails
 Sample XML structure:

<MAILS>
    <MAIL>
        <ID>20</ID>
        <STATUS>QUEUED</STATUS>
    </MAIL>
    <MAIL>
        <ID>1</ID>
        <STATUS>FAILED</STATUS>
    </MAIL>
</MAILS>