JSON RPC

39 views
Skip to first unread message

Akshay patel

unread,
Jun 7, 2016, 8:50:03 AM6/7/16
to tryton
Hello,

I am only getting the array of contact_mechanisms ids when party.party method call.

How will I query for all contact_mechanism via party id in jSON RPC?

Also, please put some example or document for JSON RPC of tryton.
It seems very complex by JSON RPC call.

Thank you,

Cédric Krier

unread,
Jun 7, 2016, 9:05:03 AM6/7/16
to tryton
On 2016-06-07 05:30, Akshay patel wrote:
> Hello,
>
> I am only getting the array of contact_mechanisms ids when party.party
> method call.
>
> How will I query for all contact_mechanism *via party id* in jSON RPC?

You can not read details of contact_mechanisms from party.party.
You must do a second call to party.contact_mechanism with the ids you
have read from party.party.

--
Cédric Krier - B2CK SPRL
Email/Jabber: cedric...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/
Reply all
Reply to author
Forward
0 new messages