GetStyles

Method Name: GetStyles.
Method description: Used to get all your PollDaddy custom styles.

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="GetStyles" />
	</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="GetStyles">
			<pd:styles>
				<pd:style id='123234' type='1'>
					<pd:title><![CDATA[pinky]]></pd:title>
					<pd:date>2010-01-26 13:43:12</pd:date>
				</pd:style>	
				<pd:style id='123123' type='1'>
					<pd:title><![CDATA[black silo]]></pd:title>
					<pd:date>2009-12-23 14:33:01</pd:date>
				</pd:style>
				<pd:style id='123112' type='0'>
					<pd:title><![CDATA[blueish]]></pd:title>
					<pd:date>2009-12-14 11:49:09</pd:date>
				</pd:style>
			</pd:styles>
		</pd:demand>
	</pd:demands>
</pd:pdResponse>

%d bloggers like this: