POST api/VerifyEmail

Checks to see if an email address is available.

Request Information

URI Parameters

None.

Body Parameters

VerifyEmailRequest
NameDescriptionTypeAdditional information
SessionKey

string

Required

Email

string

Required

Request Formats

application/json, text/json

Sample:
{
  "SessionKey": "sample string 1",
  "Email": "sample string 2"
}

application/xml, text/xml

Sample:
<VerifyEmailRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SFMOMA.Data.Entities.Account">
  <Email>sample string 2</Email>
  <SessionKey>sample string 1</SessionKey>
</VerifyEmailRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'VerifyEmailRequest'.

Response Information

Resource Description

VerifyEmailResult object

ApiSuccessOfVerifyEmailResult
NameDescriptionTypeAdditional information
Success

boolean
Data

VerifyEmailResult

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Data": {
    "EmailIsAvailable": true
  }
}

application/xml, text/xml

Sample:
<ApiSuccessOfVerifyEmailResultgLC8bFpX xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SFMOMA.Data.Api">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/SFMOMA.Data.Entities.Account">
    <d2p1:EmailIsAvailable>true</d2p1:EmailIsAvailable>
  </Data>
</ApiSuccessOfVerifyEmailResultgLC8bFpX>