Baksik1 enug baksik_rest

514 views

Published on

Published in: Education, Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
514
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
1
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Baksik1 enug baksik_rest

  1. 1. Using the Aleph REST API tosupport item requests from aseparate discovery system(Aquabrowser) by Corinna Baksik Development work by: Michael Vandermillen
  2. 2. Why? #1: Seamless user experiencehttp://hollis.harvard.edu/?itemid=|library/m/aleph|012353769http://cheetham.hul.harvard.edu:8992/F/?func=item-hold-request&doc_library=HVD50&adm_doc_number=012353769&item_sequence=000010
  3. 3. Why? #2: Better stats
  4. 4. Why? #3: Better mobile experience
  5. 5. Setting up JBOSS server1. Start / stop server via util/w (Server does not appear in util/w/1 (Monitor servers)2. Type jlog at prompt to see log3. Update global.properties file with ports / server names4. $alephe_root/dlf_eng/dlf-global.tng (we use to delete private data we don’t need)5. open port 189#
  6. 6. Design Aquabrowser Link to local app (with ADM + Item Seq. #) PIN System Authentication Local app Retrieve Patron ID via call to X-serverREST Check Check for Show Request Send Borrower Patron Options and RequestAPI Expiration Blocks Instructions Date
  7. 7. Aquabrowser interfacehttp://hollisservices.lib.harvard.edu/itemrequest?bibid=HVD01012809860&itemid=HVD50012353769000010
  8. 8. Authentication• Harvard PIN Server• Harvard ID  Aleph Patron IDhttp://cheetham.hul.harvard.edu:8992/X?op=bor-by-key&bor_id={HUID}&verification={HUID}&library=hvd50&user_name={clientID}&user_password={clientPW}
  9. 9. REST call for patron infohttp://cheetham.hul.harvard.edu:1892/rest-dlf/patron/{patronID}/patronInformation/address
  10. 10. Expired ID: Aleph OPAC
  11. 11. Expired ID: Aquabrowser
  12. 12. REST call:http://cheetham.hul.harvard.edu:1892/rest-dlf/patron/{patronID}/patronStatus/registration
  13. 13. Patron Blocks: Aleph OPAC
  14. 14. Patron Blocks: Aleph OPAC• Patron is presented with a confirmation screen.• When they go to library to get book they’ll be told they can’t check it out due to blocks.
  15. 15. Patron Blocks: Aleph OPACThe onlyplace theywould see ablock is intheir MyAccountpage
  16. 16. Patron Block: Aquabrowser
  17. 17. Use REST to check for blockhttp://cheetham.hul.harvard.edu:1892/rest-dlf/patron/{patronID}/patronStatus/blocks
  18. 18. Hold Request: Aleph OPAC
  19. 19. Hold Request: Aquabrowser
  20. 20. Hold Requesthttp://cheetham.hul.harvard.edu:1892/rest-dlf/patron/{patronID}/record/HVD01{bib}/items/HVD50{ADM}{SEQ}/hold
  21. 21. Use XSL to modify what Aleph returns Example: Item on loan with a waitlist
  22. 22. Apply XSLT to XML from Aleph APINotesreturnedby AlephAPIXSLTappliedto Notes
  23. 23. On Loan until 12/31/99
  24. 24. Send Requesthttp://cheetham.hul.harvard.edu:1892/restdlf/patron/{patronID}/record/HVD01{bib}/items/HVD50{ADM}{SEQ}/holdpost_xml=<hold-request-parameters> <pickup-location> {pickup-location@code} </pickup-location> <note-1><note-1> <note-2></note-2></hold-request-parameters>
  25. 25. Success
  26. 26. Mobile stylesheethttp://hollisservices.lib.harvard.edu/hollisservices/itemrequest?bibid=HVD01012809860&itemid=HVD50007605221000010
  27. 27. About the local app (Developer: Michael Vandermillen, Harvard Library)• Resides on separate server• Tomcat application, running behind Apache• Groovy and Grails web app framework (Java platform)
  28. 28. Future Plans ?• Create new interface for all My Account info?• Create an interface that also includes other patron requests, so users can see all library activity in one place (ILL, Borrow Direct, EDD, Aeon)
  29. 29. Questions?See also:• Ex Libris Commons• “Aleph Restful APIs “ Powerpoint on Doc CenterCorinna BaksikSystems Librarian, Office for Information SystemsHarvard LibraryEmail: corinna_baksik@harvard.eduSkype: corinna_baksik

×