I've got an OData service with multiple NavigationProperties on a root element. I'd like to perform a query where I don't return any results from the root, e.g. ($top's and metadata removed for brevity)
http://services.odata.org/V4/TripPinServiceRW/People?$expand=Friends($select=FirstName)&$select=null
could return
{
"value": [{
"Friends": [{
"FirstName": "Scott"
}]
}]
}
at present, I'm having to specify at least one column in the root-level $select, otherwise all the columns at the root level get retrieved
(i.e. http://services.odata.org/V4/TripPinServiceRW/People?$expand=Friends($select=FirstName)&$select=FirstName )
Is it possible to somehow specify an empty $select list? I can't see an obvious way in the ABNF.