-
Bug
-
Resolution: Done
-
Medium
-
None
-
None
The Odilo API requires patron accounts to be created ahead of time before actions (such as checkouts) can be taken on their behalf. This code was apparently never written, so the Odilo API has never been fully functional. We can build a catalog but we can't borrow books.
Here are details on the endpoint from Odilo support:
POST /opac/api/v2/login HTTP/1.1 Host: smcl.odilo.us<http://smcl.odilo.us> Content-Type: application/x-www-form-urlencoded userId=29041150649078&password=5255 This way you log in the user in our system and if the user doesn't exist in our database we create it. You can call it as many times as you want, we will create the user only if the user identifier doesn't exist in our database.
I've asked some follow-up questions and I'll put the responses here.