Bug 10667: Allow authentication with cardnumber for ILS-DI
[koha.git] / koha-tmpl / opac-tmpl / prog / en / modules / ilsdi.tt
index 9311599..a727b29 100644 (file)
@@ -41,7 +41,7 @@
                     ilsdi.pl?service=GetAvailability&id=1+2+99999&id_type=item
                 </a>
                 <h4>Example response</h4>
-<pre>&lt;?xml version="1.0" encoding="ISO-8859-1" ?&gt;
+<pre>&lt;?xml version="1.0" encoding="UTF-8" ?&gt;
 &lt;dlf:collection
   xmlns:dlf="http://diglib.org/ilsdi/1.1"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                     ilsdi.pl?service=GetRecords&amp;id=1+2+99999
                 </a>
                 <h4>Example response</h4>
-<pre>&lt;?xml version="1.0" encoding="ISO-8859-1" ?&gt;
+<pre>&lt;?xml version="1.0" encoding="UTF-8" ?&gt;
 &lt;GetRecords&gt;
   &lt;record&gt;
     &lt;biblioitemnumber&gt;1&lt;/biblioitemnumber&gt;
     &lt;items&gt;
       &lt;item&gt;
         &lt;biblioitemnumber&gt;1&lt;/biblioitemnumber&gt;
-        &lt;wthdrawn&gt;0&lt;/wthdrawn&gt;
+        &lt;withdrawn&gt;0&lt;/withdrawn&gt;
         &lt;holdingbranchname&gt;Bibliothèque Jean Prunier&lt;/holdingbranchname&gt;
         &lt;notforloan&gt;0&lt;/notforloan&gt;
         &lt;replacementpricedate&gt;2008-08-20&lt;/replacementpricedate&gt;
     &lt;items&gt;
       &lt;item&gt;
         &lt;biblioitemnumber&gt;2&lt;/biblioitemnumber&gt;
-        &lt;wthdrawn&gt;0&lt;/wthdrawn&gt;
+        &lt;withdrawn&gt;0&lt;/withdrawn&gt;
         &lt;holdingbranchname&gt;Bibliothèque Jean Prunier&lt;/holdingbranchname&gt;
         &lt;notforloan&gt;0&lt;/notforloan&gt;
         &lt;replacementpricedate&gt;2008-08-20&lt;/replacementpricedate&gt;
                     ilsdi.pl?service=LookupPatron&amp;id=815&amp;id_type=cardnumber
                 </a>
                 <h4>Example response</h4>
-<pre>&lt;?xml version="1.0" encoding="ISO-8859-1" ?&gt;
+<pre>&lt;?xml version="1.0" encoding="UTF-8" ?&gt;
 &lt;LookupPatron&gt;
   &lt;id&gt;419&lt;/id&gt;
 &lt;/LookupPatron&gt;</pre>
                 <h4>Parameters</h4>
                 <dl>
                     <dt><strong>username</strong> (Required)</dt>
-                    <dd>user's login identifier</dd>
+                    <dd>user's login identifier (userid or cardnumber)</dd>
                     <dt><strong>password</strong> (Required)</dt>
                     <dd>user's password</dd>
                 </dl>
                     ilsdi.pl?service=AuthenticatePatron&amp;username=john9&amp;password=soul
                 </a>
                 <h4>Example Response</h4>
-<pre>&lt;?xml version="1.0" encoding="ISO-8859-1" ?&gt;
+<pre>&lt;?xml version="1.0" encoding="UTF-8" ?&gt;
 &lt;AuthenticatePatron&gt;
   &lt;id&gt;419&lt;/id&gt;
 &lt;/AuthenticatePatron&gt;</pre>
                     ilsdi.pl?service=GetPatronInfo&amp;patron_id=1&amp;show_contact=0&amp;show_loans=1
                 </a>
                 <h4>Example response</h4>
-<pre>&lt;?xml version="1.0" encoding="ISO-8859-1" ?&gt;
+<pre>&lt;?xml version="1.0" encoding="UTF-8" ?&gt;
 &lt;GetPatronInfo&gt;
   &lt;category_type&gt;A&lt;/category_type&gt;
   &lt;categorycode&gt;ADUEXT&lt;/categorycode&gt;
       &lt;dateaccessioned&gt;2008-08-23&lt;/dateaccessioned&gt;
       &lt;onloan&gt;2008-09-17&lt;/onloan&gt;
       &lt;biblioitemnumber&gt;4483&lt;/biblioitemnumber&gt;
