OneRoster PUT /lineItems: Can't PUT to a line item that has been deleted

@Todd DeSchuiteneer / Team -

I'm getting an error when PUTting a line item that has the same ID as a deleted line item. Is this the expected behavior? If so, how can we mark the line item undeleted?

Scenario:

  • Google Classroom assignment has ID 12345 in Google.
  • PUT line item in Blackbaud with ID 12345.
  • Delete line item.
  • PUT line item with ID 12345.

Expected behavior:

  • The line item is undeleted or otherwise written to in Blackbaud.

Actual behavior:

This is for syncing Google assignments and grades to Blackbaud. We use the Google assignment ID as the line item ID so that we know which Google assignment the Blackbaud assignment was created from. That way, a new Blackbaud assignment isn't created every time the sync runs.

Comments

Categories