GetLibraryUserOrderList Webservice name: GetLibraryUserOrderList Adress: https://www.elib.se/webservices/getlibraryuserorderlist.asmx WSDL: https://www.elib.se/webservices/getlibraryuserorderlist.asmx?wsdl Webservice Methods: Name: GetLibraryUserOrderList Description: Get all user orders. Output schema: https://www.elib.se/webservices/schema/getlibraryuserorderlist.xsd Input: Parameter name Parameter type Optional Description retailerid Integer No The unique retailer id you have been given by ELib. retailerkeycode String No MD5 of the retailer keycode you have been given by Elib. cardnumber String No The users library card number. languagecode String Yes ISO 639-1 language code for metadata where language support is available. Default value en (English). Response status codes: ID Description 101 Ok. 102 Retailerid: Wrong length 103 Retailerid: Not an int
104 Retailorkey: Wrong length 118 The RetailerKey is wrong 157 Xml Response: Empty Example HTTP POST request getlibraryuserorderlist: retailerid=000&retailerkeycode=1234567890as1234567890as1234567890as &cardnumber=123456&languagecode=da Example HTTP POST response getlibraryuserorderlist: <GetLibraryUserOrderListResponse xmlns="https://www.elib.se/webservices"> <GetLibraryUserOrderListResult> <xs1:response xmlns:xs1="https://www.elib.se/webservices/schema/getlibraryuserorderlist.xsd"> <status xmlns=""> <code>101</code> <message>info - Ok</message> <maxloanperiod>30</maxloanperiod> <maxloanpertime>10</maxloanpertime> <maxloanstotal>10000</maxloanstotal> <maxloanpertimesound>3</maxloanpertimesound> <maxloanstotalsound>1500</maxloanstotalsound> <maxtotalperiod>3</maxtotalperiod> <usertotalloans>7</usertotalloans> <userebookloansremain>10</userebookloansremain> <usersoundloansremain>3</usersoundloansremain> <userebookloansnexttime>2010-08-20 00:00:00</userebookloansnexttime> <usersoundloansnexttime>2010-08-20 13:10:02</usersoundloansNexttime> <usertotalebookloans>0</usertotalebookloans> <usertotalsoundloans>7</usertotalsoundloans> </status> <data xmlns=""> <orderitem> <retailerordernumber>123456</retailerordernumber> <orderstatus id="1" name=""/> <orderdate>2010-08-06 12:13:33</orderdate> <loanexpiredate>2010-09-05 12:13:33</loanexpiredate> <book id="1234567890" idtype="isbn "> <title>lillys Danmarkshistorie.</title> <authors> <author name="pia Friis Laneth" type="författare" idtype="0"/> <author name="grete Tulinius" type="uppläsare" idtype="5"/> </authors> <publisher>gyldendal Lyd</publisher> <format id="71" name="lydbog streaming, bibliotek"/> <downloadurl>http://www.elib.se/order.asp?data=bq1kpgac9mvigdcm5q2pdhuemtmpnmlijut4y YsvJJ%2BkuAqZ4y0RUJPw%2BNjionVmZXdXj7gN3PcOSsSAjEPrbZWRZxOUVkTXWs3dQ0SNmPE%3D</ downloadurl>
<files type="1" format="75" description="audio book, WMA"> <file title="lillys Danmarkshistorie." name="isbn8702093995 _wma.zip" size="419523788" sizetype="byte">https://www.elib.se/webservices/fulfillment/?datax=drpc%2bekyt6znpfdxlchyvu9 zefw6xxh7mqxceon%2fagfnicxlzieyfvdc%2fnc6o6ncegk0mi%2f1bcgddgjd9m3%2f1pslnchres7uu oaitnfom8d2e7zujocfffqkm5b8ki%2b%2feml2hvshssg%3d</file> <files type="2" format="75" description="audio book, WMA"> <file title="lillys Danmarkshistorie." name="del01.wma" size="14404823" sizetype="byte">https://www.elib.se/webservices/fulfillment/?datax=drpc%2bekyt6znpfdxlchyvu9 zefw6xxh7mqxceon%2fagfnicxlzieyfotpmssak%2frmxuxmqs3t3qxd8xqzhumaf94p9oescuzcwe 2kN6p8M8Q%3d</file> </book> </orderitem> <orderitem> <retailerordernumber>123457</retailerordernumber> <orderstatus id="1" name=""/> <orderdate>2010-08-06 12:14:09</orderdate> <loanexpiredate>2010-09-05 12:14:09</loanexpiredate> <book id="8702092964 " idtype="isbn "> <title>liberty</title> <authors> <author name="jakob Ejersbo" type="författare" idtype="0"/> <author name="martin Greis" type="uppläsare" idtype="5"/> </authors> <publisher>gyldendal Lyd</publisher> <format id="71" name="lydbog streaming, bibliotek"/> <downloadurl>http://www.elib.se/order.asp?data=8uygw0x8fozevy%2fmw5xbkhuemtmpnmlizdi me43uxdekuaqz4y0rujpw%2bnjionvm%2b%2bfsp7tey91bmwch9jewnms9b6tdvkbslk1zcvjdxlu% 3D</downloadurl> <files type="1" format="75" description="audio book, WMA"> <file title="liberty" name="isbn8702092964 _wma.zip" size="652516423" sizetype="byte">https://www.elib.se/webservices/fulfillment/?datax=drpc%2bekyt6x7dytaofp8%2b e9zefw6xxh7mqxceon%2fagfnicxlzieyfmtq3hcx%2bocwegk0mi%2f1bcgvl%2bzwhnq%2fo5slnchr es7uuoaitnfom8d2e7zujocfffqkm5b8ki%2b%2feml2hvshssg%3d</file> <files type="2" format="75" description="audio book, WMA"> <file title="liberty" name="del01.wma" size="13362476" sizetype="byte">https://www.elib.se/webservices/fulfillment/?datax=drpc%2bekyt6x7dytaofp8%2b e9zefw6xxh7mqxceon%2fagfnicxlzieyfj3%2fynmmub3cxuxmqs3t3qxd8xqzhumaf94p9oescuzcw e2kn6p8m8q%3d</file>
</book> </orderitem> </xs1:response> </GetLibraryUserOrderListResult> </GetLibraryUserOrderListResponse>Example SOAP request getlibraryuserorderlist: <soap:envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:web="https://www.elib.se/webservices"> <soap:header/> <soap:body> <web:getlibraryuserorder> <web:retailerid>000</web:retailerid> <web:retailerkeycode>1234567890as1234567890as1234567890as</web:retailerkeycode> <web:cardnumber>123456</web:retailerorderid> <web:languagecode>da</web:languagecode> </web:getlibraryuserorder> </soap:body> </soap:envelope> Example SOAP response getlibraryuserorderlist: <soap:envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/xmlschema-instance" xmlns:xsd="http://www.w3.org/2001/xmlschema"> <soap:body> <GetLibraryUserOrderListResponse xmlns="https://www.elib.se/webservices"> <GetLibraryUserOrderListResult> <xs1:response xmlns:xs1="https://www.elib.se/webservices/schema/getlibraryuserorderlist.xsd"> <status xmlns=""> <code>101</code> <message>info - Ok</message> <maxloanperiod>30</maxloanperiod> <maxloanpertime>10</maxloanpertime> <maxloanstotal>10000</maxloanstotal> <maxloanpertimesound/> <maxloanstotalsound/> <maxtotalperiod>3</maxtotalperiod> <usertotalloans/> <userebookloansremain/> <usersoundloansremain/> <userebookloansnexttime/> <usersoundloansnexttime/> <usertotalebookloans/> <usertotalsoundloans/> </status> <data xmlns=""> <orderitem> <retailerordernumber>123456</retailerordernumber> <orderstatus id="1" name=""/> <orderdate>2010-08-06 12:13:33</orderdate> <loanexpiredate>2010-09-05 12:13:33</loanexpiredate>
<book id="8702093995 " idtype="isbn "> <title>lillys Danmarkshistorie.</title> <authors> <author name="pia Friis Laneth" type="författare" idtype="0"/> <author name="grete Tulinius" type="uppläsare" idtype="5"/> </authors> <publisher>gyldendal Lyd</publisher> <format id="71" name="lydbog streaming, bibliotek"/> <downloadurl>http://www.elib.se/order.asp?data=bq1kpgac9mvigdcm5q2pdhuemtmpnmlijut4y YsvJJ%2BkuAqZ4y0RUJPw%2BNjionVmZXdXj7gN3PcOSsSAjEPrbZWRZxOUVkTXWs3dQ0SNmPE%3D</ downloadurl> <files type="1" format="75" description="audio book, WMA"> <file title="lillys Danmarkshistorie." name="isbn8702093995 _wma.zip" size="419523788" sizetype="byte">https://www.elib.se/webservices/fulfillment/?datax=drpc%2bekyt6znpfdxlchyvu9 zefw6xxh7mqxceon%2fagfnicxlzieyfvdc%2fnc6o6ncegk0mi%2f1bcgddgjd9m3%2f1pslnchres7uu oaitnfom8d2e7zujocfffqkm5b8ki%2b%2feml2hvshssg%3d</file> <files type="2" format="75" description="audio book, WMA"> <file title="lillys Danmarkshistorie." name="del01.wma" size="14404823" sizetype="byte">https://www.elib.se/webservices/fulfillment/?datax=drpc%2bekyt6znpfdxlchyvu9 zefw6xxh7mqxceon%2fagfnicxlzieyfotpmssak%2frmxuxmqs3t3qxd8xqzhumaf94p9oescuzcwe 2kN6p8M8Q%3d</file> </book> </orderitem> <orderitem> <retailerordernumber>123457</retailerordernumber> <orderstatus id="1" name=""/> <orderdate>2010-08-06 12:14:09</orderdate> <loanexpiredate>2010-09-05 12:14:09</loanexpiredate> <book id="8702092964 " idtype="isbn "> <title>liberty</title> <authors> <author name="jakob Ejersbo" type="författare" idtype="0"/> <author name="martin Greis" type="uppläsare" idtype="5"/> </authors> <publisher>gyldendal Lyd</publisher> <format id="71" name="lydbog streaming, bibliotek"/> <downloadurl>http://www.elib.se/order.asp?data=8uygw0x8fozevy%2fmw5xbkhuemtmpnmlizdi me43uxdekuaqz4y0rujpw%2bnjionvm%2b%2bfsp7tey91bmwch9jewnms9b6tdvkbslk1zcvjdxlu% 3D</downloadurl>
<files type="1" format="75" description="audio book, WMA"> <file title="liberty" name="isbn8702092964 _wma.zip" size="652516423" sizetype="byte">https://www.elib.se/webservices/fulfillment/?datax=drpc%2bekyt6x7dytaofp8%2b e9zefw6xxh7mqxceon%2fagfnicxlzieyfmtq3hcx%2bocwegk0mi%2f1bcgvl%2bzwhnq%2fo5slnchr es7uuoaitnfom8d2e7zujocfffqkm5b8ki%2b%2feml2hvshssg%3d</file> <files type="2" format="75" description="audio book, WMA"> <file title="liberty" name="del01.wma" size="13362476" sizetype="byte">https://www.elib.se/webservices/fulfillment/?datax=drpc%2bekyt6x7dytaofp8%2b e9zefw6xxh7mqxceon%2fagfnicxlzieyfj3%2fynmmub3cxuxmqs3t3qxd8xqzhumaf94p9oescuzcw e2kn6p8m8q%3d</file> </book> </orderitem> </xs1:response> </GetLibraryUserOrderListResult> </GetLibraryUserOrderListResponse> </soap:body> </soap:envelope>
Webservice Method: Name: GetLanguageList Description: Gets a languagelist. Output schema: https://www.elib.se/webservices/schema/getlanguagelist.xsd Input: Parameter name Parameter type Optional Description Retailerid Integer No The unique retailer id you have been given by ELib. retailerkeycode String No MD5 of the retailer keycode you have been given by Elib. languagecode String Yes ISO 639-1 language code for metadata where language support is available. Default value en (English). Response status codes: ID Description 101 Ok. 102 Retailerid: Wrong length 103 Retailerid: Not an int 104 Retailorkey: Wrong length 118 The RetailerKey is wrong 157 Xml Response: Empty Example HTTP POST request *Method*: retailerid=0&retailerkeycode= ocb58dshjkrtui58vnmdfgjlert89056&languagecode=en
Example HTTP POST response *Method*: <?xml version="1.0" encoding="utf-8"?> <response xmlns=""> <status> <code>101</code> <message>info - Ok</message> </status> <id>1</id> <code>sv</code> <name>swedish</name> <id>2</id> <code>no</code> <name>norwegian</name> <id>3</id> <code>da</code> <name>danish</name> <id>4</id> <code>fi</code> <name>finnish</name> <id>10</id> <code>en</code> <name>english</name> </response> Example SOAP request *Method*: <soap:envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:web="https://www.elib.se/webservices"> <soap:header/> <soap:body> <web:getlanguagelist> <web:retailerid>0</web:retailerid> <web:retailerkeycode> 12345678901324567890</web:retailerkeycode> <web:languagecode>en</web:languagecode> </web:getlanguagelist>
</soap:body> </soap:envelope> Example response *Method*: <soap:envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/xmlschema-instance" xmlns:xsd="http://www.w3.org/2001/xmlschema"> <soap:body> <GetLanguageListResponse xmlns="https://www.elib.se/webservices"> <GetLanguageListResult> <xs1:response xmlns:xs1="https://www.elib.se/webservices/schema/getlanguagelist.xsd"> <status xmlns=""> <code>101</code> <message>info - Ok</message> </status> <data xmlns=""> <id>1</id> <code>sv</code> <name>swedish</name> <id>2</id> <code>no</code> <name>norwegian</name> <id>3</id> <code>da</code> <name>danish</name> <id>4</id> <code>fi</code> <name>finnish</name> <id>5</id> <code>es</code> <name>spanish</name> </xs1:response> </GetLanguageListResult> </GetLanguageListResponse> </soap:body> </soap:envelope>