Knowledge Marketing
Home Reference

POST GetProductDemographics?accessKey={accessKey}&emailAddress={emailAddress}&productCode={productCode}

This method allows you to get specific product 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<SubscriberProductDemographic> demoList = new List<SubscriberProductDemographic>();
                     Guid guid = new Guid("00000000-0000-0000-0000-000000000000");
                     String email = "email@emailaddress.com";
                     String productCode = "PRODUCT";
                     Response response = client.GetProductDemographics( guid, email, productCode, 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 SubscriberProductDemographic)
                     Dim guid as Guid = new Guid("00000000-0000-0000-0000-000000000000")
                     Dim email as String = "email@emailaddress.com"
                     Dim productCode as String = "PRODUCT"
                     Dim response As Response = client.GetProductDemographics( guid, email, productCode, 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

productCode

Product code.

string

Required

Body Parameters

List of SubscriberProductDemographics.

Collection of SubscriberProductDemographic
NameDescriptionTypeAdditional information
Name

Name of the SubscriberProductDemographic object.

string

None.

Value

Value for the SubscriberProductDemographic object.

string

None.

Request Formats

application/json, text/json

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

application/xml, text/xml

Sample:
<ArrayOfSubscriberProductDemographic xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <SubscriberProductDemographic>
    <Name>sample string 1</Name>
    <Value>sample string 2</Value>
    <DemoUpdateAction>Replace</DemoUpdateAction>
  </SubscriberProductDemographic>
  <SubscriberProductDemographic>
    <Name>sample string 1</Name>
    <Value>sample string 2</Value>
    <DemoUpdateAction>Replace</DemoUpdateAction>
  </SubscriberProductDemographic>
</ArrayOfSubscriberProductDemographic>

Response Information

Resource Description

Response object containing a list of SubscriberProduct objects.

ResponseOfListOfSubscriberProduct
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 SubscriberProduct

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": "6d4d457b-c606-47a3-934f-4068f5510710",
      "<Par3C>k__BackingField": "sample string 32",
      "<TransactionDate>k__BackingField": "2020-08-08T03:14:48.6729713-05:00",
      "<QDate>k__BackingField": "2020-08-08T03:14:48.6729713-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",
          "<Value>k__BackingField": "sample string 2",
          "<DemoUpdateAction>k__BackingField": "Replace"
        },
        {
          "<Name>k__BackingField": "sample string 1",
          "<Value>k__BackingField": "sample string 2",
          "<DemoUpdateAction>k__BackingField": "Replace"
        }
      ]
    },
    {
      "<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": "6d4d457b-c606-47a3-934f-4068f5510710",
      "<Par3C>k__BackingField": "sample string 32",
      "<TransactionDate>k__BackingField": "2020-08-08T03:14:48.6729713-05:00",
      "<QDate>k__BackingField": "2020-08-08T03:14:48.6729713-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",
          "<Value>k__BackingField": "sample string 2",
          "<DemoUpdateAction>k__BackingField": "Replace"
        },
        {
          "<Name>k__BackingField": "sample string 1",
          "<Value>k__BackingField": "sample string 2",
          "<DemoUpdateAction>k__BackingField": "Replace"
        }
      ]
    }
  ]
}

application/xml, text/xml

Sample:
<ResponseOfListOfSubscriberProduct 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>
    <SubscriberProduct>
      <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>6d4d457b-c606-47a3-934f-4068f5510710</IGrp_No>
      <Par3C>sample string 32</Par3C>
      <TransactionDate>2020-08-08T03:14:48.6729713-05:00</TransactionDate>
      <QDate>2020-08-08T03:14:48.6729713-05:00</QDate>
      <Email>sample string 33</Email>
      <SubscriptionID>34</SubscriptionID>
      <IsActive>true</IsActive>
      <Demographics>
        <SubscriberProductDemographic>
          <Name>sample string 1</Name>
          <Value>sample string 2</Value>
          <DemoUpdateAction>Replace</DemoUpdateAction>
        </SubscriberProductDemographic>
        <SubscriberProductDemographic>
          <Name>sample string 1</Name>
          <Value>sample string 2</Value>
          <DemoUpdateAction>Replace</DemoUpdateAction>
        </SubscriberProductDemographic>
      </Demographics>
    </SubscriberProduct>
    <SubscriberProduct>
      <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>6d4d457b-c606-47a3-934f-4068f5510710</IGrp_No>
      <Par3C>sample string 32</Par3C>
      <TransactionDate>2020-08-08T03:14:48.6729713-05:00</TransactionDate>
      <QDate>2020-08-08T03:14:48.6729713-05:00</QDate>
      <Email>sample string 33</Email>
      <SubscriptionID>34</SubscriptionID>
      <IsActive>true</IsActive>
      <Demographics>
        <SubscriberProductDemographic>
          <Name>sample string 1</Name>
          <Value>sample string 2</Value>
          <DemoUpdateAction>Replace</DemoUpdateAction>
        </SubscriberProductDemographic>
        <SubscriberProductDemographic>
          <Name>sample string 1</Name>
          <Value>sample string 2</Value>
          <DemoUpdateAction>Replace</DemoUpdateAction>
        </SubscriberProductDemographic>
      </Demographics>
    </SubscriberProduct>
  </Result>
</ResponseOfListOfSubscriberProduct>