添加链接到 API 联系人的呼叫
Adding a call linked to a contact with the API
我正在尝试弄清楚如何 link 使用 API 调用 ORO CRM 3.1 中的客户。这就是我现在拥有的,效果很好。
"data":{
"type":"calls",
"attributes":{
"subject":"Cold Call my phone 2",
"phoneNumber":"4444444444",
"callDateTime":"2020-01-01T13:33:49Z",
"duration":"217"
},
"relationships":{
"callStatus":{
"data":{
"type":"callstatuses",
"id":"completed"
}
},
"direction":{
"data":{
"type":"calldirections",
"id":"outgoing"
}
}
}
}
}
有人知道如何在其中添加客户 and/or 联系人吗?
看到这个的人,答案是
"activityTargets": {
"data": [
{
"type": "contacts",
"id": "1"
}
]
}
我正在尝试弄清楚如何 link 使用 API 调用 ORO CRM 3.1 中的客户。这就是我现在拥有的,效果很好。
"data":{
"type":"calls",
"attributes":{
"subject":"Cold Call my phone 2",
"phoneNumber":"4444444444",
"callDateTime":"2020-01-01T13:33:49Z",
"duration":"217"
},
"relationships":{
"callStatus":{
"data":{
"type":"callstatuses",
"id":"completed"
}
},
"direction":{
"data":{
"type":"calldirections",
"id":"outgoing"
}
}
}
}
}
有人知道如何在其中添加客户 and/or 联系人吗?
看到这个的人,答案是
"activityTargets": {
"data": [
{
"type": "contacts",
"id": "1"
}
]
}