Hello,
Is there an API endpoint that contains the information of who changed a user? I'm working with the Users changed by base role(s) and would like to be able to pull who has made the changes. Thank you for any information you can provide!
@Lauren Henderson I don't think so. We've had this same frustration within BBEM and the inability to even configure the system on what the profile changes are triggered by.
The Users audit by role ID output now delivers "change_by_id".
@Lindsey Bryant thank you! @Stephen Boyle could this possibly be added for future consideration?
@Stephen Boyle Thank you! I will check it out.
@Stephen Boyle this API really doesn't help as we have to first identify the role_id the user has, and then pass it into the API to get a result.
If it could be the base_id that is similar to the Get Users by Role, we could pass in 1 for the base role of "All School" and then filter or the last 7 days, that would help us reduce the number of APIs we call. Right now, we have close to 6,000 users and that number will grow at least by a 1,000 each year.
Hi Lindsey,
You should be able to pass in the "All school" role. The ID of "1" you reference is the base role ID and this endpoint wants the role ID (the ID specific to your school). The Core roles endpoint will get you the role ID for All school, and it won't change - it's just school specific unlike base role. When I pass in 4180, the ID of "All School" for my demo db, I get changes for all record types.
{ "id": 4180, "base_role_id": 1, "hidden": false, "name": "All School" }
@Lindsey Bryant (and @Lauren Henderson), meant to tag you above about role ID.
Perfect, @Stephen Boyle . Thank you for pointing that out! I'll take a look and see if we can switch to this next year as it will be a much improvement compared to us pulling the data down for all users.
@Lindsey Bryant/ @Lauren Henderson,
If you wanted to get really fancy, you could use Webhooks. We've added webhooks for Education and the first event trigger we've supported is User Changed. If you subscribe to the com.blackbaud.education.user.change.v1 webhook, you'd be able to update individual changes as they happen in BEM.
com.blackbaud.education.user.change.v1
Good to know, @Stephen Boyle ! Thank you as always for guiding us to new features.