Hi,
I am getting an unexpanded attribute in the JSON response for a few API endpoints, which expand when called for a single key.
For eg. in case of the Evaluation forms endpoint
https://api.mypurecloud.com/api/v2/quality/forms/evaluations
I am getting below response, where the questionGroups is not expanded.
{
"entities": [
{
"id": <form-id>,
"name": <form-name>,
"modifiedDate": "2010-08-06T20:25:31.182Z",
"published": false,
"contextId": <id>,
**"questionGroups": [],**
"weightMode": "SCALED",
"selfUri": "/api/v2/quality/forms/evaluations/<form-id>"
}
But when I GET for https://api.mypurecloud.com/api/v2/quality/forms/evaluations/"specific form ID", the questionGroups is expanded with all the details in it.
I need this to happen in the normal endpoint Url, so that I can get full list with the deepest object expanded.
This is also happening in the "routing/flows" or "routing/queues" endpoints in GET calls.