Core Years API doesn't match value for API's that use Years as a filter or Years and Term in UI

Has anyone else come across a situation where they executed the “Core Years” API to pull back the “school_year_label" to then pass the value into another API to filter and realize they are not the same?

Here is the response when running the “Core Years” API:

33b5fccb12c3f2eefa25cf1aafd4471e-huge-im

I then ran the “Dorms” API which allows for you to pass in the school year

e0819845c0cbea8f904ccd4c12e12620-huge-im

If you note, the filter has spaces! I went to check how the UI was showing the data under Settings > School Information > Years and Terms, and it also has spaces. Why would the Core Year API not include spaces?

ab700ab6a3286afd8a3d70455b724100-huge-im

Comments

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

    @Lindsey Bryant
    In this case, the Dorms endpoint parameter is incorrect and will need to be corrected. I will add it to our backlog and get that corrected.

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

    @Lindsey Bryant
    This has been updated. The school year parameter should accept the label with or without spaces now. Thanks for pointing out that inconsistency.

Categories