I'm working on loading data into our SIS from Incident IQ to help track staff and student assigned assets (mostly student, but I figured I might as well grab staff ones while I'm at it), and am trying to figure out how to include the Assets data in my API response from IIQ. I've tried the "/api/v1.0/users" endpoint and also tried creating a view and using the "/api/v1.0/users/view/{view-id}" endpoint. The view includes Assets as a column. I can't seem to get it to return the assigned Assets for the users even though the documentation indicates it should be one of the returned items in the JSON response.
I’m working with Python since it has a module for working with the API in our SIS.
import requests
url = "https://{iiq_domain}}/api/v1.0/users/view/{view_id}?$p=0&$s=10000"
payload = {}
headers = {
"Authorization": "Bearer {token_here}",
"Content-Type": "application/json",
"Accept": "application/json"
}
response = requests.post(url, json=payload, headers=headers)

