Uploaded image for project: 'SimplyE 2.0'
  1. SimplyE 2.0
  2. SIMPLY-2659

Create patron accounts on the Odilo side before trying to take action on their behalf

XMLWordPrintable

      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.

            leonardrichardson Leonard Richardson [X] (Inactive)
            leonardrichardson Leonard Richardson [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: