The surveyId appears in the Conversation Details (retrieving conversation details using conversationId or using a query for conversation details).
If the customer starts to answer and save (surveyStatus = InProgress) or if the customer submits/completes the survey (surveyStatus = Finished), the answers will be provided in the response to the GET /api/v2/quality/surveys/{surveyId}
The survey status (status attribute) is also provided in the response to GET /api/v2/quality/surveys/{surveyId}.
Hi Jerome, thank you for the response, looks like that worked.
1 more question: How can I (or best easiest way) take this class PureCloudPlatformClientV2.models.survey.Survey and change it to json so I can break it down better?
I don't practice python much - usually nodejs.
But I think there is a to_json() method on all objects in the API.
I mean:
api_response = api_instance.get_quality_survey(......)
--> api_response.to_json()