Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Holdings
URL request syntax
The base syntax is:
http://webservices.lib.harvard.edu/rest/v3/hollis/holdings/{HOLLIS_number}
There is also a way to get a “brief” response (described below), with the pattern:
http://webservices.lib.harvard.edu/rest/v2/classic/holdings/{HOLLIS_number}/brief
With optional jsonp callback parameter:
http://webservices.lib.harvard.edu/rest/v3/hollis/holdings/{HOLLIS_number}?jsonp={callback function name}
Parameters
Parameter | Value | Description |
HOLLIS_number | record ID | ID number of the bibliographic record. This may be either the Alma (MMS) ID, or, for backward compatibility, the old HOLLIS ("Aleph") ID |
jsonp | Callback function name | The name of the callback function to wrap around JSON data. Example: ?jsonp=ws_results |
Information provided in the response
Besides the total_record_count, the following is provided
- Alma (MMS) ID
- Author
- Barcode
Call number
Description
Is the holding in a temporary location?
Library
- Location (permanent)
- Publication place and publisher
- Temporary call number
- Temporary library
- Temporary location
- Temporary policy
- Title
Sample URL
Requesting item availability information for HOLLIS record ID 011500528:
http://webservices.lib.harvard.edu/rest/v3/hollis/holdings/011500528?jsonp=holdings
Sample response
URL: http://webservices.lib.harvard.edu/rest/v3/hollis/holdings/001252867?jsonp=hold for Rabbit redux / John Updike, 1971
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
hold({"items": { "item": [ { "alma_id": 990012528670203941, "author": "Updike, John", "barcode": 32044051800407, "call_number": "PS3571.P4 R27 1971x", "description": {}, "in_temp_location": false, "library": "QUA", "location": "HIGH", "publication": { "place": "New York :", "publisher": "Knopf" }, "temp_call_number": {}, "temp_library": {}, "temp_location": {}, "temp_policy": {}, "title": "Rabbit redux /" }, { "alma_id": 990012528670203941, "author": "Updike, John", "barcode": 32044051838985, "call_number": "PS3571.P4 R27x 1971", "description": {}, "in_temp_location": false, "library": "LAM", "location": "GEN", "publication": { "place": "New York :", "publisher": "Knopf" }, "temp_call_number": {}, "temp_library": {}, "temp_location": {}, "temp_policy": {}, "title": "Rabbit redux /" }, { "alma_id": 990012528670203941, "author": "Updike, John", "barcode": 32044021584776, "call_number": "ALB 7214.321.20", "description": {}, "in_temp_location": false, "library": "WID", "location": "GEN", "publication": { "place": "New York :", "publisher": "Knopf" }, "temp_call_number": {}, "temp_library": {}, "temp_location": {}, "temp_policy": {}, "title": "Rabbit redux /" }, { "alma_id": 990012528670203941, "author": "Updike, John", "barcode": 32044079932836, "call_number": "*AC95.Up174R3.1971 (A)", "description": {}, "in_temp_location": false, "library": "HOU", "location": "GEN", "publication": { "place": "New York :", "publisher": "Knopf" }, "temp_call_number": {}, "temp_library": {}, "temp_location": {}, "temp_policy": {}, "title": "Rabbit redux /" }, { "alma_id": 990012528670203941, "author": "Updike, John", "barcode": "HH3MQZ", "call_number": "*AC95.Up174R3.1971 (B)", "description": {}, "in_temp_location": false, "library": "HOU", "location": "HD", "publication": { "place": "New York :", "publisher": "Knopf" }, "temp_call_number": {}, "temp_library": {}, "temp_location": {}, "temp_policy": {}, "title": "Rabbit redux /" }, { "alma_id": 990012528670203941, "author": "Updike, John", "barcode": 32044135104537, "call_number": "AC95.Up174R3.1971 (C)", "description": {}, "in_temp_location": false, "library": "HOU", "location": "HD", "publication": { "place": "New York :", "publisher": "Knopf" }, "temp_call_number": {}, "temp_library": {}, "temp_location": {}, "temp_policy": {}, "title": "Rabbit redux /" } ], "total_record_count": 6 }}) |
Table of Contents |
---|