Added ability to query multiple ids under people, application api's