fixed category by id rest method - changed to PathParam