Updating User Information

Hello all,

I am working with the API's through Power Automate and have successfully read data out of Education Management. I am now hoping to update some information within student records and want to make sure I am doing it properly without potentially messing up the system. The documentation for User update does not have any request parameters like other update API's seem to. I am assuming that the “id” field is the parameter that “User update” uses to determine which record to update, and that if I send something like:

{
"id": 1,
"student_id": "New ID"
}

then the student with userid = 1 will have the student_id field updated to “New ID”. Without having a way to test it outside of the live system, I am hesitant to try it. Any feedback would be appreciated.

Thanks,
-Scott

Comments

  • Stephen Boyle
    Stephen Boyle Blackbaud Employee
    Tenth Anniversary Kudos 5 First Reply Name Dropper

    @Scott Minkoff
    You have it right. That is how you identify the user for this particular endpoint.

  • @Stephen Boyle

    Thanks!

    I tried it and got an error message indicating that patch was not supported:

    e202eda5611d0a2a9aa1f419a72c7897-huge-im

    Is there something obvious that I am doing wrong?

  • Stephen Boyle
    Stephen Boyle Blackbaud Employee
    Tenth Anniversary Kudos 5 First Reply Name Dropper

    @Scott Minkoff
    Not sure about why you are getting that. When I try it in the Try it Console for User Update, I get a 200 and the field updates as expected. The Try it button on the right opens the console. Let me know if you can't get that to work.

    812278fb320b663b6c46a7bc493baea6-huge-im
  • Stephen Boyle
    Stephen Boyle Blackbaud Employee
    Tenth Anniversary Kudos 5 First Reply Name Dropper

    @Scott Minkoff
    BTW - in order to use the Try It Console.

    Select the Try It button to the right of the page.

    Choose “authorization_code” from the dropdown. Select to authorize on the pop-up.

    6f3ab370d3ec40a9dda6d0046feba992-huge-im

    Change the Request Body to the id and student_id that you want.

    50deebda54e49a32588e88acc0922d27-huge-im

    Then scroll down and hit Send.

    262ca1411ae4b9f960db2424c3ebda16-huge-im

    The results should show up on the General Info tile of the Contact Card.

    4cd6fa4b2dd22609e837da30f73a2437-huge-im
  • @Stephen Boyle

    It worked there. Thanks! I guess the issue might be on the Power Automate end. Once I figure that out, I will repost in case someone else comes across the same thing.

  • @Stephen Boyle

    Hello again,

    I am still having issues with the update call in Power Automate and now in postman (which was a suggestion to try by Microsoft support). Before I keep working on this, has anyone been able to make the update call outside of the “Try It” section of the reference page, API Reference - SKY API (blackbaud.com)?

    Thanks!

Categories