Hi Valence group,
I went looking for how to get user info by orgDefinedID and it appears there is one way to do it: the /d2l/api/lp/(version)/users/ route (a GET route).
The documentation for that route specifies three optional parameters. Given that other more clearly defined GET routes in Valence (e.g. /d2l/api/lp/(version)/users/(userId) ) append the parameter on the end, I first tried /d2l/api/lp/1.3/users/(username) This returned a status of "Unknown error occured (HTTP status 404)"
I then guessed at /d2l/api/lp/1.3/users/userName/(username), but that returned the same 404 error.
I tried /d2l/api/lp/1.3/users/(org defined id), and /d2l/api/lp/1.3/users/userName/orgDefinedID/(org defined id), and both of them also gave a 404.
So... how do you use that /d2l/api/lp/(version)/users/ route? More generally, how do we use GET routes with optional parameters?