I have WebAPI url (http://localhost:5134/api/TechDisci/00026) which returns multiple TechDisciplines for user 00026. /TechDisci/ is the controller name and Get method returns JSON data.
JSON data has primary and secondary values in the results set. Now User wants to filter this with primary and secondary by passing in url like this
http://localhost:5134/api/TechDisci/00026/primary and http://localhost:5134/api/TechDisci/00026/secondary.
My java guys are able to this kind of url thing. How to handle samethig in WebAPI?