Knowledge Marketing
Home Reference

POST GetDemographics?accessKey={accessKey}&emailAddress={emailAddress}

This method allows you to get specific consensus level demographic data for a record in the database.

SOAP Examples

C#

             class Test
             {
                 static void Main()
                 {
                     UADServiceClient client = new UADServiceClient();
            
                     // Use the 'client' variable to call operations on the service.
                     List<SubscriberConsensusDemographic> demoList = new List<SubscriberConsensusDemographic>();
                     Guid guid = new Guid("00000000-0000-0000-0000-000000000000");
                     String email = "email@emailaddress.com";
                     Response response = client.GetDemographics( guid, email, demoList);
             
                     // Always close the client.
                     client.Close();
                 }
             }
             
             
Visual Basic

             Class Test
                 Shared Sub Main()
                     Dim client As UADServiceClient = New UADServiceClient()
                     ' Use the 'client' variable to call operations on the service.
                     Dim demoList = New List(Of SubscriberConsensusDemographic)
                     Dim guid as Guid = new Guid("00000000-0000-0000-0000-000000000000")
                     Dim email as String = "email@emailaddress.com"
                     Dim response As Response = client.GetDemographics( guid, email, demoList)
             
                     ' Always close the client.
                     client.Close()
                 End Sub
             End Class
             

JSON Examples

No request example. No response example.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
accessKey

Client access key.

globally unique identifier

Required

emailAddress

Email address.

string

Required

Body Parameters

List of SubscriberConsensusDemographics.

Collection of SubscriberConsensusDemographic
NameDescriptionTypeAdditional information
Name

Name of the SubscriberConsensusDemographic object.

string

None.

DisplayName

Display name of the SubscriberConsensusDemographic object.

string

None.

Value

Value for the SubscriberConsensusDemographic object.

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "<Name>k__BackingField": "sample string 1",
    "<DisplayName>k__BackingField": "sample string 2",
    "<Value>k__BackingField": "sample string 3"
  },
  {
    "<Name>k__BackingField": "sample string 1",
    "<DisplayName>k__BackingField": "sample string 2",
    "<Value>k__BackingField": "sample string 3"
  }
]

application/xml, text/xml

Sample:
<ArrayOfSubscriberConsensusDemographic xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <SubscriberConsensusDemographic>
    <Name>sample string 1</Name>
    <DisplayName>sample string 2</DisplayName>
    <Value>sample string 3</Value>
  </SubscriberConsensusDemographic>
  <SubscriberConsensusDemographic>
    <Name>sample string 1</Name>
    <DisplayName>sample string 2</DisplayName>
    <Value>sample string 3</Value>
  </SubscriberConsensusDemographic>
</ArrayOfSubscriberConsensusDemographic>

Response Information

Resource Description

Response object containing a list of SubscriberConsensus objects.

ResponseOfListOfSubscriberConsensus
NameDescriptionTypeAdditional information
ProcessCode

ProcessCode for the Response object.

string

None.

Status

Status for the Response object.

ServiceResponseStatusTypes

None.

Message

Message for the Response object.

string

None.

Result

Result for the Response object.

Collection of SubscriberConsensus

None.

Response Formats

application/json, text/json

