Hi have list of dates I need to get name where the maximum date is there.
In oData Service there is function maxdatetime()
. I used like this
url/services/List?$format=json&$select=name&$filter=date+eq+maxdatetime()
But it is showing exception
{"odata.error":{"code":"","message":{"lang":"en-US","value":"An unknown function with name 'maxdatetime' was found. This may also be a key lookup on a navigation property, which is not allowed."}}}
How can I solve this ?