POST api/Contact/CheckEmailExistance

Request Information

URI Parameters

None.

Body Parameters

ContactEmailRequestVM
NameDescriptionTypeAdditional information
ContactId

string

None.

AccountId

string

Required

UserId

string

Required

LoggedInSubAccountId

string

Required

Id

string

None.

Email

string

Required

Matching regular expression pattern: ^[\w\-\.\+]+\@[a-zA-Z0-9\.\-]+\.[a-zA-z0-9]{2,}$

IsPrimary

boolean

None.

EmailLabelId

string

Required

Label

string

None.

IsOptOut

boolean

None.

Status

ContactPhoneEmailStatus

None.

AgeConfirmationFailedOn

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ContactId": "sample string 1",
  "AccountId": "sample string 2",
  "UserId": "sample string 3",
  "LoggedInSubAccountId": "sample string 4",
  "Id": "sample string 5",
  "Email": "sample string 6",
  "IsPrimary": true,
  "EmailLabelId": "sample string 8",
  "Label": "sample string 9",
  "IsOptOut": true,
  "Status": "None",
  "AgeConfirmationFailedOn": 11
}

application/xml, text/xml

Sample:
<ContactEmailRequestVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MindMe.Business.Service.Services.RequestViewModels.Contact">
  <AgeConfirmationFailedOn xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ServiceModel">11</AgeConfirmationFailedOn>
  <Email xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ServiceModel">sample string 6</Email>
  <EmailLabelId xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ServiceModel">sample string 8</EmailLabelId>
  <Id xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ServiceModel">sample string 5</Id>
  <IsOptOut xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ServiceModel">true</IsOptOut>
  <IsPrimary xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ServiceModel">true</IsPrimary>
  <Label xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ServiceModel">sample string 9</Label>
  <Status xmlns="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ServiceModel">None</Status>
  <AccountId>sample string 2</AccountId>
  <ContactId>sample string 1</ContactId>
  <LoggedInSubAccountId>sample string 4</LoggedInSubAccountId>
  <UserId>sample string 3</UserId>
</ContactEmailRequestVM>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.