Sample:
{
  "<ProcessCode>k__BackingField": "sample string 1",
  "<Status>k__BackingField": "Success",
  "<Message>k__BackingField": "sample string 2",
  "<Result>k__BackingField": [
    {
      "<Sequence>k__BackingField": 1,
      "<FName>k__BackingField": "sample string 2",
      "<LName>k__BackingField": "sample string 3",
      "<Title>k__BackingField": "sample string 4",
      "<Company>k__BackingField": "sample string 5",
      "<Address>k__BackingField": "sample string 6",
      "<MailStop>k__BackingField": "sample string 7",
      "<City>k__BackingField": "sample string 8",
      "<State>k__BackingField": "sample string 9",
      "<Zip>k__BackingField": "sample string 10",
      "<Plus4>k__BackingField": "sample string 11",
      "<ForZip>k__BackingField": "sample string 12",
      "<County>k__BackingField": "sample string 13",
      "<Country>k__BackingField": "sample string 14",
      "<Phone>k__BackingField": "sample string 15",
      "<Fax>k__BackingField": "sample string 16",
      "<MailPermission>k__BackingField": true,
      "<FaxPermission>k__BackingField": true,
      "<PhonePermission>k__BackingField": true,
      "<OtherProductsPermission>k__BackingField": true,
      "<ThirdPartyPermission>k__BackingField": true,
      "<EmailRenewPermission>k__BackingField": true,
      "<Gender>k__BackingField": "sample string 23",
      "<Address3>k__BackingField": "sample string 24",
      "<Home_Work_Address>k__BackingField": "sample string 25",
      "<Mobile>k__BackingField": "sample string 26",
      "<Score>k__BackingField": 27,
      "<Latitude>k__BackingField": 28.0,
      "<Longitude>k__BackingField": 29.0,
      "<Demo7>k__BackingField": "sample string 30",
      "<IGrp_No>k__BackingField": "910a3f7e-2825-4e96-8700-fa30708ebde2",
      "<Par3C>k__BackingField": "sample string 32",
      "<TransactionDate>k__BackingField": "2020-08-08T03:20:09.6631485-05:00",
      "<QDate>k__BackingField": "2020-08-08T03:20:09.6631485-05:00",
      "<Email>k__BackingField": "sample string 33",
      "<SubscriptionID>k__BackingField": 34,
      "<IsActive>k__BackingField": true,
      "<Demographics>k__BackingField": [
        {
          "<Name>k__BackingField": "sample string 1",
          "<DisplayName>k__BackingField": "sample string 2",
          "<Value>k__BackingField": "sample string 3"
        },
        {
          "<Name>k__BackingField": "sample string 1",
          "<DisplayName>k__BackingField": "sample string 2",
          "<Value>k__BackingField": "sample string 3"
        }
      ]
    },
    {
      "<Sequence>k__BackingField": 1,
      "<FName>k__BackingField": "sample string 2",
      "<LName>k__BackingField": "sample string 3",
      "<Title>k__BackingField": "sample string 4",
      "<Company>k__BackingField": "sample string 5",
      "<Address>k__BackingField": "sample string 6",
      "<MailStop>k__BackingField": "sample string 7",
      "<City>k__BackingField": "sample string 8",
      "<State>k__BackingField": "sample string 9",
      "<Zip>k__BackingField": "sample string 10",
      "<Plus4>k__BackingField": "sample string 11",
      "<ForZip>k__BackingField": "sample string 12",
      "<County>k__BackingField": "sample string 13",
      "<Country>k__BackingField": "sample string 14",
      "<Phone>k__BackingField": "sample string 15",
      "<Fax>k__BackingField": "sample string 16",
      "<MailPermission>k__BackingField": true,
      "<FaxPermission>k__BackingField": true,
      "<PhonePermission>k__BackingField": true,
      "<OtherProductsPermission>k__BackingField": true,
      "<ThirdPartyPermission>k__BackingField": true,
      "<EmailRenewPermission>k__BackingField": true,
      "<Gender>k__BackingField": "sample string 23",
      "<Address3>k__BackingField": "sample string 24",
      "<Home_Work_Address>k__BackingField": "sample string 25",
      "<Mobile>k__BackingField": "sample string 26",
      "<Score>k__BackingField": 27,
      "<Latitude>k__BackingField": 28.0,
      "<Longitude>k__BackingField": 29.0,
      "<Demo7>k__BackingField": "sample string 30",
      "<IGrp_No>k__BackingField": "910a3f7e-2825-4e96-8700-fa30708ebde2",
      "<Par3C>k__BackingField": "sample string 32",
      "<TransactionDate>k__BackingField": "2020-08-08T03:20:09.6631485-05:00",
      "<QDate>k__BackingField": "2020-08-08T03:20:09.6631485-05:00",
      "<Email>k__BackingField": "sample string 33",
      "<SubscriptionID>k__BackingField": 34,
      "<IsActive>k__BackingField": true,
      "<Demographics>k__BackingField": [
        {
          "<Name>k__BackingField": "sample string 1",
          "<DisplayName>k__BackingField": "sample string 2",
          "<Value>k__BackingField": "sample string 3"
        },
        {
          "<Name>k__BackingField": "sample string 1",
          "<DisplayName>k__BackingField": "sample string 2",
          "<Value>k__BackingField": "sample string 3"
        }
      ]
    }
  ]
}

application/xml, text/xml

