You are here: Communications Cloud API v1 > Resources > Subscribers > Change All Responses
Change All Responses

PUT to /api/accounts/ACCOUNT_CODE/subscribers/ENCODED_SUBSCRIBER_ID/responses.xml

Example Input
<responses type="array">
 <!-- Subscriber saw this question and did not answer it -->
 <response>
   <question-answer-text nil="true"></question-answer-text>
   <question-id>####</question-id>
   <answer-id nil="true"></answer-id>
 </response>

 <!-- subscriber saw this question and answered with two responses -->
 <response>
   <question-answer-text>ENTER ANSWER TEXT</question-answer-text>
   <question-id>####</question-id>
   <answer-id>####</answer-id>
 </response>
 <response>
   <question-answer-text>ENTER ANSWER TEXT</question-answer-text>
   <question-id>####</question-id>
   <answer-id>####</answer-id>
 </response>
</responses>
Elements
Example Output

A successful operation will have a 200 OK response status and an empty response body.

Troubleshooting

Reference subscriber error codes

 

Was this page helpful? Can't find what you need? Let us know