Hello,

 

>   {"method": "model.party.contact_mechanism.write", "params": [id, 
> session, <list of mechanism is>, {"type": "email", "value": "
> a...@example.com"}]} 


This will edit the type & value to the list ID of mechanisms.so List ID 
have same value value to all.

I need like edit different contact mechanism IDs with different 
values/types.
so 
e.g. 
{"method":"model.party.contact_mechanism.write","params":[id,"sessions",[15,33],{"type":"phone","value":"1515"},{"type":"phone","value":"3333"}]}
I need like {"type":"phone","value":"1515"} for ID 15 & 
{"type":"phone","value":"3333"} for ID 33.

Is this possible?

I also tried my best to avoid top post, but I am sorry if this still not 
working.

-- 
You received this message because you are subscribed to the Google Groups 
"tryton" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton/06117459-325a-4ca4-b6da-58f17eeb8473%40googlegroups.com.

Reply via email to