AnsweredAssumed Answered

Filtering Variables in API Results

Question asked by Logan Murray on Sep 11, 2019
Latest reply on Sep 12, 2019 by Jeffrey Anderson

Is there a way to include only specific variables from an API call? 
Using Postman, the API call is:  GET courses/{courseID}/users

 

The returned objects include:

  • id,

  • name,

  • created_at,

  • sortable_name,

  • short_name,

  • sis_user_id,

  • integration_id,

  • sis_import_id,

  • root_account,

  • login_id, and

  • email

 

If I only would like certain variables returned in the results - in this case I would like "name" and "email" - how is that done? 

Outcomes