Leveraging APIs with powershell

Leveraging APIs with powershell

I am trying to wrap my head around the APIs. I have successfully been able to connect and authenticate via the API but I am wondering how I would query for all unapproved windows patches via the API? 

I also would like to be able to query specific computers for missing patches and store the results.

                New to ADSelfService Plus?