pixiGetMailsWaitingToBeSent

Deprecated

This API call returns all mails which are waiting to be sent from 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 has to be enabled in pixi with setting "PixiMail_SendingEnabled". 
    and also setting to send emails via external service has to be enabled "PixiMail_SendingEnabled_External".
    
    If the settings are not enabled then you get one of the following error messages:
    - Sending of mails is disabled.
    - Sending of mails via External Service is disabled.

Request

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

Request body

Name Type Required Description

Response

1. Return list of mails that are waiting to be sent.

Name Type Description
Id integer

Mail id

Type: int

Available from: 18.04 (8.4.40.34047)

Body string

Email body

Type: varchar (MAX)

Available from: 18.04 (8.4.40.34047)

Subject string

Email subject

Type: varchar (500)

Available from: 18.04 (8.4.40.34047)

BodyType string

Email body type (HTML / TEXT)

Type: varchar (4)

Available from: 18.04 (8.4.40.34047)

ToAddress string

Email recipient

Type: varchar (100)

Available from: 18.04 (8.4.40.34047)

BccAddress string

Semicolon separated list of bcc recepients

Type: varchar (256)

Available from: 18.04 (8.4.40.34047)

AttachmentPaths string

Semicolon separated list of files from document storage (network path) which has to be sent as attachments.

Type: varchar (MAX)

Available from: 18.04 (8.4.40.34047)

2. Error response

Name Type Description
Status string

Status of the responce

Type: varchar(50)

Available from: 18.04 (8.4.40.34047)

Message string

Description of the error response

Type: varchar(4000)

Available from: 18.04 (8.4.40.34047)