How to retrieve a list of objects with objectid

Am sorry, I’ve seen my mistake. Very embarrassing oversight. Thanks