Is there any way I can get only count of the data in response payload without any value array?
I am using ODataV4.0 with Webapi 2.2.
Currently it returns all the values and count when I query something like:
http://odata/People?$count=true
I just need something like "@odata.count":1, "value":[]
or without "value"
.
Is the only way to have function for this job?