c# - Odata URL conversion error on "orderby" -
c# - Odata URL conversion error on "orderby" -
i need show info in orderby
i have url , need show info based on datewise
i tried this
http://localhost:33396/values.svc/names?$format=json&$expand=address&$select=address/phonenumber,address/pincode&$filter=address/any(value:value/pincode+eq+guid%27600045%27)+and+address/any(value:value/country+eq+guid%27india%27)%20&$orderby=address/date+desc
but getting error this
{"odata.error":{"code":"","message":{"lang":"en-us","value":"the parent value property access of property 'date' not single value. property access can applied single value."}}}
how can solve this
the address navigation property on names right? , error shows, think address collection. property access can used on single value, or confused using of items specified property "date" in "address" collection.
c# android odata
Comments
Post a Comment