Permit writing a pre-encrypted PIN via the API without additional encryption
For testing purposes, it would be beneficial to be able to make a backup of a patron PIN, assign a new temporary PIN, perform the testing from the patron's perspective, and then restore the original PIN. This way we would not have to inconvenience the patron by asking them to reset their PIN when testing has completed.
We can retrieve the encrypted PIN with this API GET request:
https://library-app-server:443/iii/sierra-api/v6/patrons/patron-record-number?fields=varFields
but the PIN string will be re-encrypted if we attempt to write it back using the patron record PUT request. We would like to have the option of passing a directive to the PUT request to bypass the encryption step, perhaps like so:
https://library-app-server:443/iii/sierra-api/v6/patrons/patron-record-number?option=noencrypt
We acknowledge that the ability to temporarily swap out a PIN using a UI such as the SDA would benefit more Sierra libraries as not all Sierra admins are comfortable working with the API. This enhancement request is intended to require less development effort than a new SDA feature and therefore improve its chances of being realized sooner.
