- Joined
- Apr 16, 2018
- Messages
- 7
- Reaction score
- 0
Hi,
I'm currently trying to configure my 3CX server to communicate with a CRM REST API.
I'm a developer. I've followed the steps described here https://www.3cx.com/docs/crm-integration/.
I don't manage to get access token from the CRM server (but I can do it with external tooling such as Postman).
The CRM server needs a simple Oauth authentification :
- Call URL : https://mycrm.com/api/TokenAuth/Authenticate . The call is POST with userName and Pasword wihtin body request
- Then, server sends AccessToken
- This AccessToken has to be included in every request to the API
- I also configured the matching scenario as explained
When I test with these parameters, I have an error "System.Exception: The response is empty."
If I remove Authentification, the request is sent to my CRM but result is Ok but with "unAuthorizedRequest" (as AccessToken is not present in the request).
Is there someone who can help me with this ?
Cheers
I'm currently trying to configure my 3CX server to communicate with a CRM REST API.
I'm a developer. I've followed the steps described here https://www.3cx.com/docs/crm-integration/.
I don't manage to get access token from the CRM server (but I can do it with external tooling such as Postman).
The CRM server needs a simple Oauth authentification :
- Call URL : https://mycrm.com/api/TokenAuth/Authenticate . The call is POST with userName and Pasword wihtin body request
- Then, server sends AccessToken
- This AccessToken has to be included in every request to the API
- I also configured the matching scenario as explained
When I test with these parameters, I have an error "System.Exception: The response is empty."
If I remove Authentification, the request is sent to my CRM but result is Ok but with "unAuthorizedRequest" (as AccessToken is not present in the request).
Is there someone who can help me with this ?
Cheers