Welcome‎ > ‎Version 2‎ > ‎Publisher Api (Read/Write)‎ > ‎Data Structures‎ > ‎

Email Lead

Data Structure holding an email lead.

Fields:
  dateCreated - The date the email lead was generated.
  emailAddress - The email address of the lead.
  firstName - Optional first name of the lead.
  lastName - Optional last name of the lead.
  segmentKey - Optional segment key of the lead.
  zipCode - Optional zip code of the lead.

Sample XML Response:
<emailLead>
    <dateCreated>2011-08-05T20:18:49Z</dateCreated>
    <emailAddress>email@email.com</emailAddress>
    <firstName>Sylvester</firstName>
    <lastName>Martin</lastName>
    <segmentKey>new-york-city</segmentKey>
    <zipCode>11218</zipCode>
</emailLead>


Sample JSON Response:
{
    "dateCreated": "/Date(1312575529000)/",
    "emailAddress": "email@email.com",
    "firstName": "Sylvester",
    "lastName": "Martin",
    "segmentKey": "new-york-city",
    "zipCode": "11218"
}
Comments