UpdatePack

Method Name: UpdatePack.
Method description: Used to update a PollDaddy language pack.

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="UpdatePack">
      	<pd:pack id='123546' >
		<pack>
			<title>My Pack</title>
			<phrase phraseID='1'><![CDATA[View Resultz]]></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:demands>
  </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="GetPack">
      	<pd:pack id='123546' date='2010-02-06 11:59:00'>
		<pack type='user'>
			<title>My Pack</title>
			<phrase phraseID='1'><![CDATA[View Resultz]]></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:demand>
  </pd:demands>
</pd:pdResponse>

%d bloggers like this: