Update Survey Response

๐Ÿงพ Update Survey Response

Endpoint: PATCH /api/v3/surveys/{surveyId}/responses/{responseId}

Auth Required: โœ… Yes (Bearer Token)


๐Ÿ“ Description

Partially updates a specific survey response by its ID. This is commonly used to correct or update feedback after initial submission.


๐Ÿ”ข URL Parameters

Parameter Type Required Description
surveyId integer/string โœ… Yes Unique identifier for the survey.
responseId integer/string โœ… Yes Unique identifier for the survey response.

๐Ÿ” Query Parameters

None.


๐Ÿ“ฅ Request Body

Content-Type: application/json

Submit only the fields you want to update.

๐Ÿ”ง Sample Schema

{  "<responseField>": "<newValue>",  "<anotherField>": 3 }  

๐Ÿ“ค Request Example

PATCH https://api.briefingedge.com/api/v3/surveys/777/responses/888 Authorization: Bearer <token> Content-Type: application/json  {  "rating": 5 }  

โœ… Success Response (200 OK)

Returns the updated survey response object.

Example:

{  "ResponseID": 888,  "SurveyID": 777,  "Question": "Overall satisfaction?",  "Rating": 5,  "UpdatedOn": "2025-11-07T14:00:00Z" }  

โŒ Error Responses

Code Message Description
400 Bad Request Invalid input or malformed request.
401 Unauthorized Missing or invalid bearer token.
404 Not Found Survey or response ID not found.
500 Internal Server Error Unexpected server-side failure.