Passing array in GET for a REST call
Collections are a resource so /appointments is fine as the resource. Collections also typically offer filters via the querystring which is essentially what users=id1,id2… is. So, /appointments?users=id1,id2 is fine as a filtered RESTful resource.