I ran into something similar today. I was asked to find out about the usage of the guardian feature in our HS, MS, and EL campuses. I ran
gam print guardians states COMPLETE
Which gives me a similar list of guardian emails and studentIds, but no email address. I can use the studentId in a command like this:
gam print guardians student id:102596714475361774281
gam show guardian student id:102596714475361774281
Which basically gives me the same information as the first command, but when I try to use the studentId in a command like this:
gam print courses student id:102596714475361774281
I get ERROR: 400: Request contains an invalid argument. - badRequest
I can't seem to make any use of the studentId to determine which students a guardian has access to, and therefore which campus the student belong to.
Is there a way to determine which students a guardian has access to? Or ideally a way to populate that studentEmail field in the results? Even a list of studentIds and student email addresses like Heidi requested would suffice.
Thanks!