We are building a restful service for serving employee data.
We have an api which will return the list of employees who belong to a specific department of a client.
This api takes 2 parameters - clientId and departmentId
As per standards which of the below is the right way to construct a restful url for this api?
1) /client/{clientId}/department/{departmentId}/employees
2) /client/{clientId}/employees?departmentId={departmentId}
Can a restful url can have multiple path parameters? If yes/no to above question - why it is so?