mardi 24 octobre 2017

Web API: How to retrieve object members from an object?

Using Web API 2 I want something to look like this route:

api/clients/2/sells/1

I want to retrieve from the client with id = 2 , his/her sell with id = 1

as the json would look something like:

The whole idea is to retrieve all the records of just one by its id, based upon a previous object id.




Aucun commentaire:

Enregistrer un commentaire