-      &lt;wthdrawn&gt;0&lt;/wthdrawn&gt;
+      &lt;withdrawn&gt;0&lt;/withdrawn&gt;
       &lt;notforloan&gt;0&lt;/notforloan&gt;
       &lt;replacementpricedate&gt;2008-08-23&lt;/replacementpricedate&gt;
       &lt;itemcallnumber&gt;RO STE&lt;/itemcallnumber&gt;
       &lt;notes&gt;La couv. porte en plus : "un guide simple et facile pour apprendre la guitare" | Glossaire. Index&lt;/notes&gt;
       &lt;onloan&gt;2008-09-25&lt;/onloan&gt;
       &lt;biblioitemnumber&gt;4486&lt;/biblioitemnumber&gt;
-      &lt;wthdrawn&gt;0&lt;/wthdrawn&gt;
+      &lt;withdrawn&gt;0&lt;/withdrawn&gt;
       &lt;notforloan&gt;0&lt;/notforloan&gt;
       &lt;replacementpricedate&gt;2008-08-23&lt;/replacementpricedate&gt;
       &lt;itemcallnumber&gt;787.87 BUC&lt;/itemcallnumber&gt;
                     ilsdi.pl?service=GetPatronStatus&amp;patron_id=1
                 </a>
                 <h4>Example Response</h4>
-<pre>&lt;?xml version="1.0" encoding="ISO-8859-1" ?&gt;
+<pre>&lt;?xml version="1.0" encoding="UTF-8" ?&gt;
 &lt;GetPatronStatus&gt;
   &lt;expiry&gt;2010-03-04&lt;/expiry&gt;
   &lt;status&gt;0&lt;/status&gt;
                     ilsdi.pl?service=GetServices&amp;patron_id=1&amp;item_id=1
                 </a>
                 <h4>Example response</h4>
-<pre>&lt;?xml version="1.0" encoding="ISO-8859-1" ?&gt;
+<pre>&lt;?xml version="1.0" encoding="UTF-8" ?&gt;
 &lt;GetServices&gt;
   &lt;AvailableFor&gt;title level hold&lt;/AvailableFor&gt;
   &lt;AvailableFor&gt;item level hold&lt;/AvailableFor&gt;
                     ilsdi.pl?service=RenewLoan&amp;patron_id=1&amp;item_id=1
                 </a>
                 <h4>Example response</h4>
-<pre>&lt;?xml version="1.0" encoding="ISO-8859-1" ?&gt;
+<pre>&lt;?xml version="1.0" encoding="UTF-8" ?&gt;
 &lt;RenewLoan&gt;
   &lt;success&gt;0&lt;/success&gt;
   &lt;renewals&gt;5&lt;/renewals&gt;
                     ilsdi.pl?service=HoldTitle&amp;patron_id=1&amp;bib_id=1&amp;request_location=127.0.0.1
                 </a>
                 <h4>Example response</h4>
-<pre>&lt;?xml version="1.0" encoding="ISO-8859-1" ?&gt;
+<pre>&lt;?xml version="1.0" encoding="UTF-8" ?&gt;
 &lt;HoldTitle&gt;
   &lt;title&gt;(les) galères de l'Orfèvre&lt;/title&gt;
   &lt;date_available&gt;2009-05-11&lt;/date_available&gt;
                     ilsdi.pl?service=HoldItem&amp;patron_id=1&amp;bib_id=1&amp;item_id=1
                 </a>
                 <h4>Example response</h4>
-<pre>&lt;?xml version="1.0" encoding="ISO-8859-1" ?&gt;
+<pre>&lt;?xml version="1.0" encoding="UTF-8" ?&gt;
 &lt;HoldTitle&gt;
   &lt;title&gt;(les) galères de l'Orfèvre&lt;/title&gt;
   &lt;date_available&gt;2009-05-11&lt;/date_available&gt;
                     ilsdi.pl?service=CancelHold&amp;patron_id=1&amp;item_id=1
                 </a>
                 <h4>Example response</h4>
-<pre>&lt;?xml version="1.0" encoding="ISO-8859-1" ?&gt;
+<pre>&lt;?xml version="1.0" encoding="UTF-8" ?&gt;
 &lt;CancelHold&gt;
   &lt;message&gt;Canceled&lt;/message&gt;
 &lt;/CancelHold&gt;</pre>