Retrieve updated title information from Wise
This scenario describes how to retrieve updated title information from Wise in order to synchronize title and item information with an external system.
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 titles
The /title/changed endpoint will respond with all title numbers that have been updated since a given date.
You can specify a date and a list of branches in the request body : {'since': "2023-01-01", 'branchIds': "9061,0727,9059,6292"}
By specifying one or more branches, the endpoint will look for updated titles that have one or more items linked to this title. If there is no item from the specified branches, it will not be in the response.
Step 3 : Retrieve the title information in MARCXML format
With the list of title numbers you can request other endpoints for the title information. If you want to export the title information in MARCXML you can call
/title/export
This endpoint can export a maximum of 100 titles per request. By specifying the includeHoldings parameters, the data will include the items (holdings).
If you want only items of certain branches, then the branchIds parameter can be used: ?includeHoldings=True&branchIds=9061,0727,9059,6292