- Joined
- Jul 26, 2023
- Messages
- 3
- Reaction score
- 0
Hey,
I query contacts through free text search (Contacts/CRM) using my own template. Getting a single contact works, but even if there are multiple contacts trasmitted, the Webclient only shows one contact. I have already packed the contacts into a JSON array like here - but in that way the request to the server ends in a timeout. What does a JSON for multiple contacts have to look like? Unfortunately the reference doesn't provide much information on this. Should I use an array-description way like in the screenshot (it neither works, maybe I am doing it wrong)
Thanks in advance, Dennis

I query contacts through free text search (Contacts/CRM) using my own template. Getting a single contact works, but even if there are multiple contacts trasmitted, the Webclient only shows one contact. I have already packed the contacts into a JSON array like here - but in that way the request to the server ends in a timeout. What does a JSON for multiple contacts have to look like? Unfortunately the reference doesn't provide much information on this. Should I use an array-description way like in the screenshot (it neither works, maybe I am doing it wrong)
Thanks in advance, Dennis

JSON:
{
"contacts": [ {
"id": 42513,
"firstname": "Marlies",
"lastname": "Test",
"title": "",
"company": "55W 42513",
"email": "",
"businessphone": "+496XXXXXXXX",
"businessphone2": "+.",
"mobilephone": "+.",
"url": "https://crm.example.com/show?42513",
"comment": ""
},
{
"id": 42512,
"firstname": "Martina",
"lastname": "Test",
"title": "",
"company": "32M 42512",
"email": "",
"businessphone": "+496XXXXXXX",
"businessphone2": "+.",
"mobilephone": "+.",
"url": "https://crm.example.com/show?42512",
"comment": "Hallo"
}]
}