GET v1/Contacts/{contactID}/Emails

Get the Emails for a contact

Request Information

URI Parameters

NameDescriptionTypeAdditional information
contactID

Id of the contact

string

Required

Body Parameters

None.

Response Information

Resource Description

List of Emails

Collection of EntityEmailDTO
NameDescriptionTypeAdditional information
EmailID

integer

None.

EntityID

integer

None.

ContactInfoTypeID

integer

None.

EmailAddress

string

None.

IsPrimary

boolean

None.

EmailOptOutLevel

integer

None.

ContactInfoName

string

None.

ContactInfoCategory

string

None.

Notes

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "EmailID": 1,
    "EntityID": 2,
    "ContactInfoTypeID": 3,
    "EmailAddress": "sample string 4",
    "IsPrimary": true,
    "EmailOptOutLevel": 6,
    "ContactInfoName": "sample string 7",
    "ContactInfoCategory": "sample string 8",
    "Notes": "sample string 9"
  },
  {
    "EmailID": 1,
    "EntityID": 2,
    "ContactInfoTypeID": 3,
    "EmailAddress": "sample string 4",
    "IsPrimary": true,
    "EmailOptOutLevel": 6,
    "ContactInfoName": "sample string 7",
    "ContactInfoCategory": "sample string 8",
    "Notes": "sample string 9"
  }
]

application/xml, text/xml

Sample:
<ArrayOfEntityEmailDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Contacts">
  <EntityEmailDTO>
    <ContactInfoCategory>sample string 8</ContactInfoCategory>
    <ContactInfoName>sample string 7</ContactInfoName>
    <ContactInfoTypeID>3</ContactInfoTypeID>
    <EmailAddress>sample string 4</EmailAddress>
    <EmailID>1</EmailID>
    <EmailOptOutLevel>6</EmailOptOutLevel>
    <EntityID>2</EntityID>
    <IsPrimary>true</IsPrimary>
    <Notes>sample string 9</Notes>
  </EntityEmailDTO>
  <EntityEmailDTO>
    <ContactInfoCategory>sample string 8</ContactInfoCategory>
    <ContactInfoName>sample string 7</ContactInfoName>
    <ContactInfoTypeID>3</ContactInfoTypeID>
    <EmailAddress>sample string 4</EmailAddress>
    <EmailID>1</EmailID>
    <EmailOptOutLevel>6</EmailOptOutLevel>
    <EntityID>2</EntityID>
    <IsPrimary>true</IsPrimary>
    <Notes>sample string 9</Notes>
  </EntityEmailDTO>
</ArrayOfEntityEmailDTO>