AnsweredAssumed Answered

Error when I try to consume the REST API to retrieve a course and it contains a point (.) in the courseID

Question asked by jm0071257 on Jul 27, 2018
Latest reply on Jul 30, 2018 by jm0071257

When I try to consume the REST API to retrieve a course and it contains a point (.) in the courseID, the response from the endpoint sends an error that does not include the course. Is there any way to get the course information if it contains a point?

For Example,

/learn/api/public/v1/courses/courseId:201810_10022.10171_MAT2316

And the response was:

{

    "status": 404,

    "message": "Could not find object with ID: courseId:201810_10022",

    "extraInfo": "................"

}

Obviously the course exists.

But, if I send a course that does not contain a point in the CourseID, the response sends the requested course information.

 

Any idea?

 

Thanks .

Outcomes