- Joined
- Aug 25, 2022
- Messages
- 8
- Reaction score
- 1
Hello,
I'm on the way to setup the CRM integration with the 3CX system for our EsproCRM. The EsproCRM system uses arrays within the url structure and it looks like the 3cx system uses these brackets to replace the variables. The URLs I would need are:
I've replaced the email address [email protected] with and the phone number with [Number]. Within my webserver log I see all values in brackets missing.
Is there a way to escape the brackets I really need for the request to not replace them by the variable mathing system or am I able to define the metacharacter to recognize variables on my own? I would rather go for these brackets: {Number}. Or even a more save way which is not used by systems in urls very often and mark variables by @@@Number@@@.
I'm happy to get some ideas on how to solve this.
Best Regards,
Andi
I'm on the way to setup the CRM integration with the 3CX system for our EsproCRM. The EsproCRM system uses arrays within the url structure and it looks like the 3cx system uses these brackets to replace the variables. The URLs I would need are:
Code:
https://crm.example.com/api/v1/Contact/[ContactID]
https://crm.example.com/api/v1/Contact?maxSize=20&offset=0&orderBy=name&order=asc&where[0][type]=equals&where[0][attribute]=emailAddress&where[0][value][email protected]&select=id,firstName,phoneNumber,emailAddress
https://crm.example.com/api/v1/Contact?select=id,firstName,phoneNumber,emailAddress,Company&maxSize=20&offset=0&orderBy=name&order=asc&where[0][type]=equals&where[0][attribute]=phoneNumber&where[0][value]=0123456789
I've replaced the email address [email protected] with and the phone number with [Number]. Within my webserver log I see all values in brackets missing.
Is there a way to escape the brackets I really need for the request to not replace them by the variable mathing system or am I able to define the metacharacter to recognize variables on my own? I would rather go for these brackets: {Number}. Or even a more save way which is not used by systems in urls very often and mark variables by @@@Number@@@.
I'm happy to get some ideas on how to solve this.
Best Regards,
Andi