locked
OData Instance Annotation in ASP.Net Core OData v4 RRS feed

  • Question

  • We have an odata API developed in ASP.Net core application. API is able to send count and values[] in the response. Now we would like to send one more property called selectedcount along with odata response. For example, 

    {"@odata.count":100,"selectedcount":50,value:[{x},{y},{z}]}

    selectcount can change during each API call. As per my understanding, instance annotation can be used to achieve above behavior. But I couldn't find any clear documentation or working example. Can anyone point me to the right direction would be really helpful.

    Monday, September 21, 2020 6:11 PM

All replies