List Questions for a Subscriber
GET to /api/account/ACCOUNT_CODE/subscribers/ENCODED_SUBSCRIBER_ID/questions.xml
- Your ACCOUNT_CODE can be found via the administrative interface.
- The ENCODED_SUBSCRIBER_ID is the following information run through Base64 conversion:
- For email subscribers: email address.
- For wireless subscribers: a string consisting of country code, a plus (+) sign, and the (digit-only) phone number. Example: 1+5555555555
- The appropriately encoded ID will be returned in the <to-param> element of the output from the Create Subscriber method.
Example Output
<?xml version="1.0" encoding="UTF-8"?>
<questions type="array">
<question>
<link rel="self" href="/api/account/ACCOUNT_CODE/questions/QUESTION_ID.xml" />
</question>
<questions type="array">
<question>
<link rel="self" href="/api/account/ACCOUNT_CODE/questions/QUESTION_ID2.xml" />
</question>
</questions>
Troubleshooting
Reference question error codes
Was this page helpful? Can't find what you need? Let us know
Open topic with navigation