Update a Survey
PUT /calls/surveys/{survey_id}/
Use the PUT /calls/surveys/{survey_id}/
endpoint to update the details of a survey for a specific call session. At RequestMechanic, surveys help us gather feedback about your experience with our service.
Path Parameters
Field
Type
Required
Description
survey_id
string
Yes
The unique identifier of the survey to be updated.
Request Body Parameters
Field
Type
Required
Description
disappointment_level
string
No
Level of disappointment experienced. Values are Very
, Somewhat
, Not
disappointment_reason
string
No
Reason for the disappointment.
problem_solved
boolean
No
Indicates if the problem was resolved.
responded_immediately
boolean
No
Whether the mechanic responded promptly.
is_carried_along
boolean
No
If the customer was kept informed throughout.
was_asked_before_maintenance
boolean
No
Indicates if the customer was consulted prior to maintenance.
had_effective_communication
boolean
No
Whether communication was effective.
kept_appointment
boolean
No
Indicates if the mechanic kept their appointment.
met_at_location
boolean
No
Whether the meeting occurred at a specified location.
met_at_shop
boolean
No
Indicates if the meeting took place at the shop.
auto_technician_rating
integer
No
Rating for the auto technician's service.
auto_technician_feedback
string
No
Additional feedback for the auto technician.
customer_support_experience
string
No
Feedback about customer support.
overall_experience_rating
integer
No
Overall rating for the service experience.
overall_feedback
string
No
Additional feedback for the overall service.
refer_to_friend
boolean
No
Whether the service would be recommended to others.
user
string
Yes
The user associated with the survey.
call
integer
Yes
The call session associated with the survey.
Example Request
curl -X PUT "https://requestnowmechanic.com/v1/calls/surveys/{survey_id}/" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"disappointment_level": "3",
"disappointment_reason": "Late response",
"problem_solved": true,
"responded_immediately": false,
"is_carried_along": true,
"was_asked_before_maintenance": true,
"had_effective_communication": true,
"kept_appointment": true,
"met_at_location": false,
"met_at_shop": true,
"auto_technician_rating": 9,
"auto_technician_feedback": "Very skilled and professional.",
"customer_support_experience": "Helpful and responsive.",
"overall_experience_rating": 9,
"overall_feedback": "Great service overall.",
"refer_to_friend": true,
"user": "user_123",
"call": 9876
}'
Successful Response
Status Code:
200 OK
Description: The survey was successfully updated.
Response Body Example:
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"disappointment_level": "3",
"disappointment_reason": "Late response",
"problem_solved": true,
"responded_immediately": false,
"is_carried_along": true,
"was_asked_before_maintenance": true,
"had_effective_communication": true,
"kept_appointment": true,
"met_at_location": false,
"met_at_shop": true,
"auto_technician_rating": 9,
"auto_technician_feedback": "Very skilled and professional.",
"customer_support_experience": "Helpful and responsive.",
"overall_experience_rating": 9,
"overall_feedback": "Great service overall.",
"refer_to_friend": true,
"created_at": "2024-11-12T12:00:00Z",
"updated_at": "2024-11-12T14:30:00Z",
"user": "user_123",
"call": 9876
}
Error Responses
Last updated