- Joined
- Jan 15, 2020
- Messages
- 2
- Reaction score
- 1
Hello all!
I'm trying to connect 3CX with Odoo by using a self developped plugin in Odoo to expose contact in order to process the contact lookup.
I build two scenarios:
- the first one is authentication (json post to given URL)
- the second is the matching scenario.
But the main problem is on authentication:
here is my request content:
{"jsonrpc":"2.0","method":"call","params":{"db":"[Database]","login":"[UserName]","password":"[Password]"}}
here is the request content build by 3CX (same things in 3CX CRM Template Generator and 3CX Server):
{"jsonrpc":"2.0","method":"call","params":{"db":"db_fake","login":"login_fake","password":"password_fake"]
The double }} is replaced by ]
Any idea ?
I'm trying to connect 3CX with Odoo by using a self developped plugin in Odoo to expose contact in order to process the contact lookup.
I build two scenarios:
- the first one is authentication (json post to given URL)
- the second is the matching scenario.
But the main problem is on authentication:
here is my request content:
{"jsonrpc":"2.0","method":"call","params":{"db":"[Database]","login":"[UserName]","password":"[Password]"}}
here is the request content build by 3CX (same things in 3CX CRM Template Generator and 3CX Server):
{"jsonrpc":"2.0","method":"call","params":{"db":"db_fake","login":"login_fake","password":"password_fake"]
The double }} is replaced by ]
Any idea ?