Doorgaan naar hoofdcontent
OCLC Wise Support NL

How to: retrieve updated patrons from Wise

This scenario describes how a list of patrons can be retrieved from Wise. Use this scenario to keep patrons in sync with an external system like a marketing tool or CRM database.

Step 1: Authenticate

Get an access token by logging in as a staff user in the Wise Rest-API. See Authentication for more information 

Step 2 : Get a list of updated patrons

/patronmanagement/patron/library/{libraryId}/updatedpatron?date=yyyy-mm-dd 

This endpoint will get a list of patron system ids which are updated (or created) since the given date. Every patron has a unique patron system id.

Step 3 : Retrieve the information per patron

With the list of patron system ids you can call the endpoint below to get the patron information.

/patron/{patronSystemId}/library/{libraryId}/patroninformation

Or use other endpoints for other patron related information when needed.

Step 4 : Retrieve deleted patrons

In step 3 created and updated patrons are listed. The last step is deleting patrons which are not in Wise anymore.

/patronmanagement/patron/library/{libraryId}/deletedpatron

 

 

  • Was dit artikel nuttig?