1 / 22

Web Services & API

Web Services & API. กฤษฎา แก้วผุดผ่อง นักวิชาการ คอมพิวเตอร์ งานเทคโนโลยีสารสนเทศ หอสมุดและคลังความรู้ม.มหิดล. Service Provider. Service Consumer. www.li.mahidol.ac.th. IUG16th 2012 @ Mahidol University. Service Consumer / Requestor. Service Registry. ( ไฟล์ WSDL).

rod
Download Presentation

Web Services & API

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Web Services & API กฤษฎา แก้วผุดผ่องนักวิชาการคอมพิวเตอร์งานเทคโนโลยีสารสนเทศหอสมุดและคลังความรู้ม.มหิดล Service Provider Service Consumer www.li.mahidol.ac.th IUG16th 2012 @ Mahidol University

  2. Service Consumer /Requestor Service Registry (ไฟล์WSDL) Service Publisher/Provider www.li.mahidol.ac.th

  3. Web Services, API and Millennium Integration • What do API & Web Services do? • Teach different systems to work together • Allows Millennium to work with a third party application API / WSDL file Millennium Server Your Applications www.li.mahidol.ac.th IUG16th 2012 @ Mahidol University

  4. http://xxx.xxx.xxx/iii/patronio/services/PatronIO?wsdl www.li.mahidol.ac.th IUG16th 2012 @ Mahidol University

  5. Web Services, API and Millennium Integration • How do libraries use API ? • For selfcheck • For fines payment • For backups • For web portalintegration www.li.mahidol.ac.th IUG16th 2012 @ Mahidol University

  6. Web Services, API and Millennium Integration • What might you do with an API? • Read records • Update/create records • Search for records • Perform a business function e.g. >renew a book >pay off a fine www.li.mahidol.ac.th IUG16th 2012 @ Mahidol University

  7. Available API products Patron API My Millennium Web Service Patron Update Web Service Fines Payment Web Service Item Status API And More ... www.li.mahidol.ac.th IUG16th 2012 @ Mahidol University

  8. Patron API – How It Works Patron API – How It Works REC INFO[p!]=pEXP DATE[p43]= - - PCODE1[p44]=dPCODE2[p45]=sPCODE3[p46]=4P TYPE[p47]=2TOT CHKOUT[p48]=48TOT RENWAL[p49]=0CUR CHKOUT[p50]=3BIRTH DATE[p51]= - -19 HOME LIBR[p53]=north • Send an HTML request to a URL • The API returns patron data • Allows limits by library or vendor • Often used for patron verification http://library.edu:4500/PATRONAPI/.p112233/dump • For authentication Millennium Server Your Applications

  9. My Millennium Web Service Patron API – How It Works For Display • SearchPatrons • Current checkouts, including due dates • Items available for pickup • Status of outstandings holds • Booking information • Fines information

  10. Patron Update Web Service How It Works <?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelopexmlns: soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns: xsd= "http://www.w3.org/2001/XMLSchema" xmlns: xsi= "http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body>... update • Send an XML request to the server • The web service returns patron data • Send an XML update to the server • Get back status or errors • Millennium record updated searchPatrons status • For updating patrons Millennium Server Your Applications

  11. Fines Payment Web Service How Fines Payment works payPatronFine searchPatrons • External software requests patron fine information • Millennium responds • External software displays fines • External software takes payment • External software sends payment information • Millennium updates patron record patronInfo For Selfcheck Millennium Server External Software

  12. Item Status API Patron API – How It Works For Selfcheck • Teaches MilCirc to work with RFID • Multiple item checkin and checkout

  13. Express Lane Checkout

  14. MilCir Checkout

  15. MilCir Checkout

  16. MilCir Checkout

  17. www.li.mahidol.ac.th IUG16th 2012 @ Mahidol University

  18. Reference * http://www.mict.go.th/ewt_news.php?nid=186 * http://ict.moph.go.th/training/ict_2007/50/UDDI.pdf * http://egif.mict.go.th/phase3/document/THeGIFth.pdf* http://www.eiug.org/c2007/OnlinePaymentLibraryCharges2.pps* APIs – The Glue You Can Alan Dyck, Product Manager, Web Eric Leckbee, Product Manager, Circulation (IUG 2011-San Francisco) www.li.mahidol.ac.th IUG16th 2012 @ Mahidol University

  19. Reference • * Web Services, APIs and Millennium Integration / • Eric Leckbee, Product Manager, Circulation • (IUG 2010-Chicago) www.li.mahidol.ac.th IUG16th 2012 @ Mahidol University

  20. ขอบคุณครับ www.li.mahidol.ac.th IUG16th 2012 @ Mahidol University

More Related