Sample:
<ResponseOfListOfSubscriberConsensus xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ProcessCode>sample string 1</ProcessCode>
  <Status>Success</Status>
  <Message>sample string 2</Message>
  <Result>
    <SubscriberConsensus>
      <Sequence>1</Sequence>
      <FName>sample string 2</FName>
      <LName>sample string 3</LName>
      <Title>sample string 4</Title>
      <Company>sample string 5</Company>
      <Address>sample string 6</Address>
      <MailStop>sample string 7</MailStop>
      <City>sample string 8</City>
      <State>sample string 9</State>
      <Zip>sample string 10</Zip>
      <Plus4>sample string 11</Plus4>
      <ForZip>sample string 12</ForZip>
      <County>sample string 13</County>
      <Country>sample string 14</Country>
      <Phone>sample string 15</Phone>
      <Fax>sample string 16</Fax>
      <MailPermission>true</MailPermission>
      <FaxPermission>true</FaxPermission>
      <PhonePermission>true</PhonePermission>
      <OtherProductsPermission>true</OtherProductsPermission>
      <ThirdPartyPermission>true</ThirdPartyPermission>
      <EmailRenewPermission>true</EmailRenewPermission>
      <Gender>sample string 23</Gender>
      <Address3>sample string 24</Address3>
      <Home_Work_Address>sample string 25</Home_Work_Address>
      <Mobile>sample string 26</Mobile>
      <Score>27</Score>
      <Latitude>28</Latitude>
      <Longitude>29</Longitude>
      <Demo7>sample string 30</Demo7>
      <IGrp_No>910a3f7e-2825-4e96-8700-fa30708ebde2</IGrp_No>
      <Par3C>sample string 32</Par3C>
      <TransactionDate>2020-08-08T03:20:09.6631485-05:00</TransactionDate>
      <QDate>2020-08-08T03:20:09.6631485-05:00</QDate>
      <Email>sample string 33</Email>
      <SubscriptionID>34</SubscriptionID>
      <IsActive>true</IsActive>
      <Demographics>
        <SubscriberConsensusDemographic>
          <Name>sample string 1</Name>
          <DisplayName>sample string 2</DisplayName>
          <Value>sample string 3</Value>
        </SubscriberConsensusDemographic>
        <SubscriberConsensusDemographic>
          <Name>sample string 1</Name>
          <DisplayName>sample string 2</DisplayName>
          <Value>sample string 3</Value>
        </SubscriberConsensusDemographic>
      </Demographics>
    </SubscriberConsensus>
    <SubscriberConsensus>
      <Sequence>1</Sequence>
      <FName>sample string 2</FName>
      <LName>sample string 3</LName>
      <Title>sample string 4</Title>
      <Company>sample string 5</Company>
      <Address>sample string 6</Address>
      <MailStop>sample string 7</MailStop>
      <City>sample string 8</City>
      <State>sample string 9</State>
      <Zip>sample string 10</Zip>
      <Plus4>sample string 11</Plus4>
      <ForZip>sample string 12</ForZip>
      <County>sample string 13</County>
      <Country>sample string 14</Country>
      <Phone>sample string 15</Phone>
      <Fax>sample string 16</Fax>
      <MailPermission>true</MailPermission>
      <FaxPermission>true</FaxPermission>
      <PhonePermission>true</PhonePermission>
      <OtherProductsPermission>true</OtherProductsPermission>
      <ThirdPartyPermission>true</ThirdPartyPermission>
      <EmailRenewPermission>true</EmailRenewPermission>
      <Gender>sample string 23</Gender>
      <Address3>sample string 24</Address3>
      <Home_Work_Address>sample string 25</Home_Work_Address>
      <Mobile>sample string 26</Mobile>
      <Score>27</Score>
      <Latitude>28</Latitude>
      <Longitude>29</Longitude>
      <Demo7>sample string 30</Demo7>
      <IGrp_No>910a3f7e-2825-4e96-8700-fa30708ebde2</IGrp_No>
      <Par3C>sample string 32</Par3C>
      <TransactionDate>2020-08-08T03:20:09.6631485-05:00</TransactionDate>
      <QDate>2020-08-08T03:20:09.6631485-05:00</QDate>
      <Email>sample string 33</Email>
      <SubscriptionID>34</SubscriptionID>
      <IsActive>true</IsActive>
      <Demographics>
        <SubscriberConsensusDemographic>
          <Name>sample string 1</Name>
          <DisplayName>sample string 2</DisplayName>
          <Value>sample string 3</Value>
        </SubscriberConsensusDemographic>
        <SubscriberConsensusDemographic>
          <Name>sample string 1</Name>
          <DisplayName>sample string 2</DisplayName>
          <Value>sample string 3</Value>
        </SubscriberConsensusDemographic>
      </Demographics>
    </SubscriberConsensus>
  </Result>
</ResponseOfListOfSubscriberConsensus>