- Page Content
- Introduction
- Input format
- Output format
Name: EvExcluirEmailValido
This function is intended to perform the exclusion of an Valid Email informing the subject of the email or EVID of the email
Input format:
Using subject:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<EmailValido>
<IDCliente>999</IDCliente >
<CNPJCliente>99999999999999</CNPJCliente >
<AssuntoLista>
<Assunto>XXXX</Assunto>
<Assunto>XXXX</Assunto>
<Assunto>XXXX</Assunto>
</AssuntoLista>
</EmailValido>
Using EVID:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<EmailValido>
<IDCliente>999</IDCliente >
<CNPJCliente>99999999999999</CNPJCliente >
<EVIDLista>
<EVID>XXXX</EVID>
<EVID>XXXX</EVID>
<EVID>XXXX</EVID>
</EVIDLista>
</EmailValido>
Parameter | Format | Required | Description |
---|---|---|---|
EmailValido | Y | Node to set the mail to be deleted | |
IDCliente | Numeric | Y | Client code |
CNPJCliente | Numeric | Y | CNPJ of the client without dashes, bars or dot |
AssuntoLista | Y | Node to set the list of Subjects, mandatory when the deletion is by Subjects, otherwise do not report. | |
EVIDLista | Y | Node to set the list of EVIDs, mandatory when the exclusion is by EVID, otherwise do not report. | |
Assunto | Text | Y | Subject of the email to be deleted |
EVID | Text | Y | Valid Email ID for this email |
Output format:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<EmailValido>
<CodErro></CodErro>
<MsgErro></MsgErro>
</EmailValido>
Note: In case of error other than zero, the output xml will be in the form:
Using subject:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<EmailValido>
<CodErro></CodErro>
<MsgErro></MsgErro>
<EmailsNaoExcluidos>
<Assunto></Assunto>
<ErroWebServices></ErroWebServices >
<MsgWebServices></MsgWebServices >
</EmailsNaoExcluidos>
</EmailValido>
Using EVID:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<EmailValido>
<CodErro></CodErro>
<MsgErro></MsgErro>
<EmailsNaoExcluidos>
<EVID></EVID>
<ErroWebServices></ErroWebServices >
<MsgWebServices></MsgWebServices >
</EmailsNaoExcluidos>
</EmailValido>
Parameter | Format | Description |
---|---|---|
EmailValido | Node to define the Emails to be consulted | |
CodErro | Numeric | Error Code (See Valid Email Error Codes) |
MsgErro | Text | Error message |
ErroWebServices | Text | WebServices error code |
MsgWebServices | Text | Description of the message for the corresponding code |