Good thought. I double checked the url of the operation and we're actually sending state=any so that should include the deleted users.
------------------------------
Chad Blount
Nationwide Mutual Insurance Company
------------------------------
Original Message:
Sent: 08-14-2023 07:21
From: Jan Heinonen
Subject: The "users" found in the v2.analytics.users.{id}.aggregates topic
Hello Chad,
Could it be deleted users?
Default the API doesn't return results for deleted users, you'll need to use GET /api/v2/users/[userId}?state=deleted to get those results.
------------------------------
Jan Heinonen
Contact Center Specialist
GlobalConnect AB
Original Message:
Sent: 08-11-2023 13:54
From: Chad Blount
Subject: The "users" found in the v2.analytics.users.{id}.aggregates topic
Hello all! We have the integration setup between GC and AWS EventBridge and are streaming the topic I referenced into an S3 bucket that is then ingested into databricks. We're syncing the data into Snowflake for business consumption. The {id} found in the topic seems to include more than just users. When we left join to the users found in the /api/v2/users/{userId} operation we are left with id's that are returning a 200OK from that operation but have no info in the json response. In the past I opened a ticket with support and was provided with the explanation that the ID's were Oauth ID's that I could view in the Admin panel. Currently I have 14 ID's that are unresolved and only 4 of them are Oauth ID's. Does anyone know what other resources would show up? I just don't have timie to throw the id's into misc api calls to try to find something that might work. I'm not finding any sort of reference info in the developer forum for this specific use case. Thanks in advance!
#Reporting/Analytics
------------------------------
Chad Blount
Nationwide Mutual Insurance Company
------------------------------