POST api/ValidateEmail

Request Information

URI Parameters

None.

Body Parameters

ValidateEmail
NameDescriptionTypeAdditional information
EmailAddress

string

None.

SourceId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "EmailAddress": "sample string 1",
  "SourceId": 2
}

application/xml, text/xml

Sample:
<ValidateEmail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EmailHub.Manager.DTO">
  <EmailAddress>sample string 1</EmailAddress>
  <SourceId>2</SourceId>
</ValidateEmail>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

StrikeIronResponsecode
NameDescriptionTypeAdditional information
Code

ResponseStatusCode

None.

IsValid

boolean

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Code": 200,
  "IsValid": true,
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<StrikeIronResponsecode xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EmailHub.Manager.DTO">
  <Code>Success</Code>
  <IsValid>true</IsValid>
  <Message>sample string 2</Message>
</StrikeIronResponsecode>