OneRoster class IDs prefix

Hello,

When we fetch classes thru the School API we can get their IDs. When we fetch classes thru the OneRoster API, their IDs include the IDs from the School API plus some prefix: cls- followed by 5 digits. What does this 5 digit ID represent? Where would a school admin find this number?

Kind Regards,

Gerald Truong @ Edlink.

Comments

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

    @Gerald Truong
    The sourceId data is simply a generated unique ID for the class (or any) record in OneRoster data. It is not guaranteed to hold the ID from BEM. It does have the id in it as of now along with a school identifier, because it's the easiest way to make it unique. You can likely rely on it to remain that way, but it isn't required as part of the OneRoster standard and so could change if something require us to do so.

Categories