Hello community !
When getting a resource with nested values from the websocket interface, these nested values are not returned but replaced by the string "[Data]"
.
Example…
{
"id": 141,
"result": {
"models": {
"crm.guests.d1510cbd-9b4b-46de-8f63-e9aa1308ab3b": {
"createdAt": "2022-03-09T20:33:54.000000Z",
"entityId": "74e08031-cb2e-4531-8194-f719b181953c",
"firstname": "John",
"lastname": "Doe",
"addresses": "[Data]",
"nationalities": "[Data]",
}
}
}
}
…where as the same call to the REST API will return the nested data.
I am wondering if I did my connection and/or request message the correct way, or if the is the expected behavior. In the later case, I guess that I have to reorganise my resources to have “sub” resources to represent the nested objects as flat resources.
Many thanks for your help.
Lionel