URL

http://webapi.leadmaster.com/api/LMWebAPI/GetContactEmailHist?access_token={access_token}&ContactId={ContactId}&EmailID={EmailID}

Description

Get contact email history from the accesstoken, contactid, recdno and emailid

HttpMethod

GET

Request Information

Parameters

NameDescriptionAdditional information
access_token
Token required for the authentication.

Define this parameter in the request URI.

ContactId
No documentation available.

Define this parameter in the request URI.

EmailID
No documentation available.

Define this parameter in the request URI.

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
[
  {
    "emailIDField": 1,
    "rECDNOField": 2,
    "contactIDField": 3,
    "dateSentField": "sample string 4",
    "toAddressField": "sample string 5",
    "fromAddressField": "sample string 6",
    "subjectField": "sample string 7",
    "messageField": "sample string 8",
    "ccField": "sample string 9",
    "bCCField": "sample string 10",
    "externalEmailIdField": "sample string 11",
    "externalEmailTypeField": "sample string 12",
    "isSentField": true
  },
  {
    "emailIDField": 1,
    "rECDNOField": 2,
    "contactIDField": 3,
    "dateSentField": "sample string 4",
    "toAddressField": "sample string 5",
    "fromAddressField": "sample string 6",
    "subjectField": "sample string 7",
    "messageField": "sample string 8",
    "ccField": "sample string 9",
    "bCCField": "sample string 10",
    "externalEmailIdField": "sample string 11",
    "externalEmailTypeField": "sample string 12",
    "isSentField": true
  },
  {
    "emailIDField": 1,
    "rECDNOField": 2,
    "contactIDField": 3,
    "dateSentField": "sample string 4",
    "toAddressField": "sample string 5",
    "fromAddressField": "sample string 6",
    "subjectField": "sample string 7",
    "messageField": "sample string 8",
    "ccField": "sample string 9",
    "bCCField": "sample string 10",
    "externalEmailIdField": "sample string 11",
    "externalEmailTypeField": "sample string 12",
    "isSentField": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfTypeEmailData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApplication1.LMService">
  <TypeEmailData>
    <bCCField>sample string 10</bCCField>
    <ccField>sample string 9</ccField>
    <contactIDField>3</contactIDField>
    <dateSentField>sample string 4</dateSentField>
    <emailIDField>1</emailIDField>
    <externalEmailIdField>sample string 11</externalEmailIdField>
    <externalEmailTypeField>sample string 12</externalEmailTypeField>
    <fromAddressField>sample string 6</fromAddressField>
    <isSentField>true</isSentField>
    <messageField>sample string 8</messageField>
    <rECDNOField>2</rECDNOField>
    <subjectField>sample string 7</subjectField>
    <toAddressField>sample string 5</toAddressField>
  </TypeEmailData>
  <TypeEmailData>
    <bCCField>sample string 10</bCCField>
    <ccField>sample string 9</ccField>
    <contactIDField>3</contactIDField>
    <dateSentField>sample string 4</dateSentField>
    <emailIDField>1</emailIDField>
    <externalEmailIdField>sample string 11</externalEmailIdField>
    <externalEmailTypeField>sample string 12</externalEmailTypeField>
    <fromAddressField>sample string 6</fromAddressField>
    <isSentField>true</isSentField>
    <messageField>sample string 8</messageField>
    <rECDNOField>2</rECDNOField>
    <subjectField>sample string 7</subjectField>
    <toAddressField>sample string 5</toAddressField>
  </TypeEmailData>
  <TypeEmailData>
    <bCCField>sample string 10</bCCField>
    <ccField>sample string 9</ccField>
    <contactIDField>3</contactIDField>
    <dateSentField>sample string 4</dateSentField>
    <emailIDField>1</emailIDField>
    <externalEmailIdField>sample string 11</externalEmailIdField>
    <externalEmailTypeField>sample string 12</externalEmailTypeField>
    <fromAddressField>sample string 6</fromAddressField>
    <isSentField>true</isSentField>
    <messageField>sample string 8</messageField>
    <rECDNOField>2</rECDNOField>
    <subjectField>sample string 7</subjectField>
    <toAddressField>sample string 5</toAddressField>
  </TypeEmailData>
</ArrayOfTypeEmailData>