pixiUpdateMailStatus

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

Since pixi version: 18.04 (8.4.40.34047) 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>

Request

POST https://apigateway.descartes.com/tms/pixi/pixiUpdateMailStatus

Request body

Name Type Required Description
XML string false

List of Mail Ids for which you want to update status. See additional information for XML structure.

Type: varchar(-1)

Default value: NULL

Example:

Available from: 18.04 (8.4.40.34047)


Response

1. Status of records from XML.

Name Type Description
Id integer

Mail id

Type: int

Available from: 18.04 (8.4.40.34047)

Status integer

Returns 0/1 if update was successful or not.

Type: int

Available from: 18.04 (8.4.40.34047)

Description string

Descriptive message if update was successful and reason why it failed.

Type: varchar(255)

Available from: 18.04 (8.4.40.34047)