changed get appointment resource

changed the actual number to :id