Closed cooperRjp closed 2 years ago
@cooperRjp if you take a look at oData's URI convensions or Addressing the Count of a Collection, seems that $count doesn't need anything else.
Also, keep in mind that $count can be used in the path, but also in query as $count=true.
I think the second method is also implemented, so you can probably try the totalCount()
method instead of count()
.
Hope this information helps.
The $count in the api which i'm querying needs to be set to $count=true, is there a way to do so?