feat: Add CSAT response APIs (#2503)
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
json.array! @csat_survey_responses do |csat_survey_response|
|
||||
json.partial! 'api/v1/models/csat_survey_response.json.jbuilder', resource: csat_survey_response
|
||||
end
|
||||
@@ -0,0 +1,9 @@
|
||||
json.id resource.id
|
||||
json.rating resource.rating
|
||||
json.feedback_message resource.feedback_message
|
||||
json.account_id resource.account_id
|
||||
json.message_id resource.message_id
|
||||
json.contact resource.contact
|
||||
json.conversation_id resource.conversation.display_id
|
||||
json.assigned_agent resource.assigned_agent
|
||||
json.created_at resource.created_at
|
||||
Reference in New Issue
Block a user