GetPacks

Method Name: GetPacks.
Method description: Used to retrieve all your PollDaddy language packs.

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="GetPacks" />
  </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="GetPacks">
      	<pd:packs>
		<pd:pack id='123123' date='2010-02-05 11:59:00'>
			<pack type='user'>
				<title>My Pack</title>
				<phrase phraseID='1'><![CDATA[View Results]]></phrase>
				<phrase phraseID='2'><![CDATA[Thank you for voting!]]></phrase>
				<phrase phraseID='3'><![CDATA[Return To Poll]]></phrase>
				<phrase phraseID='4'><![CDATA[Other:]]></phrase>
				<phrase phraseID='5'><![CDATA[Thank you, we have already counted your vote.]]></phrase>
				<phrase phraseID='6'><![CDATA[Total Votes:]]></phrase>
				<phrase phraseID='7'><![CDATA[votes]]></phrase>
				<phrase phraseID='8'><![CDATA[Poll Closed]]></phrase>
				<phrase phraseID='9'><![CDATA[Vote]]></phrase>
				<phrase phraseID='10'><![CDATA[Please choose an answer first!]]></phrase>
				<phrase phraseID='11'><![CDATA[Comments]]></phrase>
				<phrase phraseID='12'><![CDATA[Share This]]></phrase>
			</pack>
		</pd:pack>
		<pd:pack id='123444' date='2009-03-30 11:03:11'>
			<pack type='user'>
				<title>Other pack</title>
				<phrase phraseID='1'><![CDATA[view results]]></phrase>
				<phrase phraseID='2'><![CDATA[Thank you for voting!]]></phrase>
				<phrase phraseID='3'><![CDATA[Return To Poll]]></phrase>
				<phrase phraseID='4'><![CDATA[Other:]]></phrase>
				<phrase phraseID='5'><![CDATA[Thank you, we have already counted your vote.]]></phrase>
				<phrase phraseID='6'><![CDATA[Total Votes:]]></phrase>
				<phrase phraseID='7'><![CDATA[votes]]></phrase>
				<phrase phraseID='8'><![CDATA[Poll Closed]]></phrase>
				<phrase phraseID='9'><![CDATA[vote]]></phrase>
				<phrase phraseID='10'><![CDATA[Please choose an answer first!]]></phrase>
				<phrase phraseID='11'><![CDATA[Comments]]></phrase>
				<phrase phraseID='12'><![CDATA[Share This]]></phrase>
			</pack>
		</pd:pack>
	</pd:packs>
    </pd:demand>
  </pd:demands>
</pd:pdResponse>
Advertisements

%d bloggers like this: