【发布时间】:2016-11-15 13:43:24
【问题描述】:
我试图从角度 2 进行更新操作,但我不知道如何传递元素参数
在 vtigercrm.log 我看到 DEBUG webservice -
array ('element' => NULL)
导致这个
"error": {
"code": "ACCESS_DENIED",
"message": "Permission to perform the operation is denied for id",
我尝试将以下对象作为 JSON 传递
{
"subject":"test2",
"assigned_user_id":"19x1",
"date_start":"2016-11-15",
"time_start":"12:00:00",
"due_date":"2016-11-15",
"time_end":"14:00:00",
"recurringtype":"",
"duration_hours":"2",
"duration_minutes":"0",
"parent_id":"",
"eventstatus":"Planned",
"sendnotification":"0",
"activitytype":"Call",
"location":"",
"createdtime":"2016-11-15 11:31:19",
"modifiedtime":"2016-11-15 11:31:19",
"taskpriority":"",
"notime":"0",
"visibility":"Public",
"modifiedby":"19x1",
"description":"",
"reminder_time":"",
"contact_id":"",
"latitud":"",
"longitud":"",
"id":"18x22029"
}
与 encodeURI 和 encodeURIComponent 相同,但没有任何作用
【问题讨论】: