0

我试图弄清楚如何使用 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"
            }
         }
      }
   }
}

任何人都知道如何在其中添加客户和/或联系人?

4

1 回答 1

0

对于任何看到这个的人来说,答案是

"activityTargets": {
      "data": [
        {
          "type": "contacts",
          "id": "1"
        }
      ]
    }
于 2020-02-20T20:28:33.157 回答