office365 - Filter the response by date for microsoft graph one drive API? -
i obtain 1 drive content using microsoft graph api after applying filter date contents created on 1 drive between particular date obtained.
i have tried
https://graph.microsoft.com/v1.0/me/drive/items/01k7x427o4h27cgfnfbfa25mqdao44vveu/children?filter=createddatetime ge 2016-02-26t14:41:09z
but following response
"error": { "code": "invalidrequest", "message": "the request malformed or incorrect.", "innererror": { "request-id": "c636022f-2fa9-4e41-b8fc-63be5fc5e681", "date": "2017-04-07t10:05:46" } }
i have tried
https://graph.microsoft.com/v1.0/me/drive/root/children?filter=name eq 'folderapr05'
and works.
so,does drive support filter parameter date or not? or support field name shown in above working api request.
filtering datetime isn't supported. if you're attempting purposes of syncing onedrive, may want take @ delta. method allows app track changes drive , children on time.
Comments
Post a Comment