Skip to Content
Nov 14, 2018 at 02:55 PM

Filter not working on CreateDate and CreateTime for Items in SAP SL through GET Data API

175 Views Last edit Nov 14, 2018 at 03:28 PM 2 rev

Hi All,

I am trying to get Items filter by CreateDate and CreateTime. I want to get all Items which are created after specific time only. I am trying to get using folowing request url.

GET: https://XXX.XXX.X.X:50000/b1s/v1/Items?$filter=(CreateDate ge '2018-10-10' and (CreateTime ge '09:45:30' or CreateDate gt '2018-10-10'))

Here I am getting error.

{ "error": { "code": -1000, "message": { "lang": "en-us", "value": "Property 'CreateDate' of 'Item'is invalid" } } }

It is working fine with UpdateDate and UpdateTime. but when new Item is created then UpdateDate and UpdateTime is null.

Could you please provide us any clue regarding this?