[使用NodeJS,我正在尝试更新链接到另一个应用程序的关系字段(联系人线索)。我尝试了所有组合,但仍然出现错误。我认为我有必要的数据来发布,app_id,item_id,external_id..etc。我需要有关形成JSON结构的帮助。
p.request('put','item/<Item_Id>/value', data)
var data {....}
app_id:'<app_id>'
value:'<value>' (value is the app_item_id of the link to application; that is the number in URL)
app_item_id: '<app_item_id>'
external_id:'<external_id>'
我能够毫无问题地更新非关系字段。
谢谢
嗯,要回答我自己的问题。这将适用于单个应用程序链接,不确定多个链接。
data = {
"<external_id>": {
"apps": [{"app_id": <app_id>}],
"value: <app_item_id>
}
}