REST API Allows Upper Case String Values and the REST User Search Cannot Search for Upper Case Values




 
REST API Allows Upper Case String Values and the REST User Search Cannot Search for Upper Case Values

Date Published: Apr 11,2025 Category: Product:Blackboard_Learn_SaaS   Article No.: 000077096

Producto: Learn SaaS

Versión: 9.1;SaaS

Descripción: The REST API allows Upper case String Values and the REST User Search cannot search for upper case values.

Pasos para repetir:

  1.  Log into Blackboard Learn via REST API
  2.  Create a user via REST.  Note user created via SIS and GUI will all have the text set to lower case. 
  3.  Use POST request to https://clientURL/learn/api/public/v1/users (replace the clientURL for your own URL)

{

"externalId": "J5555",
"dataSourceId": "_2_1",
"userName": "J5555",
"studentId": "J5555",
"educationLevel": "Unknown",
"gender": "Unknown",
"password": "1234",
"name":

{ "given": "andy ", "family": "hulme", "middle": "george", "preferredDisplayName": "GivenName" }

}

Observed Behavior:

"externalId": "J5555",

Use the search

https://clientURL/learn/api/public/v1/users/?externalId=J5555 (replace the clientURL for your own URL)

Empty Array

A direct call will show the information correctly:

https://clientURL/learn/api/public/v1/users/externalId:J5555  (replace the clientURL for your own URL)

Expected Behavior:

The search should either be case-insensitive, REST should set all external Id’s to lower case.

Note: The user "J5555" is not mandatory, it was used just as an example.

 




Versión de destino: Future Reference
Parche disponible: No