POST api/v1/Mailer/IsValidAddress

Request Information

URI Parameters

None.

Body Parameters

AddressValidation
NameDescriptionTypeAdditional information
email

string

None.

ambito

string

None.

Request Formats

application/json, text/json

Sample:
{
  "email": "sample string 1",
  "ambito": "sample string 2"
}

text/plain, application/octet-stream

Sample:
{"email":"sample string 1","ambito":"sample string 2"}

application/xml, text/xml

Sample:
<AddressValidation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ePrice.MarketPlaceApi.Models.Mailer">
  <ambito>sample string 2</ambito>
  <email>sample string 1</email>
</AddressValidation>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

MailValidationResponse
NameDescriptionTypeAdditional information
Status

string

None.

Mail

string

None.

MailValidity

boolean

None.

ErrorDescription

string

None.

Response Formats

application/json, text/json

Sample:
{
  "status": "sample string 1",
  "mail": "sample string 2",
  "mailValidity": true,
  "errorDescription": "sample string 4"
}

text/plain

Sample:
{"status":"sample string 1","mail":"sample string 2","mailValidity":true,"errorDescription":"sample string 4"}

application/xml, text/xml

Sample:
<MailValidationResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ePrice.MarketPlaceApi.Models.Mailer">
  <ErrorDescription>sample string 4</ErrorDescription>
  <Mail>sample string 2</Mail>
  <MailValidity>true</MailValidity>
  <Status>sample string 1</Status>
</MailValidationResponse>

application/octet-stream

Sample:
{"Status":"sample string 1","Mail":"sample string 2","MailValidity":true,"ErrorDescription":"sample string 4"}

text/javascript, application/javascript, application/json-p

Sample:
({"status":"sample string 1","mail":"sample string 2","mailValidity":true,"errorDescription":"sample string 4"});