- Joined
- Apr 16, 2021
- Messages
- 2
- Reaction score
- 0
Hi there,
I'm in the process of testing compatibility of the CRM Template Generator with a custom CRM we use. The roadblock i'm coming up against is that the API for this CRM is a little different and needs different types of authentication depending on the function being performed.
If I want to do a contact lookup with the CRM, it uses basic authentication through an ODATA service/request. (i've tested this and it works)
If I want to do any other function, like call journaling - I need to use OAuth type authentication to a REST endpoint.
Is there any way that I can mix the type of authentication the CRM template generator uses depending on the type of function it's going to perform? Are there any examples of this in the existing templates in 3cx that I can refer to for guidance?
Many thanks for any advice you have!
I'm in the process of testing compatibility of the CRM Template Generator with a custom CRM we use. The roadblock i'm coming up against is that the API for this CRM is a little different and needs different types of authentication depending on the function being performed.
If I want to do a contact lookup with the CRM, it uses basic authentication through an ODATA service/request. (i've tested this and it works)
[ODataApiUrl]/Clients?$filter=HomePhone eq '[Number]' or WorkPhone eq '[Number]' or HomeMobile eq '[Number]'&$select=FirstName,LastName,HomePhone,WorkPhone,HomeMobile,HomeEmailIf I want to do any other function, like call journaling - I need to use OAuth type authentication to a REST endpoint.
Is there any way that I can mix the type of authentication the CRM template generator uses depending on the type of function it's going to perform? Are there any examples of this in the existing templates in 3cx that I can refer to for guidance?
Many thanks for any advice you have!
Last edited: