Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/http/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Rest Wunderlist API:已完成任务的补丁请求在http请求上工作,但在应用程序上不更新_Rest_Http_Request_Wunderlist - Fatal编程技术网

Rest Wunderlist API:已完成任务的补丁请求在http请求上工作,但在应用程序上不更新

Rest Wunderlist API:已完成任务的补丁请求在http请求上工作,但在应用程序上不更新,rest,http,request,wunderlist,Rest,Http,Request,Wunderlist,我尝试使用补丁请求来完成我的任务,我得到了任务完成的响应,但它不会在wunderlist应用程序上更新。我做了大约9次复习。我收到一个显示完成的响应,但当我返回应用程序时,它显示没有更新。以下是我对请求的回应: { "id": 3898040341, "created_at": "2018-06-01T10:20:00.703Z", "created_by_id": 24870738, "created_by_request_id": "worker:w:w:recurring_task_cre

我尝试使用补丁请求来完成我的任务,我得到了任务完成的响应,但它不会在wunderlist应用程序上更新。我做了大约9次复习。我收到一个显示完成的响应,但当我返回应用程序时,它显示没有更新。以下是我对请求的回应:

{
"id": 3898040341,
"created_at": "2018-06-01T10:20:00.703Z",
"created_by_id": 24870738,
"created_by_request_id": "worker:w:w:recurring_task_creator:parent-3858561041",
"recurrence_type": "day",
"recurrence_count": 1,
"due_date": "2018-06-02",
"completed": true,
"completed_at": "2018-06-18T12:30:20.547Z",
"completed_by_id": 24870738,
"starred": false,
"list_id": 350926181,
"revision": 9,
"title": "Turn on computer",
"type": "task"
}
上面说我今天就完成了,但我的手机、平板电脑和手机上的应用程序都没有更新。
请帮忙。谢谢。

没关系,我会想办法的。任务的id在每次完成时都会更改。这是一个经常性的任务。所以我需要用一个新ID更新当前请求

ID为3952832467的旧请求结果

{
    "id": 3952832467,
    "created_at": "2018-06-19T11:42:13.366Z",
    "created_by_id": 24870738,
    "created_by_request_id": "worker:w:w:recurring_task_creator:parent-3949658004",
    "recurrence_type": "day",
    "recurrence_count": 1,
    "due_date": "2018-06-05",
    "completed": true,
    "completed_at": "2018-06-19T11:42:55.835Z",
    "completed_by_id": 24870738,
    "starred": false,
    "list_id": 350926181,
    "revision": 2,
    "title": "Turn on computer",
    "type": "task"
}
相同的请求结果,但没有ID 3952834287:

{
    "id": 3952834287,
    "created_at": "2018-06-19T11:42:56.132Z",
    "created_by_id": 24870738,
    "created_by_request_id": "worker:w:w:recurring_task_creator:parent-3952832467",
    "recurrence_type": "day",
    "recurrence_count": 1,
    "due_date": "2018-06-06",
    "completed": true,
    "completed_at": "2018-06-19T14:52:28.644Z",
    "completed_by_id": 24870738,
    "starred": false,
    "list_id": 350926181,
    "revision": 2,
    "title": "Turn on computer",
    "type": "task"
}