GetStyle

Method Name: GetStyle.
Method description: Used to get a PollDaddy custom style.

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="GetStyle">
			<pd:style id='123234' />
		</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="GetStyle">
			<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:css><![CDATA[%3C%3Fxml+version%3D%221.0%22%3F%3E%0A%3Cdata%3E%3Cpds-box%3E%3Cbackground+background-color%3D%22%23FF08E6%22+background-image%3D%22%22+background-repeat%3D%22repeat-x%22+background-position%3D%22top+left%22%2F%3E%3Cborder+border-width%3D%221px%22+border-style%3D%22solid%22+border-color%3D%22%23ccc%22+border-radius%3D%2212px%22%2F%3E%3Cmargin+margin-top%3D%220px%22+margin-right%3D%220px%22+margin-bottom%3D%220px%22+margin-left%3D%220px%22%2F%3E%3Cpadding+padding-top%3D%2212px%22+padding-right%3D%2212px%22+padding-bottom%3D%2212px%22+padding-left%3D%2212px%22%2F%3E%3Cscale+width%3D%22300%22%2F%3E%3C%2Fpds-box%3E%3Cpds-question-top%3E%3Cfont+font-style%3D%22normal%22+line-height%3D%2220px%22+font-weight%3D%22bold%22+font-family%3D%22Arial%22+font-size%3D%2215px%22+text-decoration%3D%22none%22+color%3D%22%23FFD0C7%22+text-align%3D%22left%22%2F%3E%3Cborder+border-width%3D%220px%22+border-style%3D%22none%22+border-color%3D%22%23eeeeee%22+border-radius%3D%220px%22%2F%3E%3Cbackground+background-color%3D%22%22+background-image%3D%22%22+background-repeat%3D%22repeat-x%22+background-position%3D%22left+top%22%2F%3E%3Cmargin+margin-top%3D%220px%22+margin-right%3D%220px%22+margin-bottom%3D%2215px%22+margin-left%3D%220px%22%2F%3E%3Cpadding+padding-top%3D%220px%22+padding-right%3D%220px%22+padding-bottom%3D%220px%22+padding-left%3D%220px%22%2F%3E%3C%2Fpds-question-top%3E%3Cpds-answer-group%3E%3Cpadding+padding-top%3D%228px%22+padding-right%3D%220px%22+padding-bottom%3D%228px%22+padding-left%3D%220px%22%2F%3E%3C%2Fpds-answer-group%3E%3Cpds-answer-input%3E%3Cpadding+padding-top%3D%220px%22+padding-right%3D%220px%22+padding-bottom%3D%220px%22+padding-left%3D%220px%22%2F%3E%3C%2Fpds-answer-input%3E%3Cpds-answer%3E%3Cfont+font-style%3D%22normal%22+line-height%3D%2218px%22+font-weight%3D%22normal%22+font-family%3D%22Arial%22+font-size%3D%2213px%22+text-decoration%3D%22none%22+color%3D%22%23FFD0C7%22+text-align%3D%22left%22%2F%3E%3Cpadding+padding-top%3D%220px%22+padding-right%3D%220px%22+padding-bottom%3D%220px%22+padding-left%3D%220px%22%2F%3E%3Cscale+width%3D%22268%22%2F%3E%3C%2Fpds-answer%3E%3Cpds-link%3E%3Cfont+font-style%3D%22normal%22+line-height%3D%2211px%22+font-weight%3D%22normal%22+font-family%3D%22Arial%22+font-size%3D%2211px%22+text-decoration%3D%22underline%22+color%3D%22%23333%22+text-align%3D%22left%22%2F%3E%3Cpadding+padding-top%3D%228px%22+padding-right%3D%2210px%22+padding-bottom%3D%220px%22+padding-left%3D%220px%22%2F%3E%3C%2Fpds-link%3E%3Cpds-textfield%3E%3Cfont+font-style%3D%22normal%22+font-family%3D%22Arial%22+line-height%3D%2212px%22+font-weight%3D%22normal%22+font-size%3D%2212px%22+text-decoration%3D%22none%22+color%3D%22%23333%22+text-align%3D%22left%22%2F%3E%3Cbackground+background-color%3D%22%23fff%22+background-image%3D%22%22+background-repeat%3D%22repeat-x%22+background-position%3D%22left+top%22%2F%3E%3Cborder+border-width%3D%221px%22+border-style%3D%22solid%22+border-color%3D%22%23d1d1d1%22+border-radius%3D%220px%22%2F%3E%3Cmargin+margin-top%3D%224px%22+margin-right%3D%220px%22+margin-bottom%3D%220px%22+margin-left%3D%2225px%22%2F%3E%3Cpadding+padding-top%3D%222px%22+padding-right%3D%222px%22+padding-bottom%3D%222px%22+padding-left%3D%222px%22%2F%3E%3Cscale+width%3D%22200%22%2F%3E%3C%2Fpds-textfield%3E%3Cpds-vote-button%3E%3Cfont+font-style%3D%22normal%22+font-family%3D%22Arial%22+line-height%3D%2224px%22+font-weight%3D%22bold%22+font-size%3D%2214px%22+text-decoration%3D%22none%22+color%3D%22%23333333%22+text-align%3D%22left%22%2F%3E%3Cbackground+background-color%3D%22%23f2f2f2%22+background-image%3D%22http%3A%2F%2Fs3.wordpress.com%2Fwp-admin%2Fimages%2Fwhite-grad.png%22+background-repeat%3D%22repeat-x%22+background-position%3D%22left+top%22%2F%3E%3Cborder+border-width%3D%221px%22+border-style%3D%22solid%22+border-color%3D%22%23999999%22+border-radius%3D%2211px%22%2F%3E%3Cmargin+margin-top%3D%220px%22+margin-right%3D%220px%22+margin-bottom%3D%220px%22+margin-left%3D%220px%22%2F%3E%3Cpadding+padding-top%3D%220px%22+padding-right%3D%2224px%22+padding-bottom%3D%220px%22+padding-left%3D%2224px%22%2F%3E%3C%2Fpds-vote-button%3E%3Cpds-answer-feedback%3E%3Cbackground+background-color%3D%22%23f1f1f1%22+background-image%3D%22%22+background-repeat%3D%22repeat-x%22+background-position%3D%22left+top%22%2F%3E%3Cborder+border-width%3D%221px%22+border-style%3D%22solid%22+border-color%3D%22%23d1d1d1%22+border-radius%3D%220px%22%2F%3E%3Cpadding+padding-top%3D%220px%22+padding-right%3D%220px%22+padding-bottom%3D%220px%22+padding-left%3D%220px%22%2F%3E%3Cmargin+margin-top%3D%225px%22+margin-right%3D%220px%22+margin-bottom%3D%220px%22+margin-left%3D%220px%22%2F%3E%3C%2Fpds-answer-feedback%3E%3Cpds-answer-feedback-bar%3E%3Cbackground+background-color%3D%22%233478E3%22+background-image%3D%22%22+background-repeat%3D%22repeat-x%22+background-position%3D%22left+bottom%22%2F%3E%3Cborder+border-width%3D%220px%22+border-style%3D%22none%22+border-color%3D%22%234D6382%22+border-radius%3D%220px%22%2F%3E%3Cpadding+padding-top%3D%220px%22+padding-right%3D%220px%22+padding-bottom%3D%220px%22+padding-left%3D%220px%22%2F%3E%3Cmargin+margin-top%3D%220px%22+margin-right%3D%220px%22+margin-bottom%3D%220px%22+margin-left%3D%220px%22%2F%3E%3Cheight+height%3D%2218%22%2F%3E%3C%2Fpds-answer-feedback-bar%3E%3Cpds-totalvotes-inner%3E%3Cfont+font-style%3D%22normal%22+font-family%3D%22Arial%22+line-height%3D%2212px%22+font-weight%3D%22normal%22+font-size%3D%2212px%22+text-decoration%3D%22none%22+color%3D%22%23333333%22+text-align%3D%22left%22%2F%3E%3Cbackground+background-color%3D%22%22+background-image%3D%22%22+background-repeat%3D%22repeat-x%22+background-position%3D%22left+top%22%2F%3E%3Cborder+border-width%3D%220px%22+border-style%3D%22solid%22+border-color%3D%22%23F0F0F0%22+border-radius%3D%220px%22%2F%3E%3Cpadding+padding-top%3D%220px%22+padding-right%3D%220px%22+padding-bottom%3D%220px%22+padding-left%3D%220px%22%2F%3E%3C%2Fpds-totalvotes-inner%3E%3C%2Fdata%3E%0A]]></pd:css>
				</pd:style>
			</pd:styles>
		</pd:demand>
	</pd:demands>
</pd:pdResponse>
Advertisements

%d bloggers like this: