• V20: 3CX Re-engineered. Get V20 for increased security, better call management, a new admin console and Windows softphone. Learn More.

3CX Intergration with Extrabat CRM

Status
Not open for further replies.

ThomasGirardeau

Bronze Partner
Advanced Certified
Joined
Nov 15, 2019
Messages
3
Reaction score
0
Hi everybody,

I'm stuck with a custum CRM template, I keep have an empty id returned. Here is the call log.

Started scenario with empty id
Started Auth
Request text: https://www.myextrabat.com/authentification/oauth2/token
Request form value grant_type set to client_credentials
Request form value client_id set to xxxxxxxxx
Request form value client_secret set to xxxxxxxxxxx
Response text: {"access_token":"xxxxxxxxxxxxxxxxxxxxxxx","token_type":"bearer","expires_in":43200,"scope":null}
Response finished
Variable AccessToken set to xxxxxxxxxxxxxxxxxxxxxx
Variable ExpiresIn set to 43200
Finished Auth
Request text: https://api.extrabat.com/v2/clients...r=telephones.number~/xxxxxxxxxxxxxx/&nbitem=1
Response text: [{"id":XXXXXX,"nom":"NOM","prenom":"","email":"[email protected]","dateCreation":"2020-10-01T00:24:30+02:00","observation":"","espaceClientEnabled":false,"dateConsultation":"2020-10-07T09:01:24+02:00","codeCompta":"410058","historique":"CL0058","civilite":{"id":87280,"libelle":""},"telephones":[{"id":14590727,"number":"XXXXXXX","type":{"libelle":"Portable","ordre":1,"id":16282}},{"id":14590726,"number":"XXXXXXXXXX","type":{"libelle":"Fixe","ordre":0,"id":16281}}],"suivi_par":null,"creePar":null}]
Response finished
Variable ContactID set to 6187296
Variable CompanyName set to
Variable Email set to [email protected]
Variable PhoneBusiness set to
Variable ContactUrl set to
Variable id set to 6187296
Finished scenario with empty id

Any idea?
Thanks a lot.
 
It seems you're not providing outputs for some required fields. The contact lookup scenario must provide at least the following:
1) Contact first name, last name or company name.
2) A phone number that matches the number being searched.
3) A Contact URL.

If you don't provide these, the record is skipped.
 
Thank for your reply. This works well.

Thanks you and have a great day
 
Status
Not open for further replies.

Getting Started - Admin

Latest Posts

Forum statistics

Threads
141,632
Messages
748,963
Members
144,748
Latest member
Murad88
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.