Retrieve the data from one user's custom fields.


XML Request Example:       

<?xml version="1.0" encoding="UTF-8"?>
<xmlrequest>
   <username>admin</username>
   <usertoken>abc123abc123abc123abc123abc123abc123abc123abc123</usertoken>
   <requesttype>lists</requesttype>
   <requestmethod>GetUserCustomFields</requestmethod>
   <details>
      <subscriberid>113100</subscriberid>
      <mailinglist>103</mailinglist>
      <customfield>8,64</customfield>
   </details>
</xmlrequest>

 <xmlrequest> element


Field Name Description
username Username used to login to Pinpointe
usertoken Unique token assigned to Pinpointe account
requesttype Name of API set to be used
requestmethod Function being called


<details> element


Field Name Description
subscriberid ID of campaign to send
mailinglist ID of list that will receive campaign
customfield Comma-separated list of custom field IDs


Successful Response:


<response> element


Field Name Description
status Will return SUCCESS if user was successfully added
data XML representing the custom fields and their data


Sample Response: 

<?xml version="1.0" encoding="UTF-8"?>
<response>
   <status>SUCCESS</status>
   <data>
      <item>
         <fieldid>8</fieldid>
         <fieldname>City</fieldname>
         <fieldtype>text</fieldtype>
         <fieldsettings>a:4:{s:11:"FieldLength";s:2:"50";s:9:"MinLength";s:1:"0";s:9:"MaxLength";s:1:"0";s:12:"ApplyDefault";s:0:"";}</fieldsettings>
         <subscriberid>113100</subscriberid>
         <data>San Jose</data>
         <fieldid>64</fieldid>
         <fieldname>Company</fieldname>
         <fieldtype>text</fieldtype>
         <fieldsettings />
         <subscriberid>113100</subscriberid>
         <data>Pinpointe</data>
      </item>
   </data>
   <version>2.1</version>
</response>

 

Unsuccessful Response:


<response> element


Field Name Description
status Will return ERROR if unsuccessful
errormessage Text explaining why request failed