UpdateAccount

Method Name: UpdateAccount.
Method description: Used to update your PollDaddy account.

Request XML Payload

<?xml version="1.0" encoding="utf-8" ?>
<pd:pdRequest partnerGUID="3F2504E0-4F89-11D3-9A0C-0305E82C3301" xmlns:pd="http://api.polldaddy.com/pdapi.xsd">
  <pd:userCode>123456-FErKS5yu15scpSGmvip4JA==</pd:userCode>
  <pd:demands>
    <pd:demand id="UpdateAccount">
      <pd:account>
        <pd:userName><![CDATA[tomthumb]]></pd:userName>
        <pd:email><![CDATA[tomthumb@gmail.com]]></pd:email>
        <pd:firstName><![CDATA[Tomas]]></pd:firstName>
        <pd:lastName><![CDATA[Thumberlake]]></pd:lastName>
        <pd:countryCode><![CDATA[US]]></pd:countryCode>
        <pd:gender>male</pd:gender>
        <pd:yearOfBirth>1965</pd:yearOfBirth>
        <pd:websiteURL><![CDATA[http://www.lidl.com]]></pd:websiteURL>
        <pd:bio><![CDATA[I am a big man with small ideas...]]></pd:bio>
      </pd:account>
    </pd:demand>
  </pd:demands>
</pd:pdRequest>

Response XML Payload

<?xml version="1.0" encoding="utf-8" ?>
<pd:pdResponse partnerGUID="3F2504E0-4F89-11D3-9A0C-0305E82C3301" xmlns:pd="http://api.polldaddy.com/pdapi.xsd">
  <pd:userCode>123456-FErKS5yu15scpSGmvip4JA==</pd:userCode>
  <pd:demands>
    <pd:demand id="GetAccount">
      <pd:account>
        <pd:userName><![CDATA[tomthumb]]></pd:userName>
        <pd:email><![CDATA[tomthumb@gmail.com]]></pd:email>
        <pd:firstName><![CDATA[Tomas]]></pd:firstName>
        <pd:lastName><![CDATA[Thumberlake]]></pd:lastName>
        <pd:countryCode><![CDATA[US]]></pd:countryCode>
        <pd:gender>male</pd:gender>
        <pd:yearOfBirth>1965</pd:yearOfBirth>
        <pd:websiteURL><![CDATA[http://www.lidl.com]]></pd:websiteURL>
        <pd:bio><![CDATA[I am a big man with small ideas...]]></pd:bio>
      </pd:account>
    </pd:demand>
  </pd:demands>
</pd:pdResponse>

Field Descriptions

Field Type Length Possible Values
userName String 20 na
email String 80 na
firstName String 50 na
lastName String 50 na
gender String na male/female
yearOfBirth Integer 4 na
websiteURL String 200 na
bio String 500 na
Advertisements

%d bloggers like this: