Crowdsignal exposes some of its functionality via an Application Programming Interface (API). This document is a reference for developers building tools that interact with Crowdsignal. Note that the API contains methods for polls and ratings only. It does not support surveys or quizzes.
Any dates returned by API methods are UTC.
Authentication
- To access the API methods you will need a Crowdsignal account. If you do not have one already, signup here.
- You will need to request an API key or create one on your account page. Your API key tells us where the request is coming from and should be kept secret like a password.
- You will also need a usercode so we know who is making the request. You can request the usercode using your Crowdsignal username, password and API key.
The partnerGUID in all requests to the Crowdsignal API is the API key created in step 2 above.
If more than one user is going to use this key to access the API, then you must submit a unique partnerUserID when requesting the usercode. This is usually an ID that is used on a partner’s system to identify a user. Submit this partner user id when creating an account. If only one user per API key, then the partnerUserID is 0.
The API supports XML and JSON, so to make a request to the API, you need to send a HTTP POST request, where the payload is XML or JSON.
You cannot access the API directly using Javascript AJAX requests in a browser. The browser must send a request (AJAX or otherwise) to the originating host of the page. The server then sends a request to api.polldaddy.com and waits for a reply before sending data to the browser.
All requests should be sent to https://api.crowdsignal.com/v1.
XML requests
The XML payload must conform to the XSD Stylesheet here.
The HTTP POST request also must set the content type to “text/xml”.
JSON requests
JSON requests will have a similar structure to XML, but have a different format. Generally you can follow these rules:
- There will be one top level object, typically pdRequest.
- Simple XML elements (elements that contain only content) become string/value pairs.
- Complex XML elements (elements that contain nested elements) become nested objects.
- Attributes become string/value pairs.
- If an element contains both content and attributes, the attributes become string/value pairs and the content becomes a string/value pair with the name content.
- Repeated elements map onto arrays. The array is named after the element.
The HTTP POST request also must set the content type to “application/json.”
Voting
We have a voting method but it is not public. It is reserved for Corporate and Enterprise subscribers only. To find out more, please see the vote method.
Testing
You can test your API requests using this online tool – https://api.crowdsignal.com/test/
Examples
Example code, written in PHP, is available. It sends JSON encoded API requests to authenticate, get a userCode and then carry out numerous functions such as listing all the polls in an account, creating a new poll and getting information about a poll.
API request method types
There are three different request method types:
- pdInitiate—Simply used to login and retrieve the Crowdsignal usercode
- pdAccess—Used to access methods where the Crowdsignal usercode is not necessary
- pdRequest – Used to access the bulk of the API methods and needs a Crowdsignal usercode
- GetFolders
- GetAccount
- UpdateAccount
- GetPoll
- GetPolls
- DeletePoll
- CreatePoll
- UpdatePoll
- GetPollResults
- GetPollVotes
- ResetPollResults
- GetPollComments
- ModerateComment
- Vote
- GetRating
- GetRatings
- DeleteRating
- UpdateRating
- CreateRating
- GetRatingResults
- ResetRatingResults
- DeleteRatingResult
- GetPack
- GetPacks
- DeletePack
- CreatePack
- UpdatePack
- GetMedia
- GetStyle
- GetStyles
- DeleteStyle
- CreateStyle
- UpdateStyle
pdInitiate
Method name: none
Method description: Used to register a user with the API key
XML Request
<?xml version="1.0" encoding="utf-8" ?> <pd:pdInitiate partnerGUID="3F2504E0-4F89-11D3-9A0C-0305E82C3301" partnerUserID="0" xmlns:pd="http://api.polldaddy.com/pdapi.xsd"> <pd:Email>[email protected]</pd:Email> <pd:Password>cRyPtiC</pd:Password> </pd:pdInitiate>
XML Response
<?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:pdResponse>
JSON Request
{ "pdInitiate": { "partnerGUID": "3F2504E0-4F89-11D3-9A0C-0305E82C3301", "partnerUserID": "0", "email": "[email protected]", "password": "cRyPtiC" } }
JSON Response
{ "pdResponse": { "partnerGUID": "3F2504E0-4F89-11D3-9A0C-0305E82C3301", "userCode": "123456-FErKS5yu15scpSGmvip4JA==" } }
GetUserCode
Method name: GetUserCode
Method description: Used to retrieve the Crowdsignal API usercode.
XML Request
<?xml version="1.0" encoding="utf-8" ?> <pd:pdAccess partnerGUID="3F2504E0-4F89-11D3-9A0C-0305E82C3301" partnerUserID="0" xmlns:pd="http://api.polldaddy.com/pdapi.xsd"> <pd:demands> <pd:demand id="GetUserCode"/> </pd:demands> </pd:pdAccess>
XML Response
<?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:pdResponse>
JSON Request
{ "pdAccess": { "partnerGUID": "3F2504E0-4F89-11D3-9A0C-0305E82C3301", "partnerUserID": "0", "demands": { "demand": { "id": "GetUserCode" } } } }
JSON Response
{ "pdResponse": { "partnerGUID": "3F2504E0-4F89-11D3-9A0C-0305E82C3301", "userCode": "123456-FErKS5yu15scpSGmvip4JA==" } }
GetFolders
Method Name: GetFolders
Method description: Used to retrieve a list of folders in your account. You can optionally use the list node, with the start and end attributes to page the result.
XML Request
<?xml version="1.0" encoding="utf-8" ?> <pd:pdRequest xmlns:pd="http://api.polldaddy.com/pdapi.xsd" partnerGUID="3F2504E0-4F89-11D3-9A0C-0305E82C3301"> <pd:userCode>123456-FErKS5yu15scpSGmvip4JA==</pd:userCode> <pd:demands> <pd:demand id="GetFolders"> <pd:list end="0" start="0" /> </pd:demand> </pd:demands> </pd:pdRequest>
XML Response
<?xml version="1.0" encoding="utf-8" ?> <pd:pdResponse xmlns:pd="http://api.polldaddy.com/pdapi.xsd" partnerGUID="3F2504E0-4F89-11D3-9A0C-0305E82C3301"> <pd:userCode>123456-FErKS5yu15scpSGmvip4JA==</pd:userCode> <pd:demands> <pd:demand id="GetFolders"> <pd:folders total="1"> <pd:folder id="690432345">My Polls</pd:folder> </pd:folders> </pd:demand> </pd:demands> </pd:pdResponse>
JSON Request
{ "pdRequest": { "partnerGUID": "3F2504E0-4F89-11D3-9A0C-0305E82C3301", "userCode": "123456-FErKS5yu15scpSGmvip4JA==", "demands": { "demand": { "list": { "start": "0", "end": "0" }, "id": "GetFolders" } } } }
JSON Response
{ "pdResponse": { "partnerGUID": "3F2504E0-4F89-11D3-9A0C-0305E82C3301", "userCode": "123456-FErKS5yu15scpSGmvip4JA==", "demands": { "demand": { "folders": { "folder": { "content": "My Polls", "id": "690432345", } }, "id": "GetFolders" } } } }
GetAccount
Method Name: GetAccount
Method description: Used to retrieve your Crowdsignal account XML.
XML Request
<?xml version="1.0" encoding="utf-8" ?> <pd:pdRequest xmlns:pd="http://api.polldaddy.com/pdapi.xsd" partnerGUID="3F2504E0-4F89-11D3-9A0C-0305E82C3301"> <pd:userCode>123456-FErKS5yu15scpSGmvip4JA==</pd:userCode> <pd:demands> <pd:demand id="GetAccount"/> </pd:demands> </pd:pdRequest>
XML Response
<?xml version="1.0" encoding="utf-8" ?> <pd:pdResponse xmlns:pd="http://api.polldaddy.com/pdapi.xsd" partnerGUID="3F2504E0-4F89-11D3-9A0C-0305E82C3301"> <pd:userCode>123456-FErKS5yu15scpSGmvip4JA==</pd:userCode> <pd:demands> <pd:demand id="GetAccount"> <pd:account> <pd:userName>tomthumb</pd:userName> <pd:email>[email protected]</pd:email> <pd:firstName>Tom</pd:firstName> <pd:lastName>Thumb</pd:lastName> <pd:countryCode>IE</pd:countryCode> <pd:gender>male</pd:gender> <pd:yearOfBirth>1985</pd:yearOfBirth> <pd:websiteURL>http://www.example.com</pd:websiteURL> <pd:bio>I am a small man with big ideas…</pd:bio> </pd:account> </pd:demand> </pd:demands> </pd:pdResponse>
JSON Request
{ "pdRequest": { "partnerGUID": "3F2504E0-4F89-11D3-9A0C-0305E82C3301", "userCode": "123456-FErKS5yu15scpSGmvip4JA==", "demands": { "demand": { "id": "GetAccount" } } } }
JSON Response
{ "pdResponse": { "partnerGUID": "3F2504E0-4F89-11D3-9A0C-0305E82C3301", "userCode": "123456-FErKS5yu15scpSGmvip4JA==", "demands": { "demand": { "account": { "userName": "tomthumb", "email": "[email protected]", "firstName": "Tom", "lastName": "Thumb", "countryCode": "IE", "gender": "male", "yearOfBirth": "1985", "websiteURL": "http://www.example.com", "bio": "I am a small man with big ideas..." }, "id": "GetAccount" } } } }
UpdateAccount
Method Name: UpdateAccount
Method description: Used to update your Crowdsignal account.
XML Request
<?xml version="1.0" encoding="utf-8" ?> <pd:pdRequest xmlns:pd="http://api.polldaddy.com/pdapi.xsd" partnerGUID="3F2504E0-4F89-11D3-9A0C-0305E82C3301"> <pd:userCode>123456-FErKS5yu15scpSGmvip4JA==</pd:userCode> <pd:demands> <pd:demand id="UpdateAccount"> <pd:account> <pd:userName>tomthumb</pd:userName> <pd:email>[email protected]</pd:email> <pd:firstName>Tomas</pd:firstName> <pd:lastName>Thumberlake</pd:lastName> <pd:countryCode>US</pd:countryCode> <pd:gender>male</pd:gender> <pd:yearOfBirth>1965</pd:yearOfBirth> <pd:websiteURL>http://www.example.com</pd:websiteURL> <pd:bio>I am a big man with small ideas…</pd:bio> </pd:account> </pd:demand> </pd:demands> </pd:pdRequest>
XML Response
<?xml version="1.0" encoding="utf-8" ?> <pd:pdResponse xmlns:pd="http://api.polldaddy.com/pdapi.xsd" partnerGUID="3F2504E0-4F89-11D3-9A0C-0305E82C3301"> <pd:userCode>123456-FErKS5yu15scpSGmvip4JA==</pd:userCode> <pd:demands> <pd:demand id="GetAccount"> <pd:account> <pd:userName>tomthumb</pd:userName> <pd:email>[email protected]</pd:email> <pd:firstName>Tomas</pd:firstName> <pd:lastName>Thumberlake</pd:lastName> <pd:countryCode>US</pd:countryCode> <pd:gender>male</pd:gender> <pd:yearOfBirth>1965</pd:yearOfBirth> <pd:websiteURL>http://www.example.com</pd:websiteURL> <pd:bio>I am a big man with small ideas…</pd:bio> </pd:account> </pd:demand> </pd:demands> </pd:pdResponse>
JSON Request
{ "pdRequest": { "partnerGUID": "3F2504E0-4F89-11D3-9A0C-0305E82C3301", "userCode": "123456-FErKS5yu15scpSGmvip4JA==", "demands": { "demand": { "account": { "userName": "tomthumb", "email": "[email protected]", "firstName": "Tomas", "lastName": "Thumberlake", "countryCode": "US", "gender": "male", "yearOfBirth": "1965", "websiteURL": "http://www.example.com", "bio": "I am a big man with small ideas..." }, "id": "UpdateAccount" } } } }
JSON Response
{ "pdResponse": { "partnerGUID": "3F2504E0-4F89-11D3-9A0C-0305E82C3301", "userCode": "123456-FErKS5yu15scpSGmvip4JA==", "demands": { "demand": { "account": { "userName": "tomthumb", "email": "[email protected]", "firstName": "Tomas", "lastName": "Thumberlake", "countryCode": "US", "gender": "male", "yearOfBirth": "1965", "websiteURL": "http://www.example.com", "bio": "I am a big man with small ideas..." }, "id": "GetAccount" } } } }
GetPoll
Method Name: GetPoll
Method description: Used to retrieve a poll’s XML.
XML Request
<?xml version="1.0" encoding="utf-8" ?> <pd:pdRequest xmlns:pd="http://api.polldaddy.com/pdapi.xsd" partnerGUID="3F2504E0-4F89-11D3-9A0C-0305E82C3301"> <pd:userCode>123456-FErKS5yu15scpSGmvip4JA==</pd:userCode> <pd:demands> <pd:demand id="GetPoll"> <pd:poll id="690432265"/> </pd:demand> </pd:demands> </pd:pdRequest>
XML Response
<?xml version="1.0" encoding="utf-8" ?> <pd:pdResponse xmlns:pd="http://api.polldaddy.com/pdapi.xsd" partnerGUID="3F2504E0-4F89-11D3-9A0C-0305E82C3301"> <pd:userCode>123456-FErKS5yu15scpSGmvip4JA==</pd:userCode> <pd:demands> <pd:demand id="GetPoll"> <pd:poll id="690432265"> <pd:question>Do you like polls?</pd:question> <pd:multipleChoice>no</pd:multipleChoice> <pd:randomiseAnswers>yes</pd:randomiseAnswers> <pd:otherAnswer>yes</pd:otherAnswer> <pd:resultsType>percent</pd:resultsType> <pd:blockRepeatVotersType>cookie</pd:blockRepeatVotersType> <pd:blockExpiration>7257600</pd:blockExpiration> <pd:comments>moderate</pd:comments> <pd:makePublic>yes</pd:makePublic> <pd:closePoll>yes</pd:closePoll> <pd:closeDate>2008-11-30T00:42:00</pd:closeDate> <pd:styleID>15</pd:styleID> <pd:packID>11577</pd:packID> <pd:folderID>140644</pd:folderID> <pd:languageID>30</pd:languageID> <pd:sharing>no</pd:sharing> <pd:mediaType>0</pd:mediaType> <pd:mediaCode/> <pd:answers> <pd:answer id="2783737"> <pd:text>Yes</pd:text> <pd:mediaType>0</pd:mediaType> <pd:mediaCode/> </pd:answer> <pd:answer id="2937738"> <pd:text>No</pd:text> <pd:mediaType>0</pd:mediaType> <pd:mediaCode/> </pd:answer> </pd:answers> </pd:poll> </pd:demand> </pd:demands> </pd:pdResponse>
JSON Request
{ "pdRequest": { "partnerGUID": "3F2504E0-4F89-11D3-9A0C-0305E82C3301", "userCode": "123456-FErKS5yu15scpSGmvip4JA==", "demands": { "demand": { "poll": { "id": "690432265" }, "id": "GetPoll" } } } }
JSON Response
{ "pdResponse": { "partnerGUID": "3F2504E0-4F89-11D3-9A0C-0305E82C3301", "userCode": "123456-FErKS5yu15scpSGmvip4JA==", "demands": { "demand": { "poll": { "question": "Do you like polls?", "multipleChoice": "no", "randomiseAnswers": "yes", "otherAnswer": "yes", "resultsType": "percent", "blockRepeatVotersType": "cookie", "blockExpiration": "7257600", "comments": "moderate", "makePublic": "yes", "closePoll": "yes", "closeDate": "2020-11-30T00:42:00", "styleID": "15", "packID": "11577", "folderID": "140644", "languageID": "30", "sharing": "no", "mediaType": "0", "mediaCode": "", "answers": { "answer": [{ "text": "Yes", "mediaType": "0", "mediaCode": "", "id": "2783737" }, { "text": "No", "mediaType": "0", "mediaCode": "", "id": "2937738" }] }, "id": "690432265" }, "id": "GetPoll" } } } }
GetPolls
Method Name: GetPolls
Method description: Used to retrieve a list of polls in your account. You can optionally use the list node, with the start and end attributes to page the result and a folder id to filter the polls by the folder they are in. You can also use the id attribute to specify a parent id, that you may have used when creating a poll to categorize your polls.
XML Request
<?xml version="1.0" encoding="utf-8" ?> <pd:pdRequest xmlns:pd="http://api.polldaddy.com/pdapi.xsd" partnerGUID="3F2504E0-4F89-11D3-9A0C-0305E82C3301"> <pd:userCode>123456-FErKS5yu15scpSGmvip4JA==</pd:userCode> <pd:demands> <pd:demand id="GetPolls"> <pd:list end="0" id="22222" start="0" folder_id="17948644" /> </pd:demand> </pd:demands> </pd:pdRequest>
XML Response
<?xml version="1.0" encoding="utf-8" ?> <pd:pdResponse xmlns:pd="http://api.polldaddy.com/pdapi.xsd" partnerGUID="3F2504E0-4F89-11D3-9A0C-0305E82C3301"> <pd:userCode>123456-FErKS5yu15scpSGmvip4JA==</pd:userCode> <pd:demands> <pd:demand id="GetPolls"> <pd:polls total="1"> <pd:poll closed="0" created="2008-11-04T16:47:47.293" folderID="17948644" id="690432345" owner="60369789" responses="5">Do you like surveys?</pd:poll> </pd:polls> </pd:demand> </pd:demands> </pd:pdResponse>
JSON Request
{ "pdRequest": { "partnerGUID": "3F2504E0-4F89-11D3-9A0C-0305E82C3301", "userCode": "123456-FErKS5yu15scpSGmvip4JA==", "demands": { "demand": { "list": { "start": "0", "end": "0", "id": "22222" "folder_id": "17948644" }, "id": "GetPolls" } } } }
JSON Response
{ "pdResponse": { "partnerGUID": "3F2504E0-4F89-11D3-9A0C-0305E82C3301", "userCode": "123456-FErKS5yu15scpSGmvip4JA==", "demands": { "demand": { "polls": { "poll": { "folderID": "17948644", "content": "Do you like surveys?", "id": "690432345", "created": "2008-11-04T16:47:47.293", "responses": "5", "owner": "60369789", "closed": "0" }, "total": "1" }, "id": "GetPolls" } } } }
DeletePoll
Method Name: DeletePoll
Method description: Used to delete a poll.
XML Request
<?xml version="1.0" encoding="utf-8" ?> <pd:pdRequest xmlns:pd="http://api.polldaddy.com/pdapi.xsd" partnerGUID="3F2504E0-4F89-11D3-9A0C-0305E82C3301"> <pd:userCode>123456-FErKS5yu15scpSGmvip4JA==</pd:userCode> <pd:demands> <pd:demand id="DeletePoll"> <pd:poll id="690432345"/> </pd:demand> </pd:demands> </pd:pdRequest>
XML Response
<?xml version="1.0" encoding="utf-8" ?> <pd:pdResponse xmlns:pd="http://api.polldaddy.com/pdapi.xsd" partnerGUID="3F2504E0-4F89-11D3-9A0C-0305E82C3301"> <pd:userCode>123456-FErKS5yu15scpSGmvip4JA==</pd:userCode> <pd:demands> <pd:demand id="DeletePoll"/> </pd:demands> </pd:pdResponse>
JSON Request
{ "pdRequest": { "partnerGUID": "3F2504E0-4F89-11D3-9A0C-0305E82C3301", "userCode": "123456-FErKS5yu15scpSGmvip4JA==", "demands": { "demand": { "poll": { "id": "690432345" }, "id": "DeletePoll" } } } }
JSON Response
{ "pdResponse": { "partnerGUID": "3F2504E0-4F89-11D3-9A0C-0305E82C3301", "userCode": "123456-FErKS5yu15scpSGmvip4JA==", "demands": { "demand": { "id": "DeletePoll" } } } }
CreatePoll
Method Name: CreatePoll
Method description: Used to create a poll.
XML Request
<?xml version="1.0" encoding="utf-8" ?> <pd:pdRequest xmlns:pd="http://api.polldaddy.com/pdapi.xsd" partnerGUID="3F2504E0-4F89-11D3-9A0C-0305E82C3301"> <pd:userCode>123456-FErKS5yu15scpSGmvip4JA==</pd:userCode> <pd:demands> <pd:demand id="CreatePoll"> <pd:poll> <pd:question>Do you like polls?</pd:question> <pd:multipleChoice>no</pd:multipleChoice> <pd:randomiseAnswers>yes</pd:randomiseAnswers> <pd:otherAnswer>yes</pd:otherAnswer> <pd:resultsType>percent</pd:resultsType> <pd:blockRepeatVotersType>cookie</pd:blockRepeatVotersType> <pd:blockExpiration>7257600</pd:blockExpiration> <pd:comments>moderate</pd:comments> <pd:makePublic>yes</pd:makePublic> <pd:closePoll>yes</pd:closePoll> <pd:closeDate>2010-05-30T00:42:00</pd:closeDate> <pd:styleID>15</pd:styleID> <pd:width>500px</pd:width> <pd:packID>11577</pd:packID> <pd:folderID>140644</pd:folderID> <pd:languageID>30</pd:languageID> <pd:sharing>no</pd:sharing> <pd:password>12345</pd:password> <pd:answers> <pd:answer> <pd:text>Yes</pd:text> </pd:answer> <pd:answer> <pd:text>No</pd:text> </pd:answer> </pd:answers> </pd:poll> </pd:demand> </pd:demands> </pd:pdRequest>
XML Response
<?xml version="1.0" encoding="utf-8" ?> <pd:pdResponse xmlns:pd="http://api.polldaddy.com/pdapi.xsd" partnerGUID="3F2504E0-4F89-11D3-9A0C-0305E82C3301"> <pd:userCode>123456-FErKS5yu15scpSGmvip4JA==</pd:userCode> <pd:demands> <pd:demand id="GetPoll"> <pd:poll id="690432265"> <pd:question>Do you like polls?</pd:question> <pd:multipleChoice>no</pd:multipleChoice> <pd:randomiseAnswers>yes</pd:randomiseAnswers> <pd:otherAnswer>yes</pd:otherAnswer> <pd:resultsType>percent</pd:resultsType> <pd:blockRepeatVotersType>cookie</pd:blockRepeatVotersType> <pd:blockExpiration>7257600</pd:blockExpiration> <pd:comments>moderate</pd:comments> <pd:makePublic>yes</pd:makePublic> <pd:closePoll>yes</pd:closePoll> <pd:closeDate>2010-05-30T00:42:00</pd:closeDate> <pd:styleID>15</pd:styleID> <pd:packID>11577</pd:packID> <pd:folderID>140644</pd:folderID> <pd:languageID>30</pd:languageID> <pd:sharing>no</pd:sharing> <pd:password>12345</pd:password> <pd:mediaType>0</pd:mediaType> <pd:mediaCode/> <pd:answers> <pd:answer id="2783737"> <pd:text>Yes</pd:text> <pd:mediaType>0</pd:mediaType> <pd:mediaCode/> </pd:answer> <pd:answer id="2937738"> <pd:text>No</pd:text> <pd:mediaType>0</pd:mediaType> <pd:mediaCode/> </pd:answer> </pd:answers> </pd:poll> </pd:demand> </pd:demands> </pd:pdResponse>
JSON Request
{ "pdRequest": { "partnerGUID": "3F2504E0-4F89-11D3-9A0C-0305E82C3301", "userCode": "123456-FErKS5yu15scpSGmvip4JA==", "demands": { "demand": { "poll": { "question": "Do you like polls?", "multipleChoice": "no", "randomiseAnswers": "yes", "otherAnswer": { "content": "yes" }, "resultsType": "percent", "blockRepeatVotersType": "cookie", "blockExpiration": "7257600", "comments": { "content": "moderate" }, "makePublic": "yes", "closePoll": "yes", "closeDate": "2010-05-30T00:42:00", "styleID": "15", "width": "500px", "packID": "11577", "folderID": "140644", "languageID": "30", "sharing": "no", "password": "12345", "answers": { "answer": [{ "text": "Yes" }, { "text": "No" }] } }, "id": "CreatePoll" } } } }
JSON Response
{ "pdResponse": { "partnerGUID": "3F2504E0-4F89-11D3-9A0C-0305E82C3301", "userCode": "123456-FErKS5yu15scpSGmvip4JA==", "demands": { "demand": { "poll": { "question": "Do you like polls?", "multipleChoice": "no", "randomiseAnswers": "yes", "otherAnswer": { "content": "yes" }, "resultsType": "percent", "blockRepeatVotersType": "cookie", "blockExpiration": "7257600", "comments": { "content": "moderate" }, "makePublic": "yes", "closePoll": "yes", "closeDate": "2010-05-30T00:42:00", "styleID": "15", "packID": "11577", "folderID": "140644", "languageID": "30", "sharing": "no", "password": "12345", "mediaType": "0", "mediaCode": "", "answers": { "answer": [{ "text": "Yes", "mediaType": "0", "mediaCode": "", "id": "2783737" }, { "text": "No", "mediaType": "0", "mediaCode": "", "id": "2937738" }] }, "id": "690432265" }, "id": "GetPoll" } } } }
UpdatePoll
Method Name: UpdatePoll
Method description: Used to update a poll.
XML Request
<?xml version="1.0" encoding="utf-8" ?> <pd:pdRequest xmlns:pd="http://api.polldaddy.com/pdapi.xsd" partnerGUID="3F2504E0-4F89-11D3-9A0C-0305E82C3301"> <pd:userCode>123456-FErKS5yu15scpSGmvip4JA==</pd:userCode> <pd:demands> <pd:demand id="UpdatePoll"> <pd:poll id="690432265"> <pd:question>Do you like surveys?</pd:question> <pd:multipleChoice>yes</pd:multipleChoice> <pd:randomiseAnswers>no</pd:randomiseAnswers> <pd:otherAnswer>yes</pd:otherAnswer> <pd:resultsType>percent</pd:resultsType> <pd:blockRepeatVotersType>cookieip</pd:blockRepeatVotersType> <pd:blockExpiration>7257600</pd:blockExpiration> <pd:comments>allow</pd:comments> <pd:makePublic>no</pd:makePublic> <pd:closePoll>no</pd:closePoll> <pd:closeDate>2010-05-30T00:42:00</pd:closeDate> <pd:styleID>105</pd:styleID> <pd:packID>11577</pd:packID> <pd:folderID>140644</pd:folderID> <pd:languageID>30</pd:languageID> <pd:sharing>no</pd:sharing> <pd:password>12345</pd:password> <pd:answers> <pd:answer id="2783737"> <pd:text>Yes</pd:text> </pd:answer> <pd:answer id="2937738"> <pd:text>No</pd:text> </pd:answer> <pd:answer> <pd:text>Maybe</pd:text> </pd:answer> </pd:answers> </pd:poll> </pd:demand> </pd:demands> </pd:pdRequest>
XML Response
<?xml version="1.0" encoding="utf-8" ?> <pd:pdResponse xmlns:pd="http://api.polldaddy.com/pdapi.xsd" partnerGUID="3F2504E0-4F89-11D3-9A0C-0305E82C3301"> <pd:userCode>123456-FErKS5yu15scpSGmvip4JA==</pd:userCode> <pd:demands> <pd:demand id="GetPoll"> <pd:poll id="690432265"> <pd:question>Do you like surveys?</pd:question> <pd:multipleChoice>yes</pd:multipleChoice> <pd:randomiseAnswers>no</pd:randomiseAnswers> <pd:otherAnswer>yes</pd:otherAnswer> <pd:resultsType>percent</pd:resultsType> <pd:blockRepeatVotersType>cookieip</pd:blockRepeatVotersType> <pd:blockExpiration>7257600</pd:blockExpiration> <pd:comments>allow</pd:comments> <pd:makePublic>no</pd:makePublic> <pd:closePoll>no</pd:closePoll> <pd:closeDate>2010-05-30T00:42:00</pd:closeDate> <pd:styleID>105</pd:styleID> <pd:packID>11577</pd:packID> <pd:folderID>140644</pd:folderID> <pd:languageID>30</pd:languageID> <pd:sharing>no</pd:sharing> <pd:password>12345</pd:password> <pd:mediaType>0</pd:mediaType> <pd:mediaCode/> <pd:answers> <pd:answer id="2783737"> <pd:text>Yes</pd:text> <pd:mediaType>0</pd:mediaType> <pd:mediaCode/> </pd:answer> <pd:answer id="2937738"> <pd:text>No</pd:text> <pd:mediaType>0</pd:mediaType> <pd:mediaCode/> </pd:answer> <pd:answer id="2937845"> <pd:text>Maybe</pd:text> <pd:mediaType>0</pd:mediaType> <pd:mediaCode/> </pd:answer> </pd:answers> </pd:poll> </pd:demand> </pd:demands> </pd:pdResponse>
JSON Request
{ "pdRequest": { "partnerGUID": "3F2504E0-4F89-11D3-9A0C-0305E82C3301", "userCode": "123456-FErKS5yu15scpSGmvip4JA==", "demands": { "demand": { "poll": { "question": "Do you like surveys?", "multipleChoice": "yes", "randomiseAnswers": "no", "otherAnswer": { "content": "yes" }, "resultsType": "percent", "blockRepeatVotersType": "cookieip", "blockExpiration": "7257600", "comments": "allow", "makePublic": "no", "closePoll": "no", "closeDate": "2010-05-30T00:42:00", "styleID": "105", "packID": "11577", "folderID": "140644", "languageID": "30", "sharing": "no", "password": "12345", "answers": { "answer": [{ "text": "Yes", "id": "2783737" }, { "text": "No", "id": "2937738" }, { "text": "Maybe" }] }, "id": "690432265" }, "id": "UpdatePoll" } } } }
JSON Response
{ "pdResponse": { "partnerGUID": "3F2504E0-4F89-11D3-9A0C-0305E82C3301", "userCode": "123456-FErKS5yu15scpSGmvip4JA==", "demands": { "demand": { "poll": { "question": "Do you like surveys?", "multipleChoice": "yes", "randomiseAnswers": "no", "otherAnswer": "yes", "resultsType": "percent", "blockRepeatVotersType": "cookieip", "blockExpiration": "7257600", "comments": "allow", "makePublic": "no", "closePoll": "no", "closeDate": "2010-05-30T00:42:00", "styleID": "105", "packID": "11577", "folderID": "140644", "languageID": "30", "sharing": "no", "password": "12345", "mediaType": "0", "mediaCode": "", "answers": { "answer": [{ "text": "Yes", "mediaType": "0", "mediaCode": "", "id": "2783737" }, { "text": "No", "mediaType": "0", "mediaCode": "", "id": "2937738" }, { "text": "Maybe", "mediaType": "0", "mediaCode": "", "id": "2937845" }] }, "id": "690432265" }, "id": "GetPoll" } } } }
GetPollResults
Method Name: GetPollResults
Method description: Used to retrieve a poll’s results. This does not return custom tag data attached to votes.
XML Request
<?xml version="1.0" encoding="utf-8" ?> <pd:pdRequest xmlns:pd="http://api.polldaddy.com/pdapi.xsd" partnerGUID="3F2504E0-4F89-11D3-9A0C-0305E82C3301"> <pd:userCode>123456-FErKS5yu15scpSGmvip4JA==</pd:userCode> <pd:demands> <pd:demand id="GetPollResults"> <pd:poll id="690432265"/> </pd:demand> </pd:demands> </pd:pdRequest>
XML Response
<?xml version="1.0" encoding="utf-8" ?> <pd:pdResponse xmlns:pd="http://api.polldaddy.com/pdapi.xsd" partnerGUID="3F2504E0-4F89-11D3-9A0C-0305E82C3301"> <pd:userCode>123456-FErKS5yu15scpSGmvip4JA==</pd:userCode> <pd:demands> <pd:demand id="GetPollResults"> <pd:result id="690432265"> <pd:answers> <pd:answer id="23123124" percent="89.13" total="1074"> <pd:text>Yes</pd:text> </pd:answer> <pd:answer id="23123125" percent="10.87" total="131"> <pd:text>No</pd:text> </pd:answer> </pd:answers> </pd:result> </pd:demand> </pd:demands> </pd:pdResponse>
JSON Request
{ "pdRequest": { "partnerGUID": "3F2504E0-4F89-11D3-9A0C-0305E82C3301", "userCode": "123456-FErKS5yu15scpSGmvip4JA==", "demands": { "demand": { "poll": { "id": "690432265" }, "id": "GetPollResults" } } } }
JSON Response
{ "pdResponse": { "partnerGUID": "3F2504E0-4F89-11D3-9A0C-0305E82C3301", "userCode": "123456-FErKS5yu15scpSGmvip4JA==", "demands": { "demand": { "result": { "answers": { "answer": [{ "text": "Yes", "id": "23123124", "total": "1074", "percent": "89.13" }, { "text": "No", "id": "23123125", "total": "131", "percent": "10.87" }] }, "id": "690432265" }, "id": "GetPollResults" } } } }
GetPollVotes
Method Name: GetPollVotes
Method description: Used to retrieve a poll’s votes. It takes two extra parameters. “start”, the first vote to return and “end” is how many votes to return. Only JSON requests supported at this time.
A PRO account or better is required to use this endpoint. This example returns five votes.
JSON Request
{ "pdRequest": { "partnerGUID": "3F2504E0-4F89-11D3-9A0C-0305E82C3301", "userCode": "123456-FErKS5yu15scpSGmvip4JA==0d0", "demands": { "demand": { "poll":[], "id": "GetPollVotes", "list": { "start":0, "end": 5, "id": 1234567 } } } } }
JSON Response
{ "pdResponse": { "userCode": "123456-FErKS5yu15scpSGmvip4JA==0d0", "demands": { "demand": [{ "votes": { "votes":[{ "source": "2", "voteIP": "192.168.1.1", "answer_id":"38642617", "countryCode":"us", "voteDate":"Friday, Jun 12th 2015 4:09:56 PM", "voterUniqueID":"557af64478d31", "other_id":"0", "votePro":"0", "answer_text":"4", "countryName":"United States", "tags":[{ "tag_id":"35207438", "vote_id":"13623882", "poll_id":"690432265", "tag_name":"email", "tag_value":"[email protected]" }] }, { "source":"0", "voteIP":"192.168.1.1", "answer_id":"39213073", "countryCode":"us", "voteDate":"Wednesday, Feb 11th 2015 2:12:45 PM", "voterUniqueID":"54db554dd2f52", "other_id":"0", "votePro":"0", "answer_text":"test2", "countryName":"United States", "tags":[] }, { "source":"0", "voteIP":"192.168.1.1", "answer_id":"39226296", "countryCode":"us", "voteDate":"Tuesday, Jan 27th 2015 5:45:13 PM", "voterUniqueID":"54c7c099f2697", "other_id":"0", "votePro":"0", "answer_text":"test 3", "countryName":"United States", "tags":[] }, { "source":"0", "voteIP":"192.168.1.1", "answer_id":"39213073", "countryCode":"us", "voteDate":"Tuesday, Jan 27th 2015 5:45:01 PM", "voterUniqueID":"54c7c08d41432", "other_id":"0", "votePro":"0", "answer_text":"test2", "countryName":"United States", "tags":[] }, { "source":"0", "voteIP":"192.168.1.1", "answer_id":"39226295", "countryCode":"us", "voteDate":"Tuesday, Jan 27th 2015 5:44:49 PM", "voterUniqueID":"54c7c08149ebc", "other_id":"0", "votePro":"0", "answer_text":"test 1", "countryName":"United States", "tags":[] }], "id":690432265 }, "id":"getpollvotes" }] }, "partnerGUID":"3F2504E0-4F89-11D3-9A0C-0305E82C3301", "partnerUserID":0 } }
ResetPollResults
Method Name: ResetPollResults
Method description: Used to reset a poll’s results.
XML Request
<?xml version="1.0" encoding="utf-8" ?> <pd:pdRequest xmlns:pd="http://api.polldaddy.com/pdapi.xsd" partnerGUID="3F2504E0-4F89-11D3-9A0C-0305E82C3301"> <pd:userCode>123456-FErKS5yu15scpSGmvip4JA==</pd:userCode> <pd:demands> <pd:demand id="ResetPollResults"> <pd:poll id="690432265"/> </pd:demand> </pd:demands> </pd:pdRequest>
XML Response
<?xml version="1.0" encoding="utf-8" ?> <pd:pdResponse xmlns:pd="http://api.polldaddy.com/pdapi.xsd" partnerGUID="3F2504E0-4F89-11D3-9A0C-0305E82C3301"> <pd:userCode>123456-FErKS5yu15scpSGmvip4JA==</pd:userCode> <pd:demands> <pd:demand id="ResetPollResults"/> </pd:demands> </pd:pdResponse>
JSON Request
{ "pdRequest": { "partnerGUID": "3F2504E0-4F89-11D3-9A0C-0305E82C3301", "userCode": "123456-FErKS5yu15scpSGmvip4JA==", "demands": { "demand": { "poll": { "id": "690432265" }, "id": "ResetPollResults" } } } }
JSON Response
{ "pdResponse": { "partnerGUID": "3F2504E0-4F89-11D3-9A0C-0305E82C3301", "userCode": "123456-FErKS5yu15scpSGmvip4JA==", "demands": { "demand": { "id": "ResetPollResults" } } } }
GetPollComments
Method Name: GetPollComments
Method description: Used to retrieve a poll’s comments. A list node can be used, similar to getpolls, to page the result, or you can use a poll node with the poll id.
XML Request
<?xml version="1.0" encoding="utf-8" ?> <pd:pdRequest xmlns:pd="http://api.polldaddy.com/pdapi.xsd" partnerGUID="3F2504E0-4F89-11D3-9A0C-0305E82C3301"> <pd:userCode>123456-FErKS5yu15scpSGmvip4JA==</pd:userCode> <pd:demands> <pd:demand id="GetPollComments"> <pd:list end="10" start="0" id="7654321" /> </pd:demand> </pd:demands> </pd:pdRequest>
XML Response
<?xml version="1.0" encoding="utf-8" ?> <pd:pdResponse xmlns:pd="http://api.polldaddy.com/pdapi.xsd" partnerGUID="3F2504E0-4F89-11D3-9A0C-0305E82C3301"> <pd:userCode>123456-FErKS5yu15scpSGmvip4JA==</pd:userCode> <pd:demands> <pd:demand id="GetPollComments"> <pd:comments id="7654321" total="3"> <pd:comment id="12345" parent="7654321" type="1"> <pd:name>Johnny Mac</pd:name> <pd:email>[email protected]</pd:email> <pd:text>I have no idea!</pd:text> <pd:url>johnnymac.weebly.com</pd:url> <pd:date>2010-02-10 10:46:32</pd:date> <pd:ip>147.22.87.56</pd:ip> </pd:comment> <pd:comment id="12346" parent="7654321" type="1"> <pd:name>Richard Dunne</pd:name> <pd:email>[email protected]</pd:email> <pd:text>Yay, I love polls and I love to comment more</pd:text> <pd:url/> <pd:date>2010-02-10 04:27:56</pd:date> <pd:ip>100.22.43.87</pd:ip> </pd:comment> <pd:comment id="12347" parent="7654321" type="1"> <pd:name>YAYA Mikey</pd:name> <pd:email>[email protected]</pd:email> <pd:text>This is a great poll!</pd:text> <pd:url>http://Iliketoblog.wordpress.com</pd:url> <pd:date>2010-02-09 19:52:24</pd:date> <pd:ip>122.23.123.247</pd:ip> </pd:comment> </pd:comments> </pd:demand> </pd:demands> </pd:pdResponse>
JSON Request
{ "pdRequest": { "partnerGUID": "3F2504E0-4F89-11D3-9A0C-0305E82C3301", "userCode": "123456-FErKS5yu15scpSGmvip4JA==", "demands": { "demand": { "list": { "start": "0", "end": "10", "id": "7654321" }, "id": "GetPollComments" } } } }
JSON Response
{ "pdResponse": { "partnerGUID": "3F2504E0-4F89-11D3-9A0C-0305E82C3301", "userCode": "123456-FErKS5yu15scpSGmvip4JA==", "demands": { "demand": { "comments": { "comment": [{ "name": "Johnny Mac", "email": "[email protected]", "text": "I have no idea!", "url": "johnnymac.weebly.com", "date": "2010-02-10 10:46:32", "ip": "147.22.87.56", "id": "12345", "type": "1", "parent": "7654321" }, { "name": "Richard Dunne", "email": "[email protected]", "text": "Yay, I love polls and I love to comment more", "url": "", "date": "2010-02-10 04:27:56", "ip": "100.22.43.87", "id": "12346", "type": "1", "parent": "7654321" }, { "name": "YAYA Mikey", "email": "[email protected]", "text": "This is a great poll!", "url": "http://Iliketoblog.wordpress.com", "date": "2010-02-09 19:52:24", "ip": "122.23.123.247", "id": "12347", "type": "1", "parent": "7654321" }], "id": "7654321", "total": "3" }, "id": "GetPollComments" } } } }
ModerateComment
Method Name: ModerateComment
Method description: Used to moderate a poll’s comment. The attribute method is used to moderate the comment, where a value of 1 adds a comment and 2 rejects a comment.
XML Request
<?xml version="1.0" encoding="utf-8" ?> <pd:pdRequest xmlns:pd="http://api.polldaddy.com/pdapi.xsd" partnerGUID="3F2504E0-4F89-11D3-9A0C-0305E82C3301"> <pd:userCode>123456-FErKS5yu15scpSGmvip4JA==</pd:userCode> <pd:demands> <pd:demand id="ModerateComment"> <pd:comments id="7654321"> <pd:comment id="23234" method="1"/> </pd:comments> </pd:demand> </pd:demands> </pd:pdRequest>
XML Response
<?xml version="1.0" encoding="utf-8" ?> <pd:pdResponse xmlns:pd="http://api.polldaddy.com/pdapi.xsd" partnerGUID="3F2504E0-4F89-11D3-9A0C-0305E82C3301"> <pd:userCode>123456-FErKS5yu15scpSGmvip4JA==</pd:userCode> <pd:demands> <pd:demand id="ModerateComment"/> </pd:demands> </pd:pdResponse>
JSON Request
{ "pdRequest": { "partnerGUID": "3F2504E0-4F89-11D3-9A0C-0305E82C3301", "userCode": "123456-FErKS5yu15scpSGmvip4JA==", "demands": { "demand": { "comments": { "comment": { "id": "23234", "method": "1" }, "id": "7654321" }, "id": "ModerateComment" } } } }
JSON Response
{ "pdResponse": { "partnerGUID": "3F2504E0-4F89-11D3-9A0C-0305E82C3301", "userCode": "123456-FErKS5yu15scpSGmvip4JA==", "demands": { "demand": { "id": "ModerateComment" } } } }
Vote
Method Name: Vote
Method description: Used to register a vote on Crowdsignal (poll owner must be a corporate or Enterprise user). Please see the field descriptions below for further details.
XML Request
<?xml version="1.0" encoding="utf-8" ?> <pd:pdRequest xmlns:pd="http://api.polldaddy.com/pdapi.xsd" partnerGUID="3F2504E0-4F89-11D3-9A0C-0305E82C3301"> <pd:userCode>123456-FErKS5yu15scpSGmvip4JA==</pd:userCode> <pd:demands> <pd:demand id="vote"> <pd:vote poll_id="690432265" widget_id="0" cookie="0"> <pd:answers_text><![CDATA[23123124]]></pd:answers_text> <pd:other_text><![CDATA[]]></pd:other_text> <pd:url><![CDATA[]]></pd:url> <pd:ip><![CDATA[]]></pd:ip> <pd:tags> <pd:tag> <pd:name><![CDATA[email]]></pd:name> <pd:value><![CDATA[[email protected]]]></pd:value> </pd:tag> </pd:tags> </pd:vote> </pd:demand> </pd:demands> </pd:pdRequest>
XML Response
<?xml version="1.0" encoding="utf-8" ?> <pd:pdResponse xmlns:pd="http://api.polldaddy.com/pdapi.xsd" partnerGUID="3F2504E0-4F89-11D3-9A0C-0305E82C3301"> <pd:userCode>123456-FErKS5yu15scpSGmvip4JA==</pd:userCode> <pd:demands> <pd:demand id="GetPollResults"> <pd:result id="690432265"> <pd:answers> <pd:answer id="23123124" percent="89.13" total="1074"> <pd:text>Yes</pd:text> </pd:answer> <pd:answer id="23123125" percent="10.87" total="131"> <pd:text>No</pd:text> </pd:answer> </pd:answers> </pd:result> </pd:demand> </pd:demands> </pd:pdResponse>
JSON Request
{ "pdRequest": { "partnerGUID": "3F2504E0-4F89-11D3-9A0C-0305E82C3301", "userCode": "123456-FErKS5yu15scpSGmvip4JA==", "demands": { "demand": { "vote": { "answers_text": "23123124", "other_text": "", "url": "", "ip": "", "tags": { "tag": { "name": "email", "value": "[email protected]" } }, "poll_id": "690432265", "widget_id": "0", "cookie": "0" }, "id": "vote" } } } }
JSON Response
{ "pdResponse": { "partnerGUID": "3F2504E0-4F89-11D3-9A0C-0305E82C3301", "userCode": "123456-FErKS5yu15scpSGmvip4JA==", "demands": { "demand": { "result": { "answers": { "answer": [{ "text": "Yes", "id": "23123124", "total": "1074", "percent": "89.13" }, { "text": "No", "id": "23123125", "total": "131", "percent": "10.87" }] }, "id": "690432265" }, "id": "GetPollResults" } } } }
Account Field Descriptions
Field | Type | Length | Possible Values | |||
---|---|---|---|---|---|---|
userName | String | 20 | na | |||
String | 80 | na | ||||
firstName | String | 50 | na | |||
lastName | String | 50 | na | |||
gender | String | na | male/female | |||
yearOfBirth | Integer | 4 | na | |||
websiteURL | String | 200 | na | |||
bio | String | 500 | na |
Poll Field Descriptions
Field | Type | Length | Possible Values | |||
---|---|---|---|---|---|---|
question | String | 160 | na | |||
multipleChoice | String | na | yes/no | |||
randomiseAnswers | String | na | yes/no | |||
otherAnswer | String | na | yes/no | |||
resultsType | String | na | show/hide/percent | |||
blockRepeatVotersType | String | na | off/cookie/cookieip | |||
blockExpiration | Integer | 10 | na | |||
comments | String | na | off/allow/moderate | |||
makePublic | String | na | yes/no | |||
closePoll | String | na | yes/no | |||
closeDate | String | 20 | na | |||
styleID | Integer | 10 | na | |||
packID | Integer | 10 | na | |||
languageID | Integer | 10 | na | |||
sharing | String | na | yes/no | |||
mediaType | Integer | 2 | na | |||
mediaCode | String | 20 | na | |||
text | String | 200 | na |
Vote Field Descriptions
Field | Type | Length | Possible Values | |||
---|---|---|---|---|---|---|
poll_id | Integer | 10 | na | |||
widget_id | Integer | 10 | (Optional) if poll contained in a poll widget | |||
cookie | Integer | 4 | (Optional) 0/1. If you detect a duplicate vote set this to 1. Configure your poll to block repeat votes by cookie and the vote will be discarded. | |||
answers_text | String | 1000 | (Optional) the answer id or comma separated string of answer ids for the chosen answer | |||
other_text | String | 1000 | (Optional but one of answers_text or other_text must be provided) if poll has an other field | |||
url | String | 200 | (Optional) the url of where the poll is embedded | |||
ip | String | 20 | (Optional) the ip address of the voter. If not used then 0.0.0.0 will be used. | |||
tags | String | 200 | (Optional) custom tags that can be used to identify each voter in the poll reports |
GetRating
Method Name: GetRating
Method description: Used to retrieve a rating XML.
XML Request
<?xml version="1.0" encoding="utf-8" ?> <pd:pdRequest xmlns:pd="http://api.polldaddy.com/pdapi.xsd" partnerGUID="3F2504E0-4F89-11D3-9A0C-0305E82C3301"> <pd:userCode>123456-FErKS5yu15scpSGmvip4JA==</pd:userCode> <pd:demands> <pd:demand id="GetRating"> <pd:rating id="123456"/> </pd:demand> </pd:demands> </pd:pdRequest>
XML Response
<?xml version="1.0" encoding="utf-8" ?> <pd:pdResponse xmlns:pd="http://api.polldaddy.com/pdapi.xsd" partnerGUID="3F2504E0-4F89-11D3-9A0C-0305E82C3301"> <pd:userCode>123456-FErKS5yu15scpSGmvip4JA==</pd:userCode> <pd:demands> <pd:demand id="GetRating"> <pd:rating id='123456' type='0'> <pd:date>2011-03-16 12:51:22</pd:date> <pd:name><![CDATA[Example posts]]></pd:name> <pd:folder_id>123456</pd:folder_id> <pd:settings><![CDATA[{ "type" : "stars", "size" : "sml", "star_color" : "yellow", "custom_star" : "", "font_size" : "", "font_line_height" : "16px", "font_color" : "", "font_align" : "left", "font_position" : "right", "font_family" : "", "font_bold" : "normal", "font_italic" : "normal", "text_vote" : "Vote", "text_votes" : "Votes", "text_rate_this" : "Rate This", "text_1_star" : "Very Poor", "text_2_star" : "Poor", "text_3_star" : "Average", "text_4_star" : "Good", "text_5_star" : "Excellent", "text_thank_you" : "Thank You", "text_rate_up" : "Rate Up", "text_rate_down" : "Rate Down" }]]></pd:settings> </pd:rating> </pd:demand> </pd:demands> </pd:pdResponse>
JSON Request
{ "pdRequest": { "partnerGUID": "3F2504E0-4F89-11D3-9A0C-0305E82C3301", "userCode": "123456-FErKS5yu15scpSGmvip4JA==", "demands": { "demand": { "rating": { "id": "123456" }, "id": "GetRating" } } } }
JSON Response
{ "pdResponse": { "partnerGUID": "3F2504E0-4F89-11D3-9A0C-0305E82C3301", "userCode": "123456-FErKS5yu15scpSGmvip4JA==", "demands": { "demand": [ { "rating": { "date": "2011-03-16 12:51:22", "name": "Example posts", "folder_id": "6739092", "settings": "{rnttt"type" : "stars",rnttt"size" : "sml",rnttt"star_color" : "yellow",rnttt"custom_star" : "",rnttt"font_size" : "",rnttt"font_line_height" : "16px",rnttt"font_color" : "",rnttt"font_align" : "left",rnttt"font_position" : "right",rnttt"font_family" : "",rnttt"font_bold" : "normal",rnttt"font_italic" : "normal",rnttt"text_vote" : "Vote",rnttt"text_votes" : "Votes",rnttt"text_rate_this" : "Rate This",rnttt"text_1_star" : "Very Poor",rnttt"text_2_star" : "Poor",rnttt"text_3_star" : "Average",rnttt"text_4_star" : "Good",rnttt"text_5_star" : "Excellent",rnttt"text_thank_you" : "Thank You",rnttt"text_rate_up" : "Rate Up",rnttt"text_rate_down" : "Rate Down"rntt}", "id": "123456", "type": "0" }, "id": "getrating" }] } } }
GetRatings
Method Name: GetRatings
Method description: Used to retrieve a list of ratings in your account. You can optionally use the list node, with the start and end attributes to page the result.
XML Request
<?xml version="1.0" encoding="utf-8" ?> <pd:pdRequest xmlns:pd="http://api.polldaddy.com/pdapi.xsd" partnerGUID="3F2504E0-4F89-11D3-9A0C-0305E82C3301"> <pd:userCode>123456-FErKS5yu15scpSGmvip4JA==</pd:userCode> <pd:demands> <pd:demand id="GetRatings"> <pd:list start="0" end="2"/> </pd:demand> </pd:demands> </pd:pdRequest>
XML Response
<?xml version="1.0" encoding="utf-8" ?> <pd:pdResponse xmlns:pd="http://api.polldaddy.com/pdapi.xsd" partnerGUID="3F2504E0-4F89-11D3-9A0C-0305E82C3301"> <pd:userCode>123456-FErKS5yu15scpSGmvip4JA==</pd:userCode> <pd:demands> <pd:demand id="GetRatings"> <pd:ratings total='70'> <pd:rating id='123455' type='1'> <pd:date>2011-03-16 18:11:28</pd:date> <pd:name><![CDATA[Nero example rating]]></pd:name> <pd:folder_id>6739092</pd:folder_id> <pd:settings><![CDATA[{ "type" : "nero", "size" : "sml", "star_color" : "hand", "custom_star" : "", "font_size" : "12px", "font_line_height" : "20px", "font_color" : "#333333", "font_align" : "left", "font_position" : "right", "font_family" : "verdana", "font_bold" : "bold", "font_italic" : "normal", "text_votes" : "Votes", "text_rate_this" : "Rate This", "text_1_star" : "Awful", "text_2_star" : "Poor", "text_3_star" : "Average", "text_4_star" : "Good", "text_5_star" : "Excellent", "text_thank_you" : "Thank You", "text_rate_up" : "Rate Up", "text_rate_down" : "Rate Down", "popup" : "on" }]]></pd:settings> </pd:rating> <pd:rating id='123456' type='0'> <pd:date>2011-03-16 12:51:22</pd:date> <pd:name><![CDATA[Example posts]]></pd:name> <pd:folder_id>6739092</pd:folder_id> <pd:settings><![CDATA[{ "type" : "stars", "size" : "sml", "star_color" : "yellow", "custom_star" : "", "font_size" : "", "font_line_height" : "16px", "font_color" : "", "font_align" : "left", "font_position" : "right", "font_family" : "", "font_bold" : "normal", "font_italic" : "normal", "text_vote" : "Vote", "text_votes" : "Votes", "text_rate_this" : "Rate This", "text_1_star" : "Very Poor", "text_2_star" : "Poor", "text_3_star" : "Average", "text_4_star" : "Good", "text_5_star" : "Excellent", "text_thank_you" : "Thank You", "text_rate_up" : "Rate Up", "text_rate_down" : "Rate Down" }]]></pd:settings> </pd:rating> </pd:ratings> </pd:demand> </pd:demands> </pd:pdResponse>
JSON Request
{ "pdRequest": { "partnerGUID": "3F2504E0-4F89-11D3-9A0C-0305E82C3301", "userCode": "123456-FErKS5yu15scpSGmvip4JA==", "demands": { "demand": { "list": { "start": "0", "end": "2" }, "id": "GetRatings" } } } }
JSON Response
{ "pdResponse": { "partnerGUID": "3F2504E0-4F89-11D3-9A0C-0305E82C3301", "userCode": "123456-FErKS5yu15scpSGmvip4JA==", "demands": { "demand": [ { "ratings": { "rating": [ { "date": "2011-03-16 18:11:28", "name": "TEST IE rating", "folder_id": "6739092", "settings": "{"type" : "nero","size" : "sml","star_color" : "hand","custom_star" : "","font_size" : "12px","font_line_height" : "20px","font_color" : "#333333","font_align" : "left","font_position" : "right","font_family" : "verdana","font_bold" : "bold","font_italic" : "normal","text_votes" : "Votes","text_rate_this" : "Rate This","text_1_star" : "Awful","text_2_star" : "Poor","text_3_star" : "Average","text_4_star" : "Good","text_5_star" : "Excellent","text_thank_you" : "Thank You","text_rate_up" : "Rate Up","text_rate_down" : "Rate Down","popup" : "on"}", "id": "123455", "type": "1" }, { "date": "2011-03-16 12:51:22", "name": "Example posts", "folder_id": "6739092", "settings": "{rnttt"type" : "stars",rnttt"size" : "sml",rnttt"star_color" : "yellow",rnttt"custom_star" : "",rnttt"font_size" : "",rnttt"font_line_height" : "16px",rnttt"font_color" : "",rnttt"font_align" : "left",rnttt"font_position" : "right",rnttt"font_family" : "",rnttt"font_bold" : "normal",rnttt"font_italic" : "normal",rnttt"text_vote" : "Vote",rnttt"text_votes" : "Votes",rnttt"text_rate_this" : "Rate This",rnttt"text_1_star" : "Very Poor",rnttt"text_2_star" : "Poor",rnttt"text_3_star" : "Average",rnttt"text_4_star" : "Good",rnttt"text_5_star" : "Excellent",rnttt"text_thank_you" : "Thank You",rnttt"text_rate_up" : "Rate Up",rnttt"text_rate_down" : "Rate Down"rntt}", "id": "123456", "type": "0" }], "total": 70 }, "id": "GetRatings" }] } } }
DeleteRating
Method Name: DeleteRating
Method description: Used to delete a rating.
XML Request
<?xml version="1.0" encoding="utf-8" ?> <pd:pdRequest xmlns:pd="http://api.polldaddy.com/pdapi.xsd" partnerGUID="3F2504E0-4F89-11D3-9A0C-0305E82C3301"> <pd:userCode>123456-FErKS5yu15scpSGmvip4JA==</pd:userCode> <pd:demands> <pd:demand id="DeleteRating"> <pd:rating id="123456"/> </pd:demand> </pd:demands> </pd:pdRequest>
XML Response
<?xml version="1.0" encoding="utf-8" ?> <pd:pdResponse xmlns:pd="http://api.polldaddy.com/pdapi.xsd" partnerGUID="3F2504E0-4F89-11D3-9A0C-0305E82C3301"> <pd:userCode>123456-FErKS5yu15scpSGmvip4JA==</pd:userCode> <pd:demands> <pd:demand id="DeleteRating"/> </pd:demands> </pd:pdResponse>
JSON Request
{ "pdRequest": { "partnerGUID": "3F2504E0-4F89-11D3-9A0C-0305E82C3301", "userCode": "123456-FErKS5yu15scpSGmvip4JA==", "demands": { "demand": { "rating": { "id": "123456" }, "id": "DeleteRating" } } } }
JSON Response
{ "pdResponse": { "partnerGUID": "3F2504E0-4F89-11D3-9A0C-0305E82C3301", "userCode": "123456-FErKS5yu15scpSGmvip4JA==", "demands": { "demand": { "id": "DeleteRating" } } } }
CreateRating
Method Name: CreateRating
Method description: Used to create a rating.
XML Request
<?xml version="1.0" encoding="utf-8" ?> <pd:pdRequest xmlns:pd="http://api.polldaddy.com/pdapi.xsd" partnerGUID="3F2504E0-4F89-11D3-9A0C-0305E82C3301"> <pd:userCode>123456-FErKS5yu15scpSGmvip4JA==</pd:userCode> <pd:demands> <pd:demand id="CreateRating"> <pd:rating type='0'> <pd:date>2011-03-16 12:51:22</pd:date> <pd:name><![CDATA[Example posts]]></pd:name> <pd:folder_id>6739092</pd:folder_id> <pd:settings><![CDATA[{ "type" : "stars", "size" : "sml", "star_color" : "yellow", "custom_star" : "", "font_size" : "", "font_line_height" : "16px", "font_color" : "", "font_align" : "left", "font_position" : "right", "font_family" : "", "font_bold" : "normal", "font_italic" : "normal", "text_vote" : "Vote", "text_votes" : "Votes", "text_rate_this" : "Rate This", "text_1_star" : "Very Poor", "text_2_star" : "Poor", "text_3_star" : "Average", "text_4_star" : "Good", "text_5_star" : "Excellent", "text_thank_you" : "Thank You", "text_rate_up" : "Rate Up", "text_rate_down" : "Rate Down" }]]></pd:settings> </pd:rating> </pd:demand> </pd:demands> </pd:pdRequest>
XML Response
<?xml version="1.0" encoding="utf-8" ?> <pd:pdResponse xmlns:pd="http://api.polldaddy.com/pdapi.xsd" partnerGUID="3F2504E0-4F89-11D3-9A0C-0305E82C3301"> <pd:userCode>123456-FErKS5yu15scpSGmvip4JA==</pd:userCode> <pd:demands> <pd:demand id="GetRating"> <pd:rating id='123456' type='0'> <pd:date>2011-03-16 12:51:22</pd:date> <pd:name><![CDATA[Example posts]]></pd:name> <pd:folder_id>6739092</pd:folder_id> <pd:settings><![CDATA[{ "type" : "stars", "size" : "sml", "star_color" : "yellow", "custom_star" : "", "font_size" : "", "font_line_height" : "16px", "font_color" : "", "font_align" : "left", "font_position" : "right", "font_family" : "", "font_bold" : "normal", "font_italic" : "normal", "text_vote" : "Vote", "text_votes" : "Votes", "text_rate_this" : "Rate This", "text_1_star" : "Very Poor", "text_2_star" : "Poor", "text_3_star" : "Average", "text_4_star" : "Good", "text_5_star" : "Excellent", "text_thank_you" : "Thank You", "text_rate_up" : "Rate Up", "text_rate_down" : "Rate Down" }]]></pd:settings> </pd:rating> </pd:demand> </pd:demands> </pd:pdResponse>
JSON Request
{ "pdRequest": { "partnerGUID": "3F2504E0-4F89-11D3-9A0C-0305E82C3301", "userCode": "123456-FErKS5yu15scpSGmvip4JA==", "demands": { "demand": { "rating": { "date": "2011-03-16 12:51:22", "name": "Example posts", "folder_id": "6739092", "settings": "{ntttt"type" : "stars",ntttt"size" : "sml",ntttt"star_color" : "yellow",ntttt"custom_star" : "",ntttt"font_size" : "",ntttt"font_line_height" : "16px",ntttt"font_color" : "",ntttt"font_align" : "left",ntttt"font_position" : "right",ntttt"font_family" : "",ntttt"font_bold" : "normal",ntttt"font_italic" : "normal",ntttt"text_vote" : "Vote",ntttt"text_votes" : "Votes",ntttt"text_rate_this" : "Rate This",ntttt"text_1_star" : "Very Poor",ntttt"text_2_star" : "Poor",ntttt"text_3_star" : "Average",ntttt"text_4_star" : "Good",ntttt"text_5_star" : "Excellent",ntttt"text_thank_you" : "Thank You",ntttt"text_rate_up" : "Rate Up",ntttt"text_rate_down" : "Rate Down"nttt}", "type": "0" }, "id": "CreateRating" } } } }
JSON Response
{ "pdResponse": { "partnerGUID": "3F2504E0-4F89-11D3-9A0C-0305E82C3301", "userCode": "123456-FErKS5yu15scpSGmvip4JA==", "demands": { "demand": [ { "rating": { "date": "2011-04-29 09:24:56", "name": "Example posts", "folder_id": "6739092", "settings": "{rnttt"type" : "stars",rnttt"size" : "sml",rnttt"star_color" : "yellow",rnttt"custom_star" : "",rnttt"font_size" : "",rnttt"font_line_height" : "16px",rnttt"font_color" : "",rnttt"font_align" : "left",rnttt"font_position" : "right",rnttt"font_family" : "",rnttt"font_bold" : "normal",rnttt"font_italic" : "normal",rnttt"text_vote" : "Vote",rnttt"text_votes" : "Votes",rnttt"text_rate_this" : "Rate This",rnttt"text_1_star" : "Very Poor",rnttt"text_2_star" : "Poor",rnttt"text_3_star" : "Average",rnttt"text_4_star" : "Good",rnttt"text_5_star" : "Excellent",rnttt"text_thank_you" : "Thank You",rnttt"text_rate_up" : "Rate Up",rnttt"text_rate_down" : "Rate Down"rntt}", "id": "123456", "type": "0" }, "id": "GetRating" }] } } }
UpdateRating
Method Name: UpdateRating
Method description: Used to update a rating.
XML Request
<?xml version="1.0" encoding="utf-8" ?> <pd:pdRequest xmlns:pd="http://api.polldaddy.com/pdapi.xsd" partnerGUID="3F2504E0-4F89-11D3-9A0C-0305E82C3301"> <pd:userCode>123456-FErKS5yu15scpSGmvip4JA==</pd:userCode> <pd:demands> <pd:demand id="UpdateRating"> <pd:rating id='123456' type='0'> <pd:date>2011-03-16 13:33:32</pd:date> <pd:name><![CDATA[Example posts]]></pd:name> <pd:folder_id>6739092</pd:folder_id> <pd:settings><![CDATA[{ "type" : "stars", "size" : "sml", "star_color" : "red", "custom_star" : "", "font_size" : "", "font_line_height" : "16px", "font_color" : "", "font_align" : "left", "font_position" : "right", "font_family" : "", "font_bold" : "normal", "font_italic" : "normal", "text_vote" : "Vote", "text_votes" : "Votes", "text_rate_this" : "Rate This", "text_1_star" : "Very Poor", "text_2_star" : "Poor", "text_3_star" : "Average", "text_4_star" : "Good", "text_5_star" : "Excellent", "text_thank_you" : "Thank You", "text_rate_up" : "Rate Up", "text_rate_down" : "Rate Down" }]]></pd:settings> </pd:rating> </pd:demand> </pd:demands> </pd:pdRequest>
XML Response
<?xml version="1.0" encoding="utf-8" ?> <pd:pdResponse xmlns:pd="http://api.polldaddy.com/pdapi.xsd" partnerGUID="3F2504E0-4F89-11D3-9A0C-0305E82C3301"> <pd:userCode>123456-FErKS5yu15scpSGmvip4JA==</pd:userCode> <pd:demands> <pd:demand id="GetRating"> <pd:rating id='123456' type='0'> <pd:date>2011-03-16 13:33:32</pd:date> <pd:name><![CDATA[Example posts]]></pd:name> <pd:folder_id>6739092</pd:folder_id> <pd:settings><![CDATA[{ "type" : "stars", "size" : "sml", "star_color" : "red", "custom_star" : "", "font_size" : "", "font_line_height" : "16px", "font_color" : "", "font_align" : "left", "font_position" : "right", "font_family" : "", "font_bold" : "normal", "font_italic" : "normal", "text_vote" : "Vote", "text_votes" : "Votes", "text_rate_this" : "Rate This", "text_1_star" : "Very Poor", "text_2_star" : "Poor", "text_3_star" : "Average", "text_4_star" : "Good", "text_5_star" : "Excellent", "text_thank_you" : "Thank You", "text_rate_up" : "Rate Up", "text_rate_down" : "Rate Down" }]]></pd:settings> </pd:rating> </pd:demand> </pd:demands> </pd:pdResponse>
JSON Request
{ "pdRequest": { "partnerGUID": "3F2504E0-4F89-11D3-9A0C-0305E82C3301", "userCode": "123456-FErKS5yu15scpSGmvip4JA==", "demands": { "demand": { "rating": { "date": "2011-03-16 13:33:32", "name": "Example posts", "folder_id": "6739092", "settings": "{ntttt"type" : "stars",ntttt"size" : "sml",ntttt"star_color" : "red",ntttt"custom_star" : "",ntttt"font_size" : "",ntttt"font_line_height" : "16px",ntttt"font_color" : "",ntttt"font_align" : "left",ntttt"font_position" : "right",ntttt"font_family" : "",ntttt"font_bold" : "normal",ntttt"font_italic" : "normal",ntttt"text_vote" : "Vote",ntttt"text_votes" : "Votes",ntttt"text_rate_this" : "Rate This",ntttt"text_1_star" : "Very Poor",ntttt"text_2_star" : "Poor",ntttt"text_3_star" : "Average",ntttt"text_4_star" : "Good",ntttt"text_5_star" : "Excellent",ntttt"text_thank_you" : "Thank You",ntttt"text_rate_up" : "Rate Up",ntttt"text_rate_down" : "Rate Down"nttt}", "type": "0" }, "id": "UpdateRating" } } } }
JSON Response
{ "pdResponse": { "partnerGUID": "3F2504E0-4F89-11D3-9A0C-0305E82C3301", "userCode": "123456-FErKS5yu15scpSGmvip4JA==", "demands": { "demand": [ { "rating": { "date": "2011-04-29 13:33:32", "name": "Example posts", "folder_id": "6739092", "settings": "{rnttt"type" : "stars",rnttt"size" : "sml",rnttt"star_color" : "red",rnttt"custom_star" : "",rnttt"font_size" : "",rnttt"font_line_height" : "16px",rnttt"font_color" : "",rnttt"font_align" : "left",rnttt"font_position" : "right",rnttt"font_family" : "",rnttt"font_bold" : "normal",rnttt"font_italic" : "normal",rnttt"text_vote" : "Vote",rnttt"text_votes" : "Votes",rnttt"text_rate_this" : "Rate This",rnttt"text_1_star" : "Very Poor",rnttt"text_2_star" : "Poor",rnttt"text_3_star" : "Average",rnttt"text_4_star" : "Good",rnttt"text_5_star" : "Excellent",rnttt"text_thank_you" : "Thank You",rnttt"text_rate_up" : "Rate Up",rnttt"text_rate_down" : "Rate Down"rntt}", "id": "123456", "type": "0" }, "id": "GetRating" }] } } }
GetRatingResults
Method Name: GetRatingResults
Method description: Used to retrieve a rating’s results. You use the list node to page your results and the period node to specify a filter by a certain period. You can enter a number or days or just all to get all the ratings from the beginning.
For performance reasons this data is cached and does not refresh on every request:
- One day of data is cached for five minutes.
- Up to and including seven days of data is cached for an hour.
- Anything else is cached for three days.
When requesting data, you are encouraged to create a local copy of older data on your server so you only need to fetch daily data that refreshes more quickly.
XML Request
<?xml version="1.0" encoding="utf-8" ?> <pd:pdRequest xmlns:pd="http://api.polldaddy.com/pdapi.xsd" partnerGUID="3F2504E0-4F89-11D3-9A0C-0305E82C3301"> <pd:userCode>123456-FErKS5yu15scpSGmvip4JA==</pd:userCode> <pd:demands> <pd:demand id="GetRatingResults"> <pd:list start="0" end="15" id="123456"> <pd:period>ALL</pd:period> <pd:uid></pd:uid> </pd:list> </pd:demand> </pd:demands> </pd:pdRequest>
XML Response
<?xml version="1.0" encoding="utf-8" ?> <pd:pdResponse xmlns:pd="http://api.polldaddy.com/pdapi.xsd" partnerGUID="3F2504E0-4F89-11D3-9A0C-0305E82C3301"> <pd:userCode>123456-FErKS5yu15scpSGmvip4JA==</pd:userCode> <pd:demands> <pd:demand id="GetRatingResults"> <pd:rating_result id='123456'> <pd:ratings total='2'> <pd:rating type='0' votes='9'> <pd:uid><![CDATA[wp-post-97]]></pd:uid> <pd:total1>0</pd:total1> <pd:total2>0</pd:total2> <pd:total3>0</pd:total3> <pd:total4>0</pd:total4> <pd:total5>9</pd:total5> <pd:average_rating>5.0000</pd:average_rating> <pd:date>2010-03-18 14:20:57</pd:date> <pd:title><![CDATA[Rate this post]]></pd:title> <pd:permalink><![CDATA[http://test.ie/2010/02/15/post-excellence/]]></pd:permalink> </pd:rating> <pd:rating type='0' votes='4'> <pd:uid><![CDATA[wp-post-436]]></pd:uid> <pd:total1>0</pd:total1> <pd:total2>0</pd:total2> <pd:total3>0</pd:total3> <pd:total4>0</pd:total4> <pd:total5>4</pd:total5> <pd:average_rating>5.0000</pd:average_rating> <pd:date>2011-01-10 21:57:47</pd:date> <pd:title><![CDATA[Another rating to rate]]></pd:title> <pd:permalink><![CDATA[http://test.ie/2011/01/10/special-one/]]></pd:permalink> </pd:rating> </pd:ratings> </pd:rating_result> </pd:demand> </pd:demands> </pd:pdResponse>
JSON Request
{ "pdRequest": { "partnerGUID": "3F2504E0-4F89-11D3-9A0C-0305E82C3301", "userCode": "123456-FErKS5yu15scpSGmvip4JA==", "demands": { "demand": { "list": { "period": "ALL", "start": "0", "end": "15", "id": "123456", "uid": "" }, "id": "GetRatingResults" } } } }
JSON Response
{ "pdResponse": { "partnerGUID": "3F2504E0-4F89-11D3-9A0C-0305E82C3301", "userCode": "123456-FErKS5yu15scpSGmvip4JA==", "demands": { "demand": [ { "rating_result": { "ratings": { "rating": [ { "uid": "wp-post-97", "total1": "0", "total2": "0", "total3": "0", "total4": "0", "total5": "9", "average_rating": "5.0000", "date": "2010-03-18 14:20:57", "title": "Rate this post", "permalink": "http://test.ie/2010/02/15/post-excellence/", "type": "0", "votes": "9" }, { "uid": "wp-post-436", "total1": "0", "total2": "0", "total3": "0", "total4": "0", "total5": "4", "average_rating": "5.0000", "date": "2011-01-10 21:57:47", "title": "Another rating to rate", "permalink": "http://test.ie/2011/01/10/special-one/", "type": "0", "votes": "4" }], "total": 2 }, "id": 123456 }, "id": "getratingresults" }] } } }
ResetRatingResults
Method Name: ResetRatingResults
Method description: Used to reset a rating’s results.
XML Request
<?xml version="1.0" encoding="utf-8" ?> <pd:pdRequest xmlns:pd="http://api.polldaddy.com/pdapi.xsd" partnerGUID="3F2504E0-4F89-11D3-9A0C-0305E82C3301"> <pd:userCode>123456-FErKS5yu15scpSGmvip4JA==</pd:userCode> <pd:demands> <pd:demand id="ResetRatingResults"> <pd:rating id="123456"/> </pd:demand> </pd:demands> </pd:pdRequest>
XML Response
<?xml version="1.0" encoding="utf-8" ?> <pd:pdResponse xmlns:pd="http://api.polldaddy.com/pdapi.xsd" partnerGUID="3F2504E0-4F89-11D3-9A0C-0305E82C3301"> <pd:userCode>123456-FErKS5yu15scpSGmvip4JA==</pd:userCode> <pd:demands> <pd:demand id="GetRating"> <pd:rating id='123456' type='0'> <pd:date>2011-03-16 12:51:22</pd:date> <pd:name><![CDATA[Example posts]]></pd:name> <pd:folder_id>123456</pd:folder_id> <pd:settings><![CDATA[{ "type" : "stars", "size" : "sml", "star_color" : "yellow", "custom_star" : "", "font_size" : "", "font_line_height" : "16px", "font_color" : "", "font_align" : "left", "font_position" : "right", "font_family" : "", "font_bold" : "normal", "font_italic" : "normal", "text_vote" : "Vote", "text_votes" : "Votes", "text_rate_this" : "Rate This", "text_1_star" : "Very Poor", "text_2_star" : "Poor", "text_3_star" : "Average", "text_4_star" : "Good", "text_5_star" : "Excellent", "text_thank_you" : "Thank You", "text_rate_up" : "Rate Up", "text_rate_down" : "Rate Down" }]]></pd:settings> </pd:rating> </pd:demand> </pd:demands> </pd:pdResponse>
JSON Request
{ "pdRequest": { "partnerGUID": "3F2504E0-4F89-11D3-9A0C-0305E82C3301", "userCode": "123456-FErKS5yu15scpSGmvip4JA==", "demands": { "demand": { "rating": { "id": "123456" }, "id": "ResetRatingResults" } } } }
JSON Response
{ "pdResponse": { "partnerGUID": "3F2504E0-4F89-11D3-9A0C-0305E82C3301", "userCode": "123456-FErKS5yu15scpSGmvip4JA==", "demands": { "demand": [ { "rating": { "date": "2011-03-16 12:51:22", "name": "Example posts", "folder_id": "6739092", "settings": "{rnttt"type" : "stars",rnttt"size" : "sml",rnttt"star_color" : "yellow",rnttt"custom_star" : "",rnttt"font_size" : "",rnttt"font_line_height" : "16px",rnttt"font_color" : "",rnttt"font_align" : "left",rnttt"font_position" : "right",rnttt"font_family" : "",rnttt"font_bold" : "normal",rnttt"font_italic" : "normal",rnttt"text_vote" : "Vote",rnttt"text_votes" : "Votes",rnttt"text_rate_this" : "Rate This",rnttt"text_1_star" : "Very Poor",rnttt"text_2_star" : "Poor",rnttt"text_3_star" : "Average",rnttt"text_4_star" : "Good",rnttt"text_5_star" : "Excellent",rnttt"text_thank_you" : "Thank You",rnttt"text_rate_up" : "Rate Up",rnttt"text_rate_down" : "Rate Down"rntt}", "id": "123456", "type": "0" }, "id": "GetRating" }] } } }
DeleteRatingResult
Method Name: DeleteRatingResult
Method description: Used to delete an individual rating result.
XML Request
<?xml version="1.0" encoding="utf-8" ?> <pd:pdRequest xmlns:pd="http://api.polldaddy.com/pdapi.xsd" partnerGUID="3F2504E0-4F89-11D3-9A0C-0305E82C3301"> <pd:userCode>123456-FErKS5yu15scpSGmvip4JA==</pd:userCode> <pd:demands> <pd:demand id="DeleteRatingResult"> <pd:rating id="123456"> <pd:uid><![CDATA[default]]></pd:uid> </pd:rating> </pd:demand> </pd:demands> </pd:pdRequest>
XML Response
<?xml version="1.0" encoding="utf-8" ?> <pd:pdResponse xmlns:pd="http://api.polldaddy.com/pdapi.xsd" partnerGUID="3F2504E0-4F89-11D3-9A0C-0305E82C3301"> <pd:userCode>123456-FErKS5yu15scpSGmvip4JA==</pd:userCode> <pd:demands> <pd:demand id="GetRating"> <pd:rating id='123456' type='0'> <pd:date>2011-03-16 12:51:22</pd:date> <pd:name><![CDATA[Example posts]]></pd:name> <pd:folder_id>123456</pd:folder_id> <pd:settings><![CDATA[{ "type" : "stars", "size" : "sml", "star_color" : "yellow", "custom_star" : "", "font_size" : "", "font_line_height" : "16px", "font_color" : "", "font_align" : "left", "font_position" : "right", "font_family" : "", "font_bold" : "normal", "font_italic" : "normal", "text_vote" : "Vote", "text_votes" : "Votes", "text_rate_this" : "Rate This", "text_1_star" : "Very Poor", "text_2_star" : "Poor", "text_3_star" : "Average", "text_4_star" : "Good", "text_5_star" : "Excellent", "text_thank_you" : "Thank You", "text_rate_up" : "Rate Up", "text_rate_down" : "Rate Down" }]]></pd:settings> </pd:rating> </pd:demand> </pd:demands> </pd:pdResponse>
JSON Request
{ "pdRequest": { "partnerGUID": "3F2504E0-4F89-11D3-9A0C-0305E82C3301", "userCode": "123456-FErKS5yu15scpSGmvip4JA==", "demands": { "demand": { "rating": { "uid": "default", "id": "4099112" }, "id": "DeleteRatingResult" } } } }
JSON Response
{ "pdResponse": { "partnerGUID": "3F2504E0-4F89-11D3-9A0C-0305E82C3301", "userCode": "123456-FErKS5yu15scpSGmvip4JA==", "demands": { "demand": [ { "rating": { "date": "2011-03-16 12:51:22", "name": "Example posts", "folder_id": "6739092", "settings": "{rnttt"type" : "stars",rnttt"size" : "sml",rnttt"star_color" : "yellow",rnttt"custom_star" : "",rnttt"font_size" : "",rnttt"font_line_height" : "16px",rnttt"font_color" : "",rnttt"font_align" : "left",rnttt"font_position" : "right",rnttt"font_family" : "",rnttt"font_bold" : "normal",rnttt"font_italic" : "normal",rnttt"text_vote" : "Vote",rnttt"text_votes" : "Votes",rnttt"text_rate_this" : "Rate This",rnttt"text_1_star" : "Very Poor",rnttt"text_2_star" : "Poor",rnttt"text_3_star" : "Average",rnttt"text_4_star" : "Good",rnttt"text_5_star" : "Excellent",rnttt"text_thank_you" : "Thank You",rnttt"text_rate_up" : "Rate Up",rnttt"text_rate_down" : "Rate Down"rntt}", "id": "123456", "type": "0" }, "id": "GetRating" }] } } }
GetPack
Method Name: GetPack
Method description: Used to retrieve a Crowdsignal language pack.
XML Request
<?xml version="1.0" encoding="utf-8" ?> <pd:pdRequest xmlns:pd="http://api.polldaddy.com/pdapi.xsd" partnerGUID="3F2504E0-4F89-11D3-9A0C-0305E82C3301"> <pd:userCode>123456-FErKS5yu15scpSGmvip4JA==</pd:userCode> <pd:demands> <pd:demand id="GetPack"> <pd:languagepack id="123123"/> </pd:demand> </pd:demands> </pd:pdRequest>
XML Response
<?xml version="1.0" encoding="utf-8" ?> <pd:pdResponse xmlns:pd="http://api.polldaddy.com/pdapi.xsd" partnerGUID="3F2504E0-4F89-11D3-9A0C-0305E82C3301"> <pd:userCode>123456-FErKS5yu15scpSGmvip4JA==</pd:userCode> <pd:demands> <pd:demand id="GetPack"> <pd:languagepack date="2010-02-05 11:59:00" id="123123"> <pack type="user"> <title>My Pack</title> <phrase phraseID="1">View Results</phrase> <phrase phraseID="2">Thank you for voting!</phrase> <phrase phraseID="3">Return To Poll</phrase> <phrase phraseID="4">Other:</phrase> <phrase phraseID="5">Thank you, we have already counted your vote.</phrase> <phrase phraseID="6">Total Votes:</phrase> <phrase phraseID="7">votes</phrase> <phrase phraseID="8">Poll Closed</phrase> <phrase phraseID="9">Vote</phrase> <phrase phraseID="10">Please choose an answer first!</phrase> <phrase phraseID="11">Comments</phrase> <phrase phraseID="12">Share This</phrase> </pack> </pd:languagepack> </pd:demand> </pd:demands> </pd:pdResponse>
JSON Request
{ "pdRequest": { "partnerGUID": "3F2504E0-4F89-11D3-9A0C-0305E82C3301", "userCode": "123456-FErKS5yu15scpSGmvip4JA==", "demands": { "demand": { "languagepack": { "id": "123123" }, "id": "GetPack" } } } }
JSON Response
{ "pdResponse": { "partnerGUID": "3F2504E0-4F89-11D3-9A0C-0305E82C3301", "userCode": "123456-FErKS5yu15scpSGmvip4JA==", "demands": { "demand": { "languagepack": { "pack": { "title": "My Pack", "phrase": [{ "content": "View Results", "phraseID": "1" }, { "content": "Thank you for voting!", "phraseID": "2" }, { "content": "Return To Poll", "phraseID": "3" }, { "content": "Other:", "phraseID": "4" }, { "content": "Thank you, we have already counted your vote.", "phraseID": "5" }, { "content": "Total Votes:", "phraseID": "6" }, { "content": "votes", "phraseID": "7" }, { "content": "Poll Closed", "phraseID": "8" }, { "content": "Vote", "phraseID": "9" }, { "content": "Please choose an answer first!", "phraseID": "10" }, { "content": "Comments", "phraseID": "11" }, { "content": "Share This", "phraseID": "12" }], "type": "user" }, "id": "123123", "date": "2010-02-05 11:59:00" }, "id": "GetPack" } } } }
GetPacks
Method Name: GetPacks
Method description: Used to retrieve all your Crowdsignal language packs.
XML Request
<?xml version="1.0" encoding="utf-8" ?> <pd:pdRequest xmlns:pd="http://api.polldaddy.com/pdapi.xsd" partnerGUID="3F2504E0-4F89-11D3-9A0C-0305E82C3301"> <pd:userCode>123456-FErKS5yu15scpSGmvip4JA==</pd:userCode> <pd:demands> <pd:demand id="GetPacks"/> </pd:demands> </pd:pdRequest>
XML Response
<?xml version="1.0" encoding="utf-8" ?> <pd:pdResponse xmlns:pd="http://api.polldaddy.com/pdapi.xsd" partnerGUID="3F2504E0-4F89-11D3-9A0C-0305E82C3301"> <pd:userCode>123456-FErKS5yu15scpSGmvip4JA==</pd:userCode> <pd:demands> <pd:demand id="GetPacks"> <pd:languagepacks> <pd:languagepack date="2010-02-05 11:59:00" id="123123"> <pack type="user"> <title>My Pack</title> <phrase phraseID="1">View Results</phrase> <phrase phraseID="2">Thank you for voting!</phrase> <phrase phraseID="3">Return To Poll</phrase> <phrase phraseID="4">Other:</phrase> <phrase phraseID="5">Thank you, we have already counted your vote.</phrase> <phrase phraseID="6">Total Votes:</phrase> <phrase phraseID="7">votes</phrase> <phrase phraseID="8">Poll Closed</phrase> <phrase phraseID="9">Vote</phrase> <phrase phraseID="10">Please choose an answer first!</phrase> <phrase phraseID="11">Comments</phrase> <phrase phraseID="12">Share This</phrase> </pack> </pd:languagepack> <pd:languagepack date="2009-03-30 11:03:11" id="123444"> <pack type="user"> <title>Other pack</title> <phrase phraseID="1">view results</phrase> <phrase phraseID="2">Thank you for voting!</phrase> <phrase phraseID="3">Return To Poll</phrase> <phrase phraseID="4">Other:</phrase> <phrase phraseID="5">Thank you, we have already counted your vote.</phrase> <phrase phraseID="6">Total Votes:</phrase> <phrase phraseID="7">votes</phrase> <phrase phraseID="8">Poll Closed</phrase> <phrase phraseID="9">vote</phrase> <phrase phraseID="10">Please choose an answer first!</phrase> <phrase phraseID="11">Comments</phrase> <phrase phraseID="12">Share This</phrase> </pack> </pd:languagepack> </pd:languagepacks> </pd:demand> </pd:demands> </pd:pdResponse>
JSON Request
{ "pdRequest": { "partnerGUID": "3F2504E0-4F89-11D3-9A0C-0305E82C3301", "userCode": "123456-FErKS5yu15scpSGmvip4JA==", "demands": { "demand": { "id": "GetPacks" } } } }
JSON Response
{ "pdResponse": { "partnerGUID": "3F2504E0-4F89-11D3-9A0C-0305E82C3301", "userCode": "123456-FErKS5yu15scpSGmvip4JA==", "demands": { "demand": { "languagepacks": { "languagepack": [{ "pack": { "title": "My Pack", "phrase": [{ "content": "View Results", "phraseID": "1" }, { "content": "Thank you for voting!", "phraseID": "2" }, { "content": "Return To Poll", "phraseID": "3" }, { "content": "Other:", "phraseID": "4" }, { "content": "Thank you, we have already counted your vote.", "phraseID": "5" }, { "content": "Total Votes:", "phraseID": "6" }, { "content": "votes", "phraseID": "7" }, { "content": "Poll Closed", "phraseID": "8" }, { "content": "Vote", "phraseID": "9" }, { "content": "Please choose an answer first!", "phraseID": "10" }, { "content": "Comments", "phraseID": "11" }, { "content": "Share This", "phraseID": "12" }], "type": "user" }, "id": "123123", "date": "2010-02-05 11:59:00" }, { "pack": { "title": "Other pack", "phrase": [{ "content": "view results", "phraseID": "1" }, { "content": "Thank you for voting!", "phraseID": "2" }, { "content": "Return To Poll", "phraseID": "3" }, { "content": "Other:", "phraseID": "4" }, { "content": "Thank you, we have already counted your vote.", "phraseID": "5" }, { "content": "Total Votes:", "phraseID": "6" }, { "content": "votes", "phraseID": "7" }, { "content": "Poll Closed", "phraseID": "8" }, { "content": "vote", "phraseID": "9" }, { "content": "Please choose an answer first!", "phraseID": "10" }, { "content": "Comments", "phraseID": "11" }, { "content": "Share This", "phraseID": "12" }], "type": "user" }, "id": "123444", "date": "2009-03-30 11:03:11" }] }, "id": "GetPacks" } } } }
DeletePack
Method Name: DeletePack
Method description: Used to delete a language pack.
XML Request
<?xml version="1.0" encoding="utf-8" ?> <pd:pdRequest xmlns:pd="http://api.polldaddy.com/pdapi.xsd" partnerGUID="3F2504E0-4F89-11D3-9A0C-0305E82C3301"> <pd:userCode>123456-FErKS5yu15scpSGmvip4JA==</pd:userCode> <pd:demands> <pd:demand id="DeletePack"> <pd:languagepack id="33242345"/> </pd:demand> </pd:demands> </pd:pdRequest>
XML Response
<?xml version="1.0" encoding="utf-8" ?> <pd:pdResponse xmlns:pd="http://api.polldaddy.com/pdapi.xsd" partnerGUID="3F2504E0-4F89-11D3-9A0C-0305E82C3301"> <pd:userCode>123456-FErKS5yu15scpSGmvip4JA==</pd:userCode> <pd:demands> <pd:demand id="DeletePack"/> </pd:demands> </pd:pdResponse>
JSON Request
{ "pdRequest": { "partnerGUID": "3F2504E0-4F89-11D3-9A0C-0305E82C3301", "userCode": "123456-FErKS5yu15scpSGmvip4JA==", "demands": { "demand": { "languagepack": { "id": "33242345" }, "id": "DeletePack" } } } }
JSON Response
{ "pdResponse": { "partnerGUID": "3F2504E0-4F89-11D3-9A0C-0305E82C3301", "userCode": "123456-FErKS5yu15scpSGmvip4JA==", "demands": { "demand": { "id": "DeletePack" } } } }
CreatePack
Method Name: CreatePack
Method description: Used to create a Crowdsignal language pack.
XML Request
<?xml version="1.0" encoding="utf-8" ?> <pd:pdRequest xmlns:pd="http://api.polldaddy.com/pdapi.xsd" partnerGUID="3F2504E0-4F89-11D3-9A0C-0305E82C3301"> <pd:userCode>123456-FErKS5yu15scpSGmvip4JA==</pd:userCode> <pd:demands> <pd:demand id="CreatePack"> <pd:languagepack> <pack> <title>My Pack</title> <phrase phraseID="1">View Results</phrase> <phrase phraseID="2">Thank you for voting!</phrase> <phrase phraseID="3">Return To Poll</phrase> <phrase phraseID="4">Other:</phrase> <phrase phraseID="5">Thank you, we have already counted your vote.</phrase> <phrase phraseID="6">Total Votes:</phrase> <phrase phraseID="7">votes</phrase> <phrase phraseID="8">Poll Closed</phrase> <phrase phraseID="9">Vote</phrase> <phrase phraseID="10">Please choose an answer first!</phrase> <phrase phraseID="11">Comments</phrase> <phrase phraseID="12">Share This</phrase> </pack> </pd:languagepack> </pd:demand> </pd:demands> </pd:pdRequest>
XML Response
<?xml version="1.0" encoding="utf-8" ?> <pd:pdResponse xmlns:pd="http://api.polldaddy.com/pdapi.xsd" partnerGUID="3F2504E0-4F89-11D3-9A0C-0305E82C3301"> <pd:userCode>123456-FErKS5yu15scpSGmvip4JA==</pd:userCode> <pd:demands> <pd:demand id="GetPack"> <pd:languagepack date="2010-03-05 11:59:00" id="123546"> <pack type="user"> <title>My Pack</title> <phrase phraseID="1">View Results</phrase> <phrase phraseID="2">Thank you for voting!</phrase> <phrase phraseID="3">Return To Poll</phrase> <phrase phraseID="4">Other:</phrase> <phrase phraseID="5">Thank you, we have already counted your vote.</phrase> <phrase phraseID="6">Total Votes:</phrase> <phrase phraseID="7">votes</phrase> <phrase phraseID="8">Poll Closed</phrase> <phrase phraseID="9">Vote</phrase> <phrase phraseID="10">Please choose an answer first!</phrase> <phrase phraseID="11">Comments</phrase> <phrase phraseID="12">Share This</phrase> </pack> </pd:languagepack> </pd:demand> </pd:demands> </pd:pdResponse>
JSON Request
{ "pdRequest": { "partnerGUID": "3F2504E0-4F89-11D3-9A0C-0305E82C3301", "userCode": "123456-FErKS5yu15scpSGmvip4JA==", "demands": { "demand": { "languagepack": { "pack": { "title": "My Pack", "phrase": [{ "content": "View Results", "phraseID": "1" }, { "content": "Thank you for voting!", "phraseID": "2" }, { "content": "Return To Poll", "phraseID": "3" }, { "content": "Other:", "phraseID": "4" }, { "content": "Thank you, we have already counted your vote.", "phraseID": "5" }, { "content": "Total Votes:", "phraseID": "6" }, { "content": "votes", "phraseID": "7" }, { "content": "Poll Closed", "phraseID": "8" }, { "content": "Vote", "phraseID": "9" }, { "content": "Please choose an answer first!", "phraseID": "10" }, { "content": "Comments", "phraseID": "11" }, { "content": "Share This", "phraseID": "12" }], "type": "user" } }, "id": "CreatePack" } } } }
JSON Response
{ "pdResponse": { "partnerGUID": "3F2504E0-4F89-11D3-9A0C-0305E82C3301", "userCode": "123456-FErKS5yu15scpSGmvip4JA==", "demands": { "demand": { "languagepack": { "pack": { "title": "My Pack", "phrase": [{ "content": "View Results", "phraseID": "1" }, { "content": "Thank you for voting!", "phraseID": "2" }, { "content": "Return To Poll", "phraseID": "3" }, { "content": "Other:", "phraseID": "4" }, { "content": "Thank you, we have already counted your vote.", "phraseID": "5" }, { "content": "Total Votes:", "phraseID": "6" }, { "content": "votes", "phraseID": "7" }, { "content": "Poll Closed", "phraseID": "8" }, { "content": "Vote", "phraseID": "9" }, { "content": "Please choose an answer first!", "phraseID": "10" }, { "content": "Comments", "phraseID": "11" }, { "content": "Share This", "phraseID": "12" }], "type": "user" }, "id": "123546", "date": "2010-03-05 11:59:00" }, "id": "GetPack" } } } }
UpdatePack
Method Name: UpdatePack
Method description: Used to update a Crowdsignal language pack.
XML Request
<?xml version="1.0" encoding="utf-8" ?> <pd:pdRequest xmlns:pd="http://api.polldaddy.com/pdapi.xsd" partnerGUID="3F2504E0-4F89-11D3-9A0C-0305E82C3301"> <pd:userCode>123456-FErKS5yu15scpSGmvip4JA==</pd:userCode> <pd:demands> <pd:demand id="UpdatePack"> <pd:languagepack id="123546"> <pack> <title>My Pack</title> <phrase phraseID="1">View Resultz</phrase> <phrase phraseID="2">Thank you for voting!</phrase> <phrase phraseID="3">Return To Poll</phrase> <phrase phraseID="4">Other:</phrase> <phrase phraseID="5">Thank you, we have already counted your vote.</phrase> <phrase phraseID="6">Total Votes:</phrase> <phrase phraseID="7">votes</phrase> <phrase phraseID="8">Poll Closed</phrase> <phrase phraseID="9">Vote</phrase> <phrase phraseID="10">Please choose an answer first!</phrase> <phrase phraseID="11">Comments</phrase> <phrase phraseID="12">Share This</phrase> </pack> </pd:languagepack> </pd:demand> </pd:demands> </pd:pdRequest>
XML Response
<?xml version="1.0" encoding="utf-8" ?> <pd:pdResponse xmlns:pd="http://api.polldaddy.com/pdapi.xsd" partnerGUID="3F2504E0-4F89-11D3-9A0C-0305E82C3301"> <pd:userCode>123456-FErKS5yu15scpSGmvip4JA==</pd:userCode> <pd:demands> <pd:demand id="GetPack"> <pd:languagepack date="2010-02-06 11:59:00" id="123546"> <pack type="user"> <title>My Pack</title> <phrase phraseID="1">View Resultz</phrase> <phrase phraseID="2">Thank you for voting!</phrase> <phrase phraseID="3">Return To Poll</phrase> <phrase phraseID="4">Other:</phrase> <phrase phraseID="5">Thank you, we have already counted your vote.</phrase> <phrase phraseID="6">Total Votes:</phrase> <phrase phraseID="7">votes</phrase> <phrase phraseID="8">Poll Closed</phrase> <phrase phraseID="9">Vote</phrase> <phrase phraseID="10">Please choose an answer first!</phrase> <phrase phraseID="11">Comments</phrase> <phrase phraseID="12">Share This</phrase> </pack> </pd:languagepack> </pd:demand> </pd:demands> </pd:pdResponse>
JSON Request
{ "pdRequest": { "partnerGUID": "3F2504E0-4F89-11D3-9A0C-0305E82C3301", "userCode": "123456-FErKS5yu15scpSGmvip4JA==", "demands": { "demand": { "languagepack": { "pack": { "title": "My Pack", "phrase": [{ "content": "View Resultz", "phraseID": "1" }, { "content": "Thank you for voting!", "phraseID": "2" }, { "content": "Return To Poll", "phraseID": "3" }, { "content": "Other:", "phraseID": "4" }, { "content": "Thank you, we have already counted your vote.", "phraseID": "5" }, { "content": "Total Votes:", "phraseID": "6" }, { "content": "votes", "phraseID": "7" }, { "content": "Poll Closed", "phraseID": "8" }, { "content": "Vote", "phraseID": "9" }, { "content": "Please choose an answer first!", "phraseID": "10" }, { "content": "Comments", "phraseID": "11" }, { "content": "Share This", "phraseID": "12" }], "type": "user" }, "id": "123546" }, "id": "UpdatePack" } } } }
JSON Response
{ "pdResponse": { "partnerGUID": "3F2504E0-4F89-11D3-9A0C-0305E82C3301", "userCode": "123456-FErKS5yu15scpSGmvip4JA==", "demands": { "demand": { "languagepack": { "pack": { "title": "My Pack", "phrase": [{ "content": "View Resultz", "phraseID": "1" }, { "content": "Thank you for voting!", "phraseID": "2" }, { "content": "Return To Poll", "phraseID": "3" }, { "content": "Other:", "phraseID": "4" }, { "content": "Thank you, we have already counted your vote.", "phraseID": "5" }, { "content": "Total Votes:", "phraseID": "6" }, { "content": "votes", "phraseID": "7" }, { "content": "Poll Closed", "phraseID": "8" }, { "content": "Vote", "phraseID": "9" }, { "content": "Please choose an answer first!", "phraseID": "10" }, { "content": "Comments", "phraseID": "11" }, { "content": "Share This", "phraseID": "12" }], "type": "user" }, "id": "123546", "date": "2010-02-06 11:59:00" }, "id": "GetPack" } } } }
GetMedia
Method Name: GetMedia
Method description: Used to retrieve media content from Crowdsignal Media Library.
XML Request
<?xml version="1.0" encoding="utf-8" ?> <pd:pdRequest xmlns:pd="http://api.polldaddy.com/pdapi.xsd" partnerGUID="3F2504E0-4F89-11D3-9A0C-0305E82C3301"> <pd:userCode>123456-FErKS5yu15scpSGmvip4JA==</pd:userCode> <pd:demands> <pd:demand id="GetMedia"> <pd:media id="123123"/> </pd:demand> </pd:demands> </pd:pdRequest>
XML Response
<?xml version="1.0" encoding="utf-8" ?> <pd:pdResponse xmlns:pd="http://api.polldaddy.com/pdapi.xsd" partnerGUID="3F2504E0-4F89-11D3-9A0C-0305E82C3301"> <pd:userCode>123456-FErKS5yu15scpSGmvip4JA==</pd:userCode> <pd:demands> <pd:demand id="GetMedia"> <pd:media size='3783' id='123123'> <pd:name><![CDATA[Logo-Image]]></pd:name> <pd:ext>image/png</pd:ext> <pd:img><![CDATA[%3Cimg+src%3D%22http%3A%2F%2Fservices.nirvanix.com%2Fpolldaddy%2Fpolldaddy%2Fimages%2F8e0d0fafac93bf5ed637eab706ae0671-l.png%22+alt%3D%22Click+to+enlarge%22+width%3D%22150%22+height%3D%2257%22+title%3D%22Click+to+enlarge%22+border%3D%220%22+%2F%3E]]></pd:img> <pd:img_small><![CDATA[%3Cimg+src%3D%22http%3A%2F%2Fservices.nirvanix.com%2Fpolldaddy%2Fpolldaddy%2Fimages%2F8e0d0fafac93bf5ed637eab706ae0671-xs.png%22+alt%3D%22question%22+width%3D%2216%22+height%3D%2216%22+title%3D%22question%22+border%3D%220%22+%2F%3E]]></pd:img_small> </pd:media> </pd:demand> </pd:demands> </pd:pdResponse>
JSON Request
{ "pdRequest": { "partnerGUID": "3F2504E0-4F89-11D3-9A0C-0305E82C3301", "userCode": "123456-FErKS5yu15scpSGmvip4JA==", "demands": { "demand": { "media": { "id": "123123" }, "id": "GetMedia" } } } }
JSON Response
{ "pdResponse": { "partnerGUID": "3F2504E0-4F89-11D3-9A0C-0305E82C3301", "userCode": "123456-FErKS5yu15scpSGmvip4JA==", "demands": { "demand": { "media": { "name": "question", "ext": "image/png", "img": "%3Cimg+src%3D%22http%3A%2F%2Fservices.nirvanix.com%2Fpolldaddy%2Fpolldaddy%2Fimages%2F8e0d0fafac93bf5ed637eab706ae0671-l.png%22+alt%3D%22Click+to+enlarge%22+width%3D%22150%22+height%3D%2257%22+title%3D%22Click+to+enlarge%22+border%3D%220%22+%2F%3E", "img_small": "%3Cimg+src%3D%22http%3A%2F%2Fservices.nirvanix.com%2Fpolldaddy%2Fpolldaddy%2Fimages%2F8e0d0fafac93bf5ed637eab706ae0671-xs.png%22+alt%3D%22question%22+width%3D%2216%22+height%3D%2216%22+title%3D%22question%22+border%3D%220%22+%2F%3E", "size": 3783, "id": 123123 }, "id": "getmedia" } } } }
GetStyle
Method Name: GetStyle
Method description: Used to get a Crowdsignal custom style.
XML Request
<?xml version="1.0" encoding="utf-8" ?> <pd:pdRequest xmlns:pd="http://api.polldaddy.com/pdapi.xsd" partnerGUID="3F2504E0-4F89-11D3-9A0C-0305E82C3301"> <pd:userCode>123456-FErKS5yu15scpSGmvip4JA==</pd:userCode> <pd:demands> <pd:demand id="GetStyle"> <pd:style id="123234" /> </pd:demand> </pd:demands> </pd:pdRequest>
XML Response
<?xml version="1.0" encoding="utf-8" ?> <pd:pdResponse xmlns:pd="http://api.polldaddy.com/pdapi.xsd" partnerGUID="3F2504E0-4F89-11D3-9A0C-0305E82C3301"> <pd:userCode>123456-FErKS5yu15scpSGmvip4JA==</pd:userCode> <pd:demands> <pd:demand id="GetStyle"> <pd:styles> <pd:style id="123234" type="1"> <pd:title>pinky</pd:title> <pd:date>2010-01-26 13:43:12</pd:date> <pd:css>%3C%3Fxml+version%3D%221.0%22%3F%3E%0A%3Cdata%3E%3Cpds-box%3E%3 … </pd:css> </pd:style> </pd:styles> </pd:demand> </pd:demands> </pd:pdResponse>
JSON Request
{ "pdRequest": { "partnerGUID": "3F2504E0-4F89-11D3-9A0C-0305E82C3301", "userCode": "123456-FErKS5yu15scpSGmvip4JA==", "demands": { "demand": { "style": { "id": "123234" }, "id": "GetStyle" } } } }
JSON Response
{ "pdResponse": { "partnerGUID": "3F2504E0-4F89-11D3-9A0C-0305E82C3301", "userCode": "123456-FErKS5yu15scpSGmvip4JA==", "demands": { "demand": { "styles": { "style": { "title": "pinky", "date": "2010-01-26 13:43:12", "css": "%3C%3Fxml+version%3D%221.0%22%3F%3E%0A%3Cdata%3E%3Cpds-box%3E%3C...", "id": "123234", "type": "1" } }, "id": "GetStyle" } } } }
GetStyles
Method Name: GetStyles
Method description: Used to get all your Crowdsignal custom styles.
XML Request
<?xml version="1.0" encoding="utf-8" ?> <pd:pdRequest xmlns:pd="http://api.polldaddy.com/pdapi.xsd" partnerGUID="3F2504E0-4F89-11D3-9A0C-0305E82C3301"> <pd:userCode>123456-FErKS5yu15scpSGmvip4JA==</pd:userCode> <pd:demands> <pd:demand id="GetStyles"/> </pd:demands> </pd:pdRequest>
XML Response
<?xml version="1.0" encoding="utf-8" ?> <pd:pdResponse xmlns:pd="http://api.polldaddy.com/pdapi.xsd" partnerGUID="3F2504E0-4F89-11D3-9A0C-0305E82C3301"> <pd:userCode>123456-FErKS5yu15scpSGmvip4JA==</pd:userCode> <pd:demands> <pd:demand id="GetStyles"> <pd:styles> <pd:style id="123234" type="1"> <pd:title>pinky</pd:title> <pd:date>2010-01-26 13:43:12</pd:date> </pd:style> <pd:style id="123123" type="1"> <pd:title>black silo</pd:title> <pd:date>2009-12-23 14:33:01</pd:date> </pd:style> <pd:style id="123112" type="0"> <pd:title>blueish</pd:title> <pd:date>2009-12-14 11:49:09</pd:date> </pd:style> </pd:styles> </pd:demand> </pd:demands> </pd:pdResponse>
JSON Request
{ "pdRequest": { "partnerGUID": "3F2504E0-4F89-11D3-9A0C-0305E82C3301", "userCode": "123456-FErKS5yu15scpSGmvip4JA==", "demands": { "demand": { "id": "GetStyles" } } } }
JSON Response
{ "pdResponse": { "partnerGUID": "3F2504E0-4F89-11D3-9A0C-0305E82C3301", "userCode": "123456-FErKS5yu15scpSGmvip4JA==", "demands": { "demand": { "styles": { "style": [{ "title": "pinky", "date": "2010-01-26 13:43:12", "id": "123234", "type": "1" }, { "title": "black silo", "date": "2009-12-23 14:33:01", "id": "123123", "type": "1" }, { "title": "blueish", "date": "2009-12-14 11:49:09", "id": "123112", "type": "0" }] }, "id": "GetStyles" } } } }
DeleteStyle
Method Name: DeleteStyle
Method description: Used to delete a custom poll style.
XML Request
<?xml version="1.0" encoding="utf-8" ?> <pd:pdRequest xmlns:pd="http://api.polldaddy.com/pdapi.xsd" partnerGUID="3F2504E0-4F89-11D3-9A0C-0305E82C3301"> <pd:userCode>123456-FErKS5yu15scpSGmvip4JA==</pd:userCode> <pd:demands> <pd:demand id="DeleteStyle"> <pd:style id="1232345"/> </pd:demand> </pd:demands> </pd:pdRequest>
XML Response
<?xml version="1.0" encoding="utf-8" ?> <pd:pdResponse xmlns:pd="http://api.polldaddy.com/pdapi.xsd" partnerGUID="3F2504E0-4F89-11D3-9A0C-0305E82C3301"> <pd:userCode>123456-FErKS5yu15scpSGmvip4JA==</pd:userCode> <pd:demands> <pd:demand id="DeleteStyle"/> </pd:demands> </pd:pdResponse>
JSON Request
{ "pdRequest": { "partnerGUID": "3F2504E0-4F89-11D3-9A0C-0305E82C3301", "userCode": "123456-FErKS5yu15scpSGmvip4JA==", "demands": { "demand": { "style": { "id": "1232345" }, "id": "DeleteStyle" } } } }
JSON Response
{ "pdResponse": { "partnerGUID": "3F2504E0-4F89-11D3-9A0C-0305E82C3301", "userCode": "123456-FErKS5yu15scpSGmvip4JA==", "demands": { "demand": { "id": "DeleteStyle" } } } }
CreateStyle
Method Name: CreateStyle
Method description: Used to create a Crowdsignal custom style.
XML Request
<?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="CreateStyle"> <pd:style> <pd:title><![CDATA[pinky - new]]></pd:title> <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:demand> </pd:demands> </pd:pdRequest>
XML Response
<?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:style id="123676" type="1"> <pd:title><![CDATA[pinky - new]]></pd:title> <pd:date>2010-01-28 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:demand> </pd:demands> </pd:pdResponse>
JSON Request
{ "pdRequest": { "partnerGUID": "3F2504E0-4F89-11D3-9A0C-0305E82C3301", "userCode": "123456-FErKS5yu15scpSGmvip4JA==", "demands": { "demand": { "style": { "title": "pinky - new", "css": "%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" }, "id": "CreateStyle" } } } }
JSON Response
{ "pdResponse": { "partnerGUID": "3F2504E0-4F89-11D3-9A0C-0305E82C3301", "userCode": "123456-FErKS5yu15scpSGmvip4JA==", "demands": { "demand": { "style": { "title": "pinky - new", "date": "2010-01-28 13:43:12", "css": "%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", "id": "123676", "type": "1" }, "id": "GetStyle" } } } }
UpdateStyle
Method Name: UpdateStyle
Method description: Used to update a Crowdsignal custom style.
XML Request
<?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="UpdateStyle"> <pd:style id="123676"> <pd:title><![CDATA[pinky]]></pd:title> <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:demand> </pd:demands> </pd:pdRequest>
XML Response
<?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:style id="123676" type="1"> <pd:title><![CDATA[pinky]]></pd:title> <pd:date>2010-01-29 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:demand> </pd:demands> </pd:pdResponse>
JSON Request
{ "pdRequest": { "partnerGUID": "3F2504E0-4F89-11D3-9A0C-0305E82C3301", "userCode": "123456-FErKS5yu15scpSGmvip4JA==", "demands": { "demand": { "style": { "title": "pinky", "css": "%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", "id": "123676" }, "id": "UpdateStyle" } } } }
JSON Response
{ "pdResponse": { "partnerGUID": "3F2504E0-4F89-11D3-9A0C-0305E82C3301", "userCode": "123456-FErKS5yu15scpSGmvip4JA==", "demands": { "demand": { "style": { "title": "pinky", "date": "2010-01-29 13:43:12", "css": "%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", "id": "123676", "type": "1" }, "id": "GetStyle" } } } }