GetPollResults

Method Name: GetPollResults.
Method description: Used to retrieve the Poll Results.

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="GetPollResults">
      <pd:poll id="690432265" />
    </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="GetPollResults">
	<pd:result id='690432265'>
	  <pd:answers>
	    <pd:answer id='23123124' total='1074' percent='89.13'>
		<pd:text><![CDATA[Yes]]></pd:text>
	    </pd:answer>
	    <pd:answer id='23123125' total='131' percent='10.87'>
	        <pd:text><![CDATA[No]]></pd:text>
	    </pd:answer>
	  </pd:answers>
       </pd:result>
    </pd:demand>
  </pd:demands>
</pd:pdResponse>

%d bloggers like this: