To update the password for a patron, use the same URL with a POST method of HTTP.
The request "Body" of the "POST" method must contain input XML with the old and new passwords.
Changing password will be subject to the standard Aleph password validation procedures, that is:
- A password is updateable if it has been defined in the tab_bor_id table as such (col.8 is set to Y).
- When a password update is done , all of the patron’s passwords (that are updateable) will be changed in that single action.
The POST XML must have the same structure as returned in the GET method.
To update the password for the patron ID 00000036, use the URL:
http://server.name:1892/rest-dlf/patron/00000036/patronInformation/password with the POST method and XML input:
post_xml=<?xml version = "1.0" encoding = "UTF-8